MCPcopy Create free account

hub / github.com/Cosmian/kms / functions

Functions16,000 in github.com/Cosmian/kms

↓ 4 callersFunctionJi
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctionKeyedSeq
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctionMg
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctionOr
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctionQj
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctionRg
(s,o,i,u,_,w)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunction_isPlaceholder
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunction_objectSpread
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunction_type_of
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctionadd
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersMethodaddText
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctionaes_cmac_vectors
AES-CMAC vectors: NIST SP 800-38B, CAVP, Wycheproof, OpenSSL.
crate/crypto/src/kat_vectors.rs:536
↓ 4 callersFunctionaes_gmac
One-shot AES-GMAC of `data` under `key` with `iv`; the result is `IV || tag`. # Errors Returns an error if the key length is not an AES key length or
crate/crypto/src/crypto/symmetric/mac.rs:250
↓ 4 callersFunctionaes_key_wrap_mechanism
Pick the AES-KW/KWP mechanism for `algorithm` on `slot`, preferring single-part encrypt/decrypt and falling back to `C_WrapKey`/`C_UnwrapKey`.
crate/hsm/base_hsm/src/base_hsm.rs:104
↓ 4 callersMethodalgorithm
(&self)
crate/clients/cng/src/key.rs:247
↓ 4 callersFunctionappend_reanchor
Appends a synthetic `audit:reanchor` row (as produced by `seal_and_roll`) to `path`'s chain, referencing a sealed evidence file. Writes the sealed fil
crate/clients/clap/src/actions/audit.rs:1782
↓ 4 callersMethodapply
(&self, data: &str)
crate/crypto/src/crypto/anonymization/word.rs:51
↓ 4 callersFunctionapplyOperation
(s,o,i,u,_,w)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersMethodas_canonical_str
(&self)
crate/access/src/audit/event.rs:53
↓ 4 callersMethodas_str
(self)
crate/interfaces/src/object_handle.rs:53
↓ 4 callersFunctionassemble
Insert `signature` and return the DER of the signed structure.
crate/server/src/core/certificate/oracle_signing.rs:300
↓ 4 callersFunctionassert_fips_startup_result
( result: Result<crate::TestsContext, E>, simulator: bool, )
crate/test_kms_server/src/hsm_startup_tests.rs:20
↓ 4 callersFunctionassert_fixture_encryption
(content: &EncryptedContent)
crate/hsm/base_hsm/src/session/session_impl.rs:4515
↓ 4 callersFunctionassert_fixture_preserved
( fixture: &RedisFixture, pool: &RedisWithFindex, original: &PreservedSnapshot, )
crate/server_database/src/tests/redis_migration_tests.rs:251
↓ 4 callersFunctionassert_fixture_preserved
( fixture: &F, pool: &F::Pool, original: &[TableRows; 3], )
crate/server_database/src/tests/sql_migration_tests.rs:252
↓ 4 callersFunctionassert_fresh_head_or_refused
(result: KResult<Vec<u8>>, expected: &[u8])
crate/server/src/tests/hsm/fake_hsm_rotation.rs:1715
↓ 4 callersFunctionassert_gcm_encrypt_refused
Checks the refusal of an AES-GCM encryption inside a token that cannot generate the IV.
crate/server/src/tests/hsm/test_helpers.rs:111
↓ 4 callersFunctionassert_is_private_key
Assert that `handle` refers to a private key in the store.
crate/clients/pkcs11/module/src/tests.rs:1797
↓ 4 callersFunctionassert_round_trip
(kms: &KMS, owner: &UserId, sk: &str, pk: &str)
crate/server/src/tests/configurable_kem_tests.rs:133
↓ 4 callersFunctionassert_signature_valid
Verify a signature server-side via the KMIP `SignatureVerify` operation and assert it is cryptographically valid.
crate/clients/pkcs11/provider/src/tests_v3.rs:71
↓ 4 callersFunctionassert_validate_by_uid_invalid
(kms: &Arc<KMS>, owner: &UserId, cert_ids: &[&str])
crate/server/src/tests/test_validate.rs:1488
↓ 4 callersFunctionauth_verifier_login
Login to a Auth Verifier server using HTTP Basic credentials. Sends `POST {server_url}/login?realm={realm}` with an `Authorization: Basic <base64(use
crate/clients/client/src/http_client/login.rs:536
↓ 4 callersFunctionauthenticated_user
The caller's identity; never anonymous while authentication is configured, never a reserved service identity.
crate/server/src/routes/ssh/mod.rs:279
↓ 4 callersFunctionauthentication_failed_error
(message: impl Into<String>)
crate/server/src/routes/aws_xks/sigv4_middleware.rs:250
↓ 4 callersFunctionauthorization_url
Build the authorization request URL (RFC 6749 §4.1.1 with the PKCE parameters of RFC 7636 §4.3). Query parameters already present in the configured `
crate/clients/client/src/http_client/login.rs:46
↓ 4 callersFunctionb
(o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctionbatch_export_skipping_denied
Export `key_ids` in one batch; if the server denies one of them, retry id by id and skip the denied objects. The batch is all-or-nothing: one non-exp
crate/clients/pkcs11/provider/src/kms_object.rs:223
↓ 4 callersFunctionbd
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctionbi
(s,o,i,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctionblitBuffer
(s,o,i,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctionblock_cipher_mode_migration_after_json_deserialization
Test that any legacy value (`0x8000_000D`) is correctly migrated to `BlockCipherMode::AESKeyWrapPadding` (`0x0000_000C`) when objects are retrieved fr
crate/server_database/src/tests/database_tests.rs:690
↓ 4 callersFunctionbuildFormData
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctionbuild_certificate_tbs
(input: &CertificateTbs<'_>)
crate/server/src/routes/ssh/certificate.rs:291
↓ 4 callersFunctionbuild_cipher
Build a `SymCipher` from the data encryption algorithm and the DEK length.
crate/clients/clap/src/actions/symmetric/cipher_io.rs:34
↓ 4 callersFunctionbuild_x25519_derive_request
(private_uid: &str, peer_uid: &str, derived_uid: &str)
crate/server/src/tests/derive_key_tests.rs:1047
↓ 4 callersFunctioncached_signing_metadata
Fetch signing-key metadata from the handle cache, populating it on miss.
crate/hsm/base_hsm/src/kms_hsm.rs:192
↓ 4 callersFunctioncall
Calls `GET /` through `SessionAuth`; the request carries a session cookie of `user`. Returns the echoed user and the `Set-Cookie` headers.
crate/server/src/middlewares/session_auth.rs:190
↓ 4 callersFunctioncall_ensure_x509_or_none
(attributes: &Attributes)
crate/clients/pkcs11/module/src/core/attribute.rs:568
↓ 4 callersFunctioncall_open_session
( func_list: &CK_FUNCTION_LIST, slot_id: CK_SLOT_ID, )
crate/clients/clap/src/actions/pkcs11/verify.rs:288
↓ 4 callersMethodcapabilities
(&self)
crate/hsm/base_hsm/src/slots.rs:267
↓ 4 callersFunctioncaptureMatchIfValidAndReset
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctioncertificate
(kms: &KMS, owner: &UserId, id: &str)
crate/server/src/tests/hsm/sub_ca.rs:95
↓ 4 callersFunctioncertificate_serial_tag
`_serial=<HEX>` tag for a certificate object (same value as `set_certificate_serial_tag`), `None` (with a warning) for any other object or an unparsab
crate/server_database/src/stores/migrate.rs:158
↓ 4 callersFunctioncertify_request
(subject: Option<&str>, links: &[(LinkType, &str)])
crate/server/src/tests/hsm/sub_ca.rs:64
↓ 4 callersFunctionch
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctioncheck
Minimal implementation of the KMIP Check operation sufficient for BL-M-3-21: - Retrieves the target object - If a `cryptographic_usage_mask` is suppli
crate/server/src/core/operations/check.rs:22
↓ 4 callersFunctioncheck_alg
(alg: Algorithm)
crate/server/src/middlewares/jwt/jwt_config.rs:495
↓ 4 callersFunctioncheck_basic_compatibility
( _vendor_id: &str, researched_attributes: &Attributes, state: Option<State>, )
crate/interfaces/src/hsm/hsm_store.rs:1636
↓ 4 callersFunctioncheck_grant
Requires ownership or an explicit grant for attributes the policy marks `RequiresGrant`.
crate/server/src/core/operations/attributes/policy.rs:171
↓ 4 callersFunctioncheck_read_only
Rejects attributes the server manages for this operation.
crate/server/src/core/operations/attributes/policy.rs:116
↓ 4 callersFunctioncheck_secret_access
Refuse a KMS UID that is not allowlisted for `namespace` (confused-deputy guard: the operator's KMS credentials must not be usable by any tenant to re
crate/clients/k8s/operator/src/controller.rs:47
↓ 4 callersFunctioncheck_unpadded_cipher_vectors
Unpadded encrypt and decrypt must both reproduce the vector.
crate/crypto/src/crypto/symmetric/tests.rs:1069
↓ 4 callersFunctioncheck_vendor_attribute
Rejects client writes to server-owned custom attributes (see [`is_server_vendor_attribute`]).
crate/server/src/core/operations/attributes/policy.rs:101
↓ 4 callersFunctioncipher_for
(enc: &str)
crate/server/src/tests/jose/ecdh.rs:41
↓ 4 callersFunctionck_usize
Fallible `CK_ULONG -> usize` conversion.
crate/clients/clap/src/actions/pkcs11/capabilities.rs:188
↓ 4 callersFunctionckm_rsa_aes_key_wrap
Asymmetrically wrap keys referring to PKCS#11 `CKM_RSA_AES_KEY_WRAP` available at <http://docs.oasis-open.org/pkcs11/pkcs11-curr/v2.40/cos01/pkcs11-cu
crate/crypto/src/crypto/rsa/ckm_rsa_aes_key_wrap.rs:35
↓ 4 callersFunctionckms
Run `ckms <args>`: stdout on success, stderr on failure. Unlike `run_ckms`, nothing is echoed to the test output: the Gmail responses carry key mater
crate/clients/ckms/src/tests/google_cmd/remote_cse.rs:56
↓ 4 callersFunctionclient_ip
Address of the client of `req`, honouring `X-Forwarded-For` only from the configured trusted proxies (the same rule as the audit middleware).
crate/server/src/routes/enrollment.rs:102
↓ 4 callersMethodclone
(&self)
crate/clients/k8s/csi_provider_proto/src/provider.rs:396
↓ 4 callersFunctioncloneUnlessOtherwiseSpecified
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersMethodclose
Close the session and log out if necessary
crate/hsm/base_hsm/src/session/session_impl.rs:386
↓ 4 callersFunctionco_export_key
Helper to export a key (CO operation - key output)
crate/clients/ckms/src/tests/rbac_tests.rs:80
↓ 4 callersFunctioncommon_argument_spec
()
ansible/plugins/module_utils/kms_api.py:5
↓ 4 callersFunctioncompare_and_swap_test
`CompareAndSwapObject` writes only when the caller owns the object, it is not destroyed and its version is the expected one; otherwise the whole batch
crate/server_database/src/tests/database_tests.rs:307
↓ 4 callersFunctioncompromise_date
()
crate/server/src/core/lint_cleanup_characterization_tests.rs:51
↓ 4 callersFunctioncompute_resource_key_hash
Compute resource key hash The resource key hash is a mechanism allowing Google to verify the integrity of the wrapped encryption keys without having
crate/server/src/routes/google_cse/operations.rs:1391
↓ 4 callersFunctionconcat
(...s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctionconfig
(authorize_url: &str, scopes: &[&str])
crate/clients/client/src/http_client/login.rs:886
↓ 4 callersFunctionconfigure_client_cert_verification
Configure client certificate verification When `clients_crl_dir` is set, the leaf client certificate is checked against the CRL of its issuer, loaded
crate/server/src/tls_config.rs:208
↓ 4 callersMethodconnect
Connects to `url`, acquires `instance_id`'s advisory lock, and ensures the schema exists and is current. A held lock is retried with backoff for up t
crate/server_database/src/stores/audit/pgsql.rs:177
↓ 4 callersMethodcontact
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctioncontent_version
Compute a deterministic version string for `bytes` as the lower-hex SHA-256 digest of the content. A change in content → different version → rotation
crate/clients/k8s/csi_provider/src/service.rs:298
↓ 4 callersFunctioncreateBuffer
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctioncreateDeepLinkPath
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctioncreate_aes
(kms: &Arc<KMS>, bits: usize)
crate/server/src/tests/azure_ekm/routes_tests.rs:183
↓ 4 callersFunctioncreate_aes_key
(app: &S, alg: &str)
crate/server/src/tests/jose/cek_kid.rs:54
↓ 4 callersFunctioncreate_aes_key_with_size
( app: &S, tag: &str, bits: i32, )
crate/server/src/tests/kmip_policy/helpers.rs:76
↓ 4 callersFunctioncreate_ca
Create a self-signed CA certificate.
crate/test_kms_server/src/crl_tests.rs:123
↓ 4 callersFunctioncreate_derivable_symmetric_key_with_client
Create a symmetric key that can be used for derivation using `KmsClient` directly
crate/clients/ckms/src/tests/derive_key/derive_key_tests.rs:112
↓ 4 callersFunctioncreate_derivation_object_request
Build a `Create` request for base objects that can be used for key derivation operations. This function can create either symmetric keys or secret dat
crate/kmip/src/kmip_2_1/requests/create.rs:269
↓ 4 callersFunctioncreate_ec_keypair
Create an EC P-256 keypair and return `(private_uid, public_uid)`.
crate/server/src/tests/jose/key_state.rs:472
↓ 4 callersFunctioncreate_ec_pair
Create an EC P-256 key pair and return `(private_uid, public_uid)`.
crate/server/src/tests/revoke_tests.rs:77
↓ 4 callersFunctioncreate_hmac_key
Create an HMAC-SHA256 key: MAC/MACVerify require the `MACGenerate`/`MACVerify` usage mask.
crate/server/src/tests/jose/key_state.rs:276
↓ 4 callersFunctioncreate_hybrid_kem_key_pair
Create a hybrid KEM key pair. Supports `X25519MLKEM768` and `X448MLKEM1024` via OpenSSL 3.6+. Note: `SecP256r1MLKEM768` and `SecP384r1MLKEM1024` are
crate/crypto/src/crypto/pqc/hybrid_kem.rs:30
↓ 4 callersFunctioncreate_key_with_state
Create and store a fresh 256-bit AES symmetric key in the given `state`.
crate/server/src/tests/test_modify_attribute.rs:41
↓ 4 callersFunctioncreate_pqc_key_pair
Build a KMIP key pair from key bytes.
crate/crypto/src/crypto/pqc/mod.rs:468
↓ 4 callersFunctioncreate_raw_ec_key_pair
Builds a key pair from a raw-encoded (X25519, X448, Ed25519, Ed448) private key.
crate/crypto/src/crypto/elliptic_curves/operation.rs:277
↓ 4 callersFunctioncreate_rsa_key_pair
( vendor_id: &str, private_key_uid: &str, public_key_uid: &str, mut common_attributes: Attribu
crate/crypto/src/crypto/rsa/operation.rs:200
↓ 4 callersFunctioncreate_sym_key
(kms: &Arc<KMS>, sensitive: bool)
crate/server/src/tests/test_always_sensitive.rs:30
↓ 4 callersMethodcreated_at
(&self)
crate/crypto/src/crypto/openpgp/mod.rs:208
← previousnext →1,501–1,600 of 16,000, ranked by callers