MCPcopy Create free account

hub / github.com/Cosmian/kms / functions

Functions12,829 in github.com/Cosmian/kms

↓ 1 callersMethodencrypt_update
Feed one part to the active encryption operation and append the produced bytes.
crate/hsm/base_hsm/src/session/session_impl.rs:1586
↓ 1 callersFunctionencrypt_with_rsa
( public_key: &PKey<Public>, cryptographic_parameters: Option<&CryptographicParameters>, plaintext
crate/server/src/core/operations/encrypt.rs:788
↓ 1 callersFunctionencrypt_with_symmetric_key
( request: &Encrypt, owm: &ObjectWithMetadata, rng: &KmsRng, )
crate/server/src/core/operations/encrypt.rs:337
↓ 1 callersFunctionendIndex
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionendOfMode
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionendReadable
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionend_auth_verifier_session
Revoke the browser's Auth Verifier SAML session, if any, on the Auth Verifier. Returns `true` when the browser holds a valid session of the SAML real
crate/server/src/routes/ui_auth.rs:734
↓ 1 callersFunctionenforce_max_response_size_for_query
( response_operation: &Result<Operation, KmsError>, remaining_max_response_size: Option<i32>, )
crate/server/src/core/operations/message.rs:697
↓ 1 callersFunctionenforce_subject_algorithm_policy
Certify: the certified key (and a PKCS#10 request's signature) must satisfy the active algorithm policy; the issuer key is checked when it is resolved
crate/server/src/core/operations/certify/certify_op.rs:78
↓ 1 callersFunctionenrichRows
Fetch Type/Algorithm/Length/Format/State attributes for a list of UIDs in parallel.
ui/src/components/common/LocateButton.tsx:77
↓ 1 callersFunctionenroll
Authenticate, authorise and execute one `PKCSReq` / `RenewalReq`. `principal` is set once the message is authenticated.
crate/server/src/routes/scep/pki_operation.rs:290
↓ 1 callersFunctionensure
()
crate/crypto/src/error/mod.rs:168
↓ 1 callersFunctionensure
()
crate/kmip/src/error/mod.rs:196
↓ 1 callersFunctionensure
()
crate/server/src/error.rs:398
↓ 1 callersFunctionensure
()
crate/clients/clap/src/error/mod.rs:188
↓ 1 callersFunctionensure
()
crate/clients/ckms/src/error/mod.rs:186
↓ 1 callersFunctionensureCanMutateNextListeners
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionensureIsArray
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersMethodensure_X509_or_none
Ensure that the attributes contain a `CKC_X_509` certificate request or None.
crate/clients/pkcs11/module/src/core/attribute.rs:434
↓ 1 callersFunctionensure_allowed
Fail unless the `AlgorithmIdentifier` `alg` names one of `allowed`.
crate/crypto/src/openssl/scep_cms.rs:306
↓ 1 callersMethodensure_login_session
(&self)
crate/hsm/base_hsm/src/slots.rs:350
↓ 1 callersFunctionensure_no_proxy_for_localhost
Ensure localhost bypasses any corporate proxy for tests.
crate/server/src/tests/test_utils.rs:128
↓ 1 callersFunctionensure_openssl_env
()
crate/crypto/src/lib.rs:77
↓ 1 callersFunctionensure_url
(database_url: Option<&str>, alternate_env_variable: &str)
crate/server/src/config/command_line/db.rs:356
↓ 1 callersFunctionensure_value
( value: Option<&str>, option_name: &str, env_variable_name: &str, )
crate/server/src/config/command_line/db.rs:373
↓ 1 callersMethodenumSerialiseAttributes
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersMethodenumSerialiseContent
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionenv_of
Builds an environment lookup from `(name, value)` pairs.
crate/clients/clap/src/actions/audit.rs:1291
↓ 1 callersMethodeq
(&self, other: &str)
crate/interfaces/src/user_id.rs:101
↓ 1 callersFunctionerr
(o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersMethoderror_response
(&self)
crate/server/src/routes/aws_xks/error.rs:151
↓ 1 callersFunctiones_parse
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctiones_refractor_createRefractor
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctiones_refractor_refract
(s,{specPath:o=["visitors","document","objects","OpenApi","$visitor"],plugins:i=[]}={})
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctiones_substitute
(s,o,i={})
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionescapeHtml
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionescapeJsonPointerToken
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionescapePathComponent
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionescape_ext_value
Escapes a value for use in a CEF extension field value. Per CEF spec 0.1: `\` → `\\`, then `=` → `\=`, then newlines.
crate/access/src/audit/cef.rs:160
↓ 1 callersFunctionescape_header
Escapes a value for use in the CEF pipe-delimited header. Escapes `\` → `\\`, `|` → `\|`, then newlines — a raw `\n`/`\r` in the operation name would
crate/access/src/audit/cef.rs:151
↓ 1 callersFunctionestablish_connect_tunnel
Establish an HTTP CONNECT tunnel through the proxy. Connects to the proxy, sends `CONNECT host:port HTTP/1.1`, reads the response, and returns the ra
crate/clients/client/src/http_client/proxy.rs:114
↓ 1 callersFunctionetag_for
Compute a strong `ETag` validator (RFC 5019 §2.2.6, RFC 7232 §2.3) for an OCSP response body: the hex-encoded SHA-256 digest of the DER bytes. Since t
crate/server/src/routes/ocsp/handler.rs:664
↓ 1 callersFunctioneventTargetAgnosticAddListener
(s,o,i,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersMethodevict_expired
Remove every expired entry from the cache. Called opportunistically from `insert` once the cache grows past `max_entries`, so a token that validates
crate/server/src/middlewares/spire_token.rs:87
↓ 1 callersFunctionexecute_access_step
Execute a `GrantAccess` or `RevokeAccess` step via the Cosmian REST API.
crate/test_kms_server/src/vector_runner.rs:1120
↓ 1 callersFunctionexecute_alloc_temp_file_step
Execute an `AllocTempFile` pseudo-step. The request JSON must have: `{ "capture_as": "variable_name", "extension": "pem" }` Optionally: `"additional_
crate/test_kms_server/src/vector_runner.rs:1201
↓ 1 callersFunctionexecute_generate_crl_step
Execute a `GenerateCrl` step via the Cosmian REST API. The request JSON must have: `{ "issuer_id": "{{cert_id}}" }` Optionally: `"format": "pem"|"der
crate/test_kms_server/src/vector_runner.rs:1261
↓ 1 callersFunctionexpandNodes
(s,o,i,u,_)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionexpand_kmip2_get_attributes_request
(op: &mut Operation, kmip_version: KmipFlavor)
crate/server/src/core/operations/message.rs:675
↓ 1 callersFunctionexpect_crl_issuers
Fail unless the `crls` table holds exactly `expected` issuers.
crate/server_database/src/stores/sql/sqlite.rs:1866
↓ 1 callersFunctionexpect_rejected
(result: &HResult<T>, what: &str)
crate/hsm/base_hsm/src/tests_shared.rs:859
↓ 1 callersMethodexpected_response_is_missing_iv_error
Determine if the expected response represents the specific negative test case where a Decrypt is expected to fail due to a missing IV. We detect this
crate/clients/clap/src/tests/xml/request.rs:101
↓ 1 callersFunctionexpired_auth_verifier_session_cookie
Removal cookie for the Auth Verifier session; must match the name and path it was set with.
crate/server/src/routes/ui_auth.rs:804
↓ 1 callersFunctionexport
Export an object If the request contains a `KeyWrappingData`, the key will be wrapped. If the request contains a `KeyWrapType`, the key will be unwra
crate/server/src/core/operations/export.rs:19
↓ 1 callersMethodexport
( &self, _slot_id: usize, object_id: &[u8], )
crate/server/src/core/operations/certify/hsm_subject_tests.rs:118
↓ 1 callersMethodexport
( &self, _slot_id: usize, _object_id: &[u8], )
crate/interfaces/src/hsm/interface.rs:694
↓ 1 callersMethodexport
This operation requests that the server returns a Managed Object specified by its Unique Identifier, together with its attributes. The Key Format Type
crate/clients/client/src/kms_rest_client.rs:311
↓ 1 callersFunctionexportGlobalErrorCauseWrapper
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionexportRsaKey
( page: Page, keyId: string, formatLabel: string, opts?: { wrapKeyId?: string;
ui/tests/e2e/rsa-export-options.spec.ts:31
↓ 1 callersFunctionexportWebAssemblyErrorCauseWrapper
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersMethodexport_aes_key
(&self, key_handle: CK_OBJECT_HANDLE)
crate/hsm/base_hsm/src/session/session_impl.rs:3217
↓ 1 callersFunctionexport_aes_key_bytes
Export an AES-256 key through RSA-OAEP and verify its bytes outside the HSM.
crate/hsm/base_hsm/src/tests_shared.rs:330
↓ 1 callersFunctionexport_cc_test
( key_format_type: KeyFormatType, key_id: &str, tmp_path: &Path, owner_client_
crate/clients/ckms/src/tests/shared/export.rs:348
↓ 1 callersFunctionexport_certificate_ttlv_request
( unique_identifier: &str, output_format: &str, pkcs12_password: Option<String>, )
crate/clients/wasm/src/wasm.rs:2079
↓ 1 callersMethodexport_ec_private_key
(&self, key_handle: CK_OBJECT_HANDLE)
crate/hsm/base_hsm/src/session/session_impl.rs:3029
↓ 1 callersMethodexport_ec_public_key
(&self, key_handle: CK_OBJECT_HANDLE)
crate/hsm/base_hsm/src/session/session_impl.rs:3099
↓ 1 callersMethodexport_file
( &self, path: &Path, since: Option<time::OffsetDateTime>, out: &mut W, )
crate/clients/clap/src/actions/audit.rs:263
↓ 1 callersFunctionexport_import_sym_key
(key_id: &str, cli_conf_path: &str)
crate/clients/ckms/src/tests/access.rs:49
↓ 1 callersFunctionexport_import_test
( cli_conf_path: &str, sub_command: &str, private_key_id: &str, algorithm: CryptographicAlgori
crate/clients/ckms/src/tests/shared/import.rs:224
↓ 1 callersFunctionexport_key
Helper: export a key with a specific format.
crate/test_kms_server/src/pqc_export_tests.rs:20
↓ 1 callersFunctionexport_key_default
Helper: export a key in its default (stored) format.
crate/test_kms_server/src/pqc_export_tests.rs:31
↓ 1 callersMethodexport_postgres
Exports events from a `PostgreSQL` audit database, one instance at a time, paging through each chain rather than materializing it entirely in memory.
crate/clients/clap/src/actions/audit.rs:304
↓ 1 callersFunctionexport_private_key_pkcs8
Export a private key from the KMS in PKCS#8 DER format. This is used by `NCryptExportKey` with the `PKCS8_PRIVATEKEY` blob type (e.g. Intune `Export-
crate/clients/cng/src/backend.rs:281
↓ 1 callersMethodexport_private_pkcs8
Export the private key as PKCS#8 DER bytes from the KMS. Used by `NCryptExportKey` with the `PKCS8_PRIVATEKEY` blob type.
crate/clients/cng/src/key.rs:394
↓ 1 callersMethodexport_public_blob
Export the public key as a `BCRYPT_RSAKEY_BLOB` or `BCRYPT_ECCKEY_BLOB`.
crate/clients/cng/src/key.rs:354
↓ 1 callersMethodexport_rsa_private_key
(&self, key_handle: CK_OBJECT_HANDLE)
crate/hsm/base_hsm/src/session/session_impl.rs:2818
↓ 1 callersMethodexport_rsa_public_key
(&self, key_handle: CK_OBJECT_HANDLE)
crate/hsm/base_hsm/src/session/session_impl.rs:2961
↓ 1 callersFunctionexport_secret_data
( cli_conf_path: &str, secret_id: &str, key_file: &str, export_format: Option<ExportKeyFormat>
crate/clients/ckms/src/tests/secret_data/lifecycle.rs:61
↓ 1 callersFunctionexport_unwrapped
(kms: &Arc<KMS>, owner: &str, uid: &str)
crate/server/src/tests/hsm/kek_wrap_modes.rs:188
↓ 1 callersFunctionexport_unwrapped_bytes
(kms: &KMS, user: &str, uid: &str)
crate/server/src/tests/hsm/fake_hsm_authz.rs:570
↓ 1 callersFunctionexport_with
( kms: &Arc<KMS>, owner: &str, uid: &str, key_wrap_type: Option<KeyWrapType>, key_format_t
crate/server/src/tests/hsm/hybrid_kem_dek.rs:294
↓ 1 callersFunctionexport_wrapped
( kms: &Arc<KMS>, owner: &str, uid: &str, kek_uid: &str, mode: Option<BlockCipherMode>, )
crate/server/src/tests/hsm/kek_wrap_modes.rs:232
↓ 1 callersMethodextend_
(&mut self, additional_characters: Vec<char>)
crate/crypto/src/crypto/fpe/alphabet.rs:179
↓ 1 callersFunctionextends_extends
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionextractCount
Extract the numeric count from a locate response string like "5 Object(s) located."
ui/tests/e2e/locate-filters.spec.ts:26
↓ 1 callersFunctionextractFromDoc
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionextractKey
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionextractProtocol
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionextractShareUids
(parsedResponse: { UniqueIdentifier: string | string[] })
ui/tests/unit/split-key-logic.test.ts:31
↓ 1 callersFunctionextract_bytes
Extract raw bytes from any KMIP object that carries a `KeyBlock`.
crate/clients/k8s/operator/src/kms.rs:43
↓ 1 callersFunctionextract_certificate_id
Extract the certificate ID from a test.
crate/clients/ckms/src/tests/utils/extract_uids.rs:15
↓ 1 callersFunctionextract_cng_name_from_tags
Extract the CNG key name from the vendor tags on an `Attributes`.
crate/clients/cng/src/backend.rs:195
↓ 1 callersFunctionextract_hsm_key_id
Extract the PKCS#11 `key_id` from an HSM UID of the form `hsm::<model>::<slot_id>::<key_id>`. Returns `None` if the UID cannot be parsed.
crate/server/src/core/operations/attributes/set.rs:37
↓ 1 callersFunctionextract_key_name_from_params
Try to extract a key name from `NCryptBufferDesc` parameter list. Windows passes a `NCRYPTBUFFER_PKCS_KEY_NAME` (type 45) buffer containing the key n
crate/clients/cng/src/provider.rs:196
↓ 1 callersFunctionextract_kmip_op_from_ttlv
Extracts the specific KMIP operation name from a TTLV for audit purposes. Single-operation requests (e.g. `"Encrypt"`, `"Create"`): returns `ttlv.tag
crate/server/src/routes/kmip/audit.rs:60
↓ 1 callersFunctionextract_locate_uids
Extract the `key_uid` (prefixed by a pattern) from a text
crate/clients/ckms/src/tests/utils/extract_uids.rs:59
↓ 1 callersFunctionextract_operation
Derives an operation name from the HTTP path by taking the first path segment. For KMIP requests the route handler injects a `KmipOperationName` exte
crate/server/src/middlewares/audit/client_ip.rs:13
↓ 1 callersFunctionextract_serial_hex_for_ocsp_cache
Extract a certificate's serial number as an upper-case hex string, in the exact format the OCSP responder uses as part of its cache key (`"{ca_uid}:{s
crate/server/src/core/operations/revoke.rs:391
↓ 1 callersFunctionextract_serial_hex_from_object
Extract the X.509 serial number as an uppercase hex string from a KMS `Object`. Returns `None` if the object is not a certificate or parsing fails.
crate/interfaces/src/stores/objects_store.rs:424
↓ 1 callersFunctionextract_svid_claim
Validate `token` against every SPIFFE-enabled configuration, returning the first successfully validated claim set or the collected validation errors.
crate/server/src/middlewares/jwt/jwt_token_auth.rs:139
← previousnext →4,001–4,100 of 12,829, ranked by callers