MCPcopy Create free account

hub / github.com/Cosmian/kms / functions

Functions16,000 in github.com/Cosmian/kms

↓ 1 callersMethodbuild_derivation_params
Build the `DerivationParameters` from the CLI arguments.
crate/clients/clap/src/actions/derive_key/mod.rs:269
↓ 1 callersFunctionbuild_enc_params
Build KMIP parameters for content-encryption operations (encrypt/decrypt). For `dir`: returns AES-GCM parameters (used directly by KMIP Encrypt). For
crate/server/src/routes/jose/algorithm.rs:198
↓ 1 callersFunctionbuild_from_chars
Builds an `Alphabet` from a preset character string. Preset strings are guaranteed to produce a valid alphabet (2 ≤ chars < 2^16).
crate/crypto/src/crypto/fpe/alphabet.rs:364
↓ 1 callersFunctionbuild_hkdf_chacha_request
(base_uid: &str, derived_uid: &str)
crate/server/src/tests/derive_key_tests.rs:1062
↓ 1 callersFunctionbuild_hsm_instances
Build the list of `HsmInstanceParams` from the CLI configuration. Merges the legacy flat HSM config (prefix `"hsm"`) with the new TOML `[[hsm]]` arra
crate/server/src/config/params/server_params.rs:1329
↓ 1 callersFunctionbuild_identity_clients
Build one `KmsClient` per named identity declared in `manifest.identities`. Always uses PEM (`.crt` + `.key`) so the runner works in both FIPS and no
crate/test_kms_server/src/vector_runner.rs:1599
↓ 1 callersFunctionbuild_identity_info
()
crate/clients/clap/src/actions/google/identities/patch_identities.rs:53
↓ 1 callersFunctionbuild_identity_info
()
crate/clients/clap/src/actions/google/identities/insert_identities.rs:53
↓ 1 callersFunctionbuild_jwk_set
Build the JWK Set and a boolean indicating whether the result was truncated.
crate/server/src/routes/jwks.rs:107
↓ 1 callersFunctionbuild_mask_from_curve
Builds the correct usage mask depending on the curve and its intended usage. In FIPS mode, curves are restricted to certain usage; in non-FIPS mode, c
crate/kmip/src/kmip_2_1/requests/create_key_pair.rs:124
↓ 1 callersFunctionbuild_oidc_runtime_config
Fetch the OIDC discovery document and build an `OidcRuntimeConfig`. Called once at server startup. The discovered `authorization_endpoint` and `token
crate/server/src/start_kms_server.rs:885
↓ 1 callersFunctionbuild_other_info
Build the `OtherInfo` structure per RFC 7518 Appendix C: `OtherInfo = AlgorithmID || PartyUInfo || PartyVInfo || SuppPubInfo || SuppPrivInfo` - `Alg
crate/crypto/src/crypto/kdf/concat_kdf.rs:28
↓ 1 callersFunctionbuild_pgp_key_from_bytes
Wrap raw `OpenPGP` key bytes (armored or binary, secret or public) into a `PGPKey` managed object. The server normalizes and classifies the material d
crate/clients/client_utils/src/import_utils.rs:152
↓ 1 callersFunctionbuild_pkcs11_lib
()
crate/clients/ckms/src/tests/pkcs11.rs:41
↓ 1 callersFunctionbuild_pkcs12_for_private_key
( kms: &KMS, operation_type: KmipOperation, user: &UserId, request: &Export, private_key_
crate/server/src/core/operations/export_get.rs:1380
↓ 1 callersFunctionbuild_pqc_params
Build KMIP parameters for post-quantum / `EdDSA` algorithms.
crate/server/src/routes/jose/algorithm.rs:305
↓ 1 callersFunctionbuild_public_key_from_der_bytes
Here the zeroizing type on public key bytes is overkill, but it aligns with other methods dealing with private components.
crate/clients/client_utils/src/import_utils.rs:126
↓ 1 callersFunctionbuild_re_certify_request
Build a KMIP `ReCertify` request — certificate rotation with a fresh UID. Unlike `Certify` with an existing cert UID (which upserts in-place), `ReCer
crate/clients/client_utils/src/certificate_utils.rs:434
↓ 1 callersFunctionbuild_reconstructed_object
Takes ownership of the `Zeroizing<Vec<u8>>` to avoid an intermediate copy of the reconstructed secret.
crate/server/src/core/operations/join_split_key.rs:604
↓ 1 callersMethodbuild_request
Build the `CreateKeyPair` request. `--sensitive false` is sent explicitly as `Sensitive=false` (opt-out of the HSM sensitive-by-default policy).
crate/clients/clap/src/actions/elliptic_curves/keys/create_key_pair.rs:71
↓ 1 callersMethodbuild_request
Build the `CreateKeyPair` request. `--sensitive false` is sent explicitly as `Sensitive=false` (opt-out of the HSM sensitive-by-default policy).
crate/clients/clap/src/actions/rsa/keys/create_key_pair.rs:84
↓ 1 callersMethodbuild_request
(&self, vendor_id: &str)
crate/clients/clap/src/actions/pqc/keys/create_key_pair.rs:174
↓ 1 callersFunctionbuild_request_buildRequest
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersMethodbuild_response
(&self, replacements: &[ReplacementObject; 2])
crate/server/src/core/operations/rekey/keypair/sql.rs:214
↓ 1 callersFunctionbuild_set_args
Build the CLI args for setting a specific attribute combination.
crate/clients/ckms/src/tests/attributes/test_set_attribute.rs:66
↓ 1 callersFunctionbuild_ssl_connector
Build an `SslConnectorBuilder` from the HTTP client configuration. This replaces the former `reqwest`-based TLS builder. OpenSSL is used exclusively,
crate/clients/client/src/http_client/tls.rs:63
↓ 1 callersFunctionbuild_symmetric_key_from_bytes
( cryptographic_algorithm: CryptographicAlgorithm, bytes: Zeroizing<Vec<u8>>, )
crate/clients/client_utils/src/import_utils.rs:169
↓ 1 callersFunctionbuild_x25519_shared_secret_attributes
(uid: &str, request_attributes: &Attributes)
crate/server/src/core/operations/derive_key.rs:948
↓ 1 callersFunctionbuild_x25519_shared_secret_object
(shared_secret: &[u8], attributes: &Attributes)
crate/server/src/core/operations/derive_key.rs:962
↓ 1 callersMethodbulk_decrypt
Decrypt multiple LEB128-serialized payloads The input encrypted data is serialized using LEB128 (bulk mode). Each chunk of data is decrypted and seri
crate/crypto/src/crypto/cover_crypt/decryption.rs:111
↓ 1 callersMethodbulk_encrypt
Encrypt multiple LEB128-serialized payloads The input plaintext data is serialized using LEB128 (bulk mode). Each chunk of data is encrypted and ser
crate/crypto/src/crypto/cover_crypt/encryption.rs:67
↓ 1 callersFunctionbyteLength
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionbytes
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionbytes_from
(node: &TTLV)
crate/kmip/src/ttlv/normalize.rs:23
↓ 1 callersMethodcache_object_handle
Pre-populate the object handle cache with a known object_id-to-handle mapping. Called during `find()` to ensure that subsequent `get_object_handle()`
crate/hsm/base_hsm/src/session/session_impl.rs:381
↓ 1 callersFunctioncachedHashString
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctioncached_crl_is_usable
Return `true` if cached CRL bytes may still be used.
crate/server/src/core/operations/validate.rs:87
↓ 1 callersFunctioncall
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersMethodcall
(&self, req: ServiceRequest)
crate/server/src/middlewares/session_auth.rs:103
↓ 1 callersFunctioncallFn
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctioncall_aes256_ecb_block
(key: &[u8; KEY_LEN], block: &[u8; BLOCK_LEN])
crate/crypto/src/crypto/fpe/ff1.rs:627
↓ 1 callersFunctioncall_find_objects
( func_list: &CK_FUNCTION_LIST, session: CK_SESSION_HANDLE, )
crate/clients/clap/src/actions/pkcs11/verify.rs:708
↓ 1 callersFunctioncall_generate_s
(key: &[u8; KEY_LEN], r: &[u8; BLOCK_LEN], d: usize)
crate/crypto/src/crypto/fpe/ff1.rs:631
↓ 1 callersFunctioncall_get_function_list_3_0
Resolves the v3.0 `CK_FUNCTION_LIST_3_0` function table via `C_GetInterface` (default lookup). The legacy `C_GetFunctionList` entry point only returns
crate/clients/clap/src/actions/pkcs11/verify.rs:373
↓ 1 callersFunctioncall_get_info
Calls `C_GetInfo` and asserts the reported `cryptokiVersion` is v3.x — a hard requirement for this provider, which only ever advertises v3.1 support.
crate/clients/clap/src/actions/pkcs11/verify.rs:572
↓ 1 callersMethodcall_ssm
Build a SigV4-signed request and call the SSM `GetParameter` API.
crate/secret_backends/src/aws.rs:27
↓ 1 callersFunctioncall_verify_interfaces
Exercises the v3.0 Interfaces API surface: `C_GetInterfaceList` (two-call convention) and `C_GetInterface` (default lookup, exact-name lookup, backwar
crate/clients/clap/src/actions/pkcs11/verify.rs:448
↓ 1 callersFunctioncall_verify_mechanisms
Enumerates the mechanism list for `slot_id` and asserts that every mechanism in [`REQUIRED_MECHANISMS`] is both advertised and reports the expected ca
crate/clients/clap/src/actions/pkcs11/verify.rs:639
↓ 1 callersMethodcall_verify_message
(&self, data: &[u8], signature: &[u8])
crate/hsm/base_hsm/src/session/message_verify.rs:66
↓ 1 callersFunctioncall_verify_profiles
Verifies PKCS#11 v3.0 profile self-declaration (§4.5): at least one `CKO_PROFILE` object must be discoverable, and each one's `CKA_PROFILE_ID` must be
crate/clients/clap/src/actions/pkcs11/verify.rs:827
↓ 1 callersFunctioncallback
( req: HttpRequest, session_cookie: web::Data<UiSessionCookie>, oidc_runtime: web::Data<OidcRuntim
crate/server/src/routes/ui_auth.rs:108
↓ 1 callersMethodcanDereference
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersMethodcan_generate_mac
Whether the key's KMIP usage mask allows `MACGenerate` (reported as `CKA_SIGN`).
crate/clients/pkcs11/module/src/traits/symmetric_key.rs:32
↓ 1 callersMethodcan_verify_mac
Whether the key's KMIP usage mask allows `MACVerify` (reported as `CKA_VERIFY`).
crate/clients/pkcs11/module/src/traits/symmetric_key.rs:37
↓ 1 callersFunctioncaptureKmipRequests
(response: object)
ui/tests/unit/mac-actions.test.ts:17
↓ 1 callersFunctioncaptureSegment
(s,o,i,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctioncaptureTagName
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersMethodcapture_encrypt_request_aad
Capture the AAD bytes of any Encrypt request (if present) before sending so we can associate it with the subsequent `EncryptResponse` artifacts.
crate/clients/clap/src/tests/xml/request.rs:241
↓ 1 callersFunctioncapture_generated_uids
Record the UIDs of objects whose key material the server generated (`Create`, `CreateKeyPair`, `ReKey`, `ReKeyKeyPair`, `CreateSplitKey` shares); vect
crate/clients/clap/src/tests/xml/expected_response.rs:75
↓ 1 callersFunctioncapture_inner
( kms: &KMS, user: &UserId, operation: &Operation, budget: &mut usize, )
crate/server/src/core/operations/batch_undo.rs:159
↓ 1 callersFunctioncapture_real_uids_from_response
Capture real UIDs from responses and store them in the placeholder map for future use
crate/clients/clap/src/tests/xml/expected_response.rs:118
↓ 1 callersFunctioncastCap
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctioncastFixed
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctioncastRearg
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctioncbc_cipher
(key: &[u8])
crate/crypto/src/crypto/symmetric/tests.rs:1059
↓ 1 callersFunctioncc_encryption_hint
(encryption_hint: &str)
crate/clients/wasm/src/wasm.rs:2062
↓ 1 callersFunctioncc_master_keypair_from_kmip_objects
( msk: &Object, mpk: &Object, )
crate/crypto/src/crypto/cover_crypt/master_keys.rs:161
↓ 1 callersFunctioncc_rekey_action
The Covercrypt action a `ReKeyKeyPair` request carries — its `cover_crypt_rekey_action` vendor attribute, decoded from hex.
crate/clients/wasm/tests/wasm_bindings.rs:355
↓ 1 callersFunctioncek_to_kmip_object
Wrap raw CEK bytes in a minimal [`Object::SymmetricKey`] for storage in `UnwrappedCache`. Returns `None` and logs a warning on construction failure (
crate/server/src/routes/jose/cek_cache.rs:65
↓ 1 callersFunctioncell
(row: &[Option<String>], index: usize)
crate/server_database/src/tests/sql_migration_tests.rs:557
↓ 1 callersFunctioncert_rep_attrs
( kms: &KMS, request: &ParsedPkiMessage, status: u8, fail_info: Option<u8>, )
crate/server/src/routes/scep/pki_operation.rs:259
↓ 1 callersFunctioncert_san_set
`GeneralName`s of the `SubjectAltName` carried by a certificate.
crate/server/src/routes/enrollment.rs:632
↓ 1 callersFunctioncert_status
Look up OCSP certificate status from KMS object state. Status mapping per RFC 6960 §2.2: | KMS State | OCSP status | |---|---| | `Active` / `PreActi
crate/server/src/routes/ocsp/handler.rs:497
↓ 1 callersFunctioncertificate
(cn: &str, key: &PKey<Private>, issuer: Option<(&X509, &PKey<Private>)>)
crate/crypto/src/openssl/tsa.rs:408
↓ 1 callersFunctioncertificate
( cn: &str, key: &PKey<Private>, issuer: Option<(&X509, &PKey<Private>)>,
crate/clients/clap/src/actions/audit.rs:1451
↓ 1 callersMethodcertificate
(&self)
crate/server/src/core/operations/certify/issuer.rs:60
↓ 1 callersFunctioncertificate_attribute
( cert: &dyn Certificate, type_: AttributeType, )
crate/clients/pkcs11/module/src/core/object.rs:163
↓ 1 callersFunctioncertificate_attributes_to_subject_name
Get the OpenSSL `X509Name` for the subject
crate/crypto/src/openssl/certificate.rs:156
↓ 1 callersFunctioncertificate_by_uid
Fetches a certificate and its current internal KMS lifecycle state. If it fails, returns the according error.
crate/server/src/core/operations/validate.rs:1125
↓ 1 callersFunctioncertificate_key_id
Certificate Key ID, logged by sshd at login: who requested it, under which role, and its serial. The user name is escaped so that it cannot inject cha
crate/server/src/routes/ssh/mod.rs:309
↓ 1 callersFunctioncertificate_uids
UIDs of every certificate object in the database.
crate/server/src/tests/enrollment_tests.rs:1485
↓ 1 callersFunctioncertificates_by_uid
If fetching a certificate fails, the method reports the first error happening. Otherwise it returns a vector of (DER bytes, internal KMS lifecycle sta
crate/server/src/core/operations/validate.rs:1106
↓ 1 callersMethodcertification_source
Select what to certify, in priority order: a certificate signing request, a public key id, an existing certificate id to re-certify, or a key pair to
crate/clients/clap/src/actions/certificates/certify.rs:204
↓ 1 callersFunctioncertify
Certify a certificate. This operation is used to issue a certificate based on a public key, a CSR or a key pair. The certificate can be self-signed or
crate/server/src/core/operations/certify/certify_op.rs:41
↓ 1 callersFunctioncfg
()
crate/hsm/gcp_cloud_hsm/src/tests.rs:9
↓ 1 callersFunctioncfg
()
crate/hsm/azure_cloud_hsm/src/tests.rs:9
↓ 1 callersFunctionchacha20_params
()
crate/clients/clap/src/actions/bench/helpers.rs:193
↓ 1 callersFunctionchacha20_poly1305_vectors
ChaCha20-Poly1305 vectors: Wycheproof, OpenSSL.
crate/crypto/src/kat_vectors.rs:586
↓ 1 callersFunctionchacha20_vectors
`ChaCha20` vectors: RFC 7539 via OpenSSL (`iv` is the 8-byte nonce, counter 0).
crate/crypto/src/kat_vectors.rs:576
↓ 1 callersFunctionchain_with_checkpoint
A chain of `n` events followed by a checkpoint of the last one signed by `signer`.
crate/clients/ckms/src/tests/audit.rs:60
↓ 1 callersFunctionchangeTab
(key: string)
ui/src/actions/Secrets/KvSecrets.tsx:193
↓ 1 callersFunctioncharFromCodepoint
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersMethodcharge
Reserve `n` more bytes for `user` whose stream already holds `stream_bytes`.
crate/server/src/core/operations/key_ops/multi_part.rs:171
↓ 1 callersFunctioncheck
()
ui/tests/e2e/locate-attributes.spec.ts:88
↓ 1 callersFunctioncheck
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersMethodcheck
(&self)
crate/server_database/src/core/mod.rs:485
↓ 1 callersMethodcheck
Reject a part whose parameters, IV/nonce or AAD differ from the initial part's.
crate/server/src/core/operations/key_ops/multi_part.rs:275
↓ 1 callersMethodcheck
Counts one login attempt of `username` from `ip`. # Errors The number of seconds to wait (at least 1) when either quota is exhausted.
crate/server/src/middlewares/rate_limiter.rs:220
↓ 1 callersMethodcheck
Check if a Managed Object may be used under server policy with given parameters.
crate/clients/client/src/kms_rest_client.rs:723
↓ 1 callersFunctioncheckFips
()
ui/src/actions/Keys/DeriveKey.tsx:77
← previousnext →4,601–4,700 of 16,000, ranked by callers