MCPcopy Create free account

hub / github.com/Cosmian/kms / functions

Functions12,829 in github.com/Cosmian/kms

↓ 1 callersFunctiondigest_type_to_hashing_algorithm
Map a PKCS#11 `DigestType` to its KMIP `HashingAlgorithm` counterpart.
crate/clients/pkcs11/provider/src/kms_object.rs:962
↓ 1 callersMethoddirection
(&self)
crate/kmip/src/kmip_2_1/kmip_operations.rs:325
↓ 1 callersMethoddirection
(&self)
crate/kmip/src/kmip_1_4/kmip_operations.rs:2521
↓ 1 callersFunctiondisable
( cli_conf_path: &str, master_secret_key_id: &str, attribute: &str, )
crate/clients/ckms/src/tests/cover_crypt/access_structure.rs:146
↓ 1 callersFunctiondisable_proxies_for_tests
Clear proxy env vars for the test process so localhost traffic is never proxied.
crate/server/src/tests/test_utils.rs:165
↓ 1 callersFunctiondiscover_vectors
Discover all `.json` vector files in the vectors directory.
crate/server/src/tests/jose/jose_vectors.rs:56
↓ 1 callersFunctiondiscover_versions
This request is used by the client to determine a list of protocol versions that is supported by the server. The request payload contains an optional
crate/server/src/core/operations/discover_versions.rs:23
↓ 1 callersMethoddiscover_versions
This request is used by the client to determine a list of protocol versions that is supported by the server. The request payload contains an optional
crate/server/src/core/kms/kmip.rs:169
↓ 1 callersMethoddiscover_versions
Discover protocol versions supported by the server.
crate/clients/client/src/kms_rest_client.rs:713
↓ 1 callersFunctiondiscover_versions_1
(client: &SocketClient)
crate/server/src/tests/ttlv_tests/integrations/vmware.rs:77
↓ 1 callersMethoddispatch
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctiondispatch_inner
( kms: &KMS, ttlv: TTLV, user: &UserId, operation_tag: &str, )
crate/server/src/core/operations/dispatch.rs:195
↓ 1 callersFunctiondispatch_renewal_warnings
Check keys approaching rotation and emit renewal-warning log events. For each Active key whose next rotation falls within the next [`WARNING_THRESHOL
crate/server/src/core/operations/auto_rotate.rs:251
↓ 1 callersFunctiondisplay_rsa_public_key
Returns the public key to decode KACLS token for migration. # Returns - `CertsResponse`: The elements of RSA public key. # Errors - Error is raised w
crate/server/src/routes/google_cse/operations.rs:211
↓ 1 callersFunctiondj
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctiondll_directory
()
crate/clients/pkcs11/provider/src/lib.rs:93
↓ 1 callersFunctiondoBeginMatch
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctiondoEndMatch
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctiondoIgnore
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctiondo_reconcile
( obj: &Arc<KMSSecret>, ctx: &Arc<Context>, namespace: &str, )
crate/clients/k8s/operator/src/controller.rs:89
↓ 1 callersFunctiondone
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctiondraft_certificate
(subject_key: &PKey<Private>)
crate/server/src/core/certificate/oracle_signing.rs:590
↓ 1 callersFunctiondrainQueue
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctiondropEndingNewline
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctiondrop_h1
Remove the page's own top-level title heading.
documentation/pandoc/combine.py:186
↓ 1 callersFunctionec_algorithm
( attributes: &mut Attributes, cryptographic_algorithm: CryptographicAlgorithm, recommended_curve:
crate/clients/client_utils/src/certificate_utils.rs:522
↓ 1 callersMethodec_curve_for_key
Read `CKA_EC_PARAMS` for `key_handle` and decode it to the corresponding `EcCurve` (used to determine the field size for DER <-> raw ECDSA signature c
crate/hsm/base_hsm/src/session/session_impl.rs:2263
↓ 1 callersFunctionec_curve_to_algorithm
(curve: EcCurve)
crate/interfaces/src/hsm/hsm_store.rs:56
↓ 1 callersMethodec_curves
All EC (non-EdDSA) key pairs, paired with their curve label, in a stable order (P-256, P-384, P-521, then secp256k1 when present).
crate/clients/clap/src/actions/pkcs11/capabilities.rs:1149
↓ 1 callersFunctionec_decrypt
( dek_uid: &str, owner: &str, kms: &Arc<KMS>, ciphertext: &[u8], )
crate/server/src/tests/hsm/ec_dek.rs:166
↓ 1 callersFunctionec_encrypt
(dek_uid: &str, owner: &str, kms: &Arc<KMS>, data: &[u8])
crate/server/src/tests/hsm/ec_dek.rs:134
↓ 1 callersFunctionec_key_on
(curve: Nid)
crate/server/src/core/certificate/oracle_signing.rs:538
↓ 1 callersFunctionec_p256_csr_der
()
crate/server/src/tests/ttlv_tests/certify_1_4.rs:144
↓ 1 callersMethodec_p256_public_key
(&self)
crate/clients/pkcs11/module/src/tests.rs:1296
↓ 1 callersFunctionec_private_key_from_scalar
( scalar: &BigUint, curve: RecommendedCurve, )
crate/crypto/src/openssl/private_key.rs:224
↓ 1 callersFunctionec_public_blob_from_spki_der
Parse an EC SubjectPublicKeyInfo (SPKI) DER and produce a `BCRYPT_ECCKEY_BLOB`. Detects the curve from the OID.
crate/clients/cng/src/blob.rs:189
↓ 1 callersFunctionec_public_key_from_material
Build an OpenSSL `EcKey` from the raw uncompressed X9.62 point exported from the HSM. Only applies to the FIPS-approved NIST prime curves: `EdDSA`/X2
crate/hsm/base_hsm/src/tests_shared.rs:1464
↓ 1 callersFunctionec_public_key_from_point_encoding
Instantiate an openssl Public Key from the point (`EC_POINT`) encoding on a standardized curve The encoding of the `ECPoint` structure is expected to
crate/crypto/src/openssl/public_key.rs:210
↓ 1 callersFunctionec_sign
(client: &KmsClient, sk_id: &str)
crate/test_kms_server/benches/http_throughput.rs:144
↓ 1 callersFunctionec_sign
Sign a file using EC keys via CLI
crate/clients/ckms/src/tests/elliptic_curve/sign_verify.rs:17
↓ 1 callersFunctionec_sign
Sign `input_file` with `key_id` (private key). Returns an error string on failure.
crate/clients/ckms/src/tests/elliptic_curve/rotation_policy.rs:62
↓ 1 callersFunctionec_sign_verify
Verify a signature using EC keys via CLI
crate/clients/ckms/src/tests/elliptic_curve/sign_verify.rs:50
↓ 1 callersFunctionec_signatures
(slot: &Arc<SlotManager>)
crate/hsm/crypt2pay/src/tests.rs:108
↓ 1 callersFunctionec_to_jwk
Serialize an EC public key to JWK. Supported NIST curves: P-256 (`ES256`), P-384 (`ES384`), P-521 (no `alg` because `ES512` is absent from the `jsonw
crate/server/src/routes/jwks.rs:308
↓ 1 callersFunctionec_verify
Verify `sig_file` over `data_file` using `key_id` (public key). Returns an error string on failure.
crate/clients/ckms/src/tests/elliptic_curve/rotation_policy.rs:83
↓ 1 callersMethodecdh_public_magic
(self)
crate/clients/cng/src/blob.rs:128
↓ 1 callersFunctionecdh_shared_secret_len
Return the SP 800-56A shared-secret length in bytes for a NIST curve, given its OpenSSL NID. P-256 → 32 bytes, P-384 → 48 bytes, P-521 → 66 bytes (ce
crate/crypto/src/crypto/elliptic_curves/operation.rs:362
↓ 1 callersFunctionecdsa_der_to_p1363
Convert an ECDSA signature from DER/ASN.1 encoding to JOSE fixed-size r||s (IEEE P1363). RFC 7518 §3.4 requires that the signature be the concatenati
crate/server/src/routes/jose/mod.rs:66
↓ 1 callersFunctionecdsa_p1363_to_der
Convert an ECDSA signature from JOSE fixed-size r||s (IEEE P1363) to DER/ASN.1. The JOSE signature is `coord_size` bytes of `r` followed by `coord_si
crate/server/src/routes/jose/mod.rs:153
↓ 1 callersFunctionecdsa_p384_wide
()
crate/clients/clap/src/actions/cng_verify.rs:80
↓ 1 callersFunctionecdsa_p521_wide
()
crate/clients/clap/src/actions/cng_verify.rs:83
↓ 1 callersMethodecdsa_public_magic
(self)
crate/clients/cng/src/blob.rs:118
↓ 1 callersFunctionecdsa_sign_rfc6979_openssl
( request: &Sign, private_key: &PKey<Private>, digest: MessageDigest, )
crate/crypto/src/crypto/elliptic_curves/sign.rs:147
↓ 1 callersFunctionecies_decrypt
( private_key: &PKey<Private>, ciphertext: &[u8], )
crate/crypto/src/crypto/elliptic_curves/ecies/standard_curves.rs:116
↓ 1 callersFunctionecies_encrypt
( pubkey: &PKey<Public>, plaintext: &[u8], )
crate/crypto/src/crypto/elliptic_curves/ecies/standard_curves.rs:75
↓ 1 callersFunctionecies_policy_conf
( curve: RecommendedCurve, allowed_shake: CryptographicAlgorithm, )
crate/server/src/tests/kmip_policy/e2e_ecies.rs:14
↓ 1 callersMethoded_curves
All `EdDSA` key pairs, paired with their curve label, in a stable order (Ed25519, then Ed448).
crate/clients/clap/src/actions/pkcs11/capabilities.rs:1158
↓ 1 callersFunctioneddsa_message_sign_verify
FFI into the dlopen'ed PKCS#11 provider (#1166)
crate/clients/clap/src/actions/pkcs11/capabilities.rs:1873
↓ 1 callersFunctioneddsa_message_sign_verify_on_session
FFI into the dlopen'ed PKCS#11 provider (#1166)
crate/clients/clap/src/actions/pkcs11/capabilities.rs:1901
↓ 1 callersFunctioneddsa_sign
`EdDSA` (e.g., `Ed25519`) signing helper. Uses OpenSSL's one-shot signer without digest.
crate/crypto/src/crypto/elliptic_curves/sign.rs:224
↓ 1 callersFunctioneddsa_to_jwk
(uid: &str, pkey: &PKey<Public>)
crate/server/src/routes/jwks.rs:397
↓ 1 callersFunctioneither
(...s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionek
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionekm_json_config
Returns a [`JsonConfig`] pre-wired with [`azure_ekm_json_error_handler`]. Register this on the `/azureekm` scope via `.app_data(azure_ekm::ekm_json_co
crate/server/src/routes/azure_ekm/mod.rs:89
↓ 1 callersFunctionelide_long_tokens
Truncate pathologically long tokens inside fenced code blocks. Base64/hex dumps (e.g. the CSR in ``_certify.md``) are emitted by pandoc as a
documentation/pandoc/combine.py:254
↓ 1 callersFunctionemitCloseNT
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionemitErrorNT
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionemitReadable_
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionemptyOrderedSet
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionemptySet
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionempty_jwks_manager
()
crate/server/src/middlewares/jwt/jwt_token_auth.rs:375
↓ 1 callersFunctionencapsulate_raw
( pkey: *mut openssl_sys::EVP_PKEY, )
crate/crypto/src/crypto/pqc/hybrid_kem.rs:93
↓ 1 callersFunctionencodeChunk
(s,o,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionencodeFn
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionencodeFormOrQuery
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionencodeHex
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionencode_der_length
(buf: &mut Vec<u8>, len: usize)
crate/server/src/core/operations/certify/build_certificate.rs:427
↓ 1 callersFunctionencode_der_length
Encode a DER length value (supports both short and long form).
crate/clients/pkcs11/provider/src/kms_object.rs:1256
↓ 1 callersFunctionencode_pkcs8_rsa
Wrap a PKCS#1 RSAPrivateKey DER in PKCS#8 PrivateKeyInfo. ```text PrivateKeyInfo ::= SEQUENCE { version INTEGER (0), privateKeyAlgorithm AlgorithmIde
crate/clients/cng/src/blob.rs:529
↓ 1 callersFunctionencode_rsa_private_key_der
( n: &[u8], e: &[u8], d: &[u8], p: &[u8], q: &[u8], dp: &[u8], dq: &[u8], q_in
crate/clients/cng/src/blob.rs:475
↓ 1 callersMethodencoded_len
(&self)
crate/kmip/src/ttlv/kmip_big_int.rs:95
↓ 1 callersFunctionencrypt
( req: HttpRequest, kms: Data<Arc<KMS>>, body: Json<EncryptRequest>, )
crate/server/src/routes/jose/encrypt.rs:53
↓ 1 callersFunctionencrypt
(client: &SocketClient, key_id: &str, data: &[u8], aad: Option<&[u8]>)
crate/server/src/tests/ttlv_tests/encrypt_2_1.rs:39
↓ 1 callersFunctionencrypt
crate/hsm/base_hsm/tests/fixtures/fips_gcm_hsm.c:64
↓ 1 callersMethodencrypt
Encrypts the given `value` using the FPE method. The value must be less than or equal to the `max_value` of the `Integer` representation. # Example
crate/crypto/src/crypto/fpe/integer.rs:103
↓ 1 callersMethodencrypt
(&self, request: &Encrypt)
crate/crypto/src/crypto/cover_crypt/encryption.rs:140
↓ 1 callersMethodencrypt
( &self, uid: &str, data: &[u8], cryptographic_algorithm: Option<CryptoAlgorit
crate/interfaces/src/hsm/hsm_store.rs:765
↓ 1 callersMethodencrypt
Execute encryption operation in KMS provider.
crate/clients/k8s/plugin/src/v2.rs:224
↓ 1 callersMethodencrypt
(&self, ctx: &EncryptContext, cleartext: Vec<u8>)
crate/clients/pkcs11/provider/src/backend.rs:628
↓ 1 callersMethodencrypt_aes_cbc_multi_part
Encrypt data with AES-CBC using a single PKCS#11 multi-part operation: one `C_EncryptInit`, one `C_EncryptUpdate` per part of at most `max_part_length
crate/hsm/base_hsm/src/session/session_impl.rs:1478
↓ 1 callersMethodencrypt_aes_gcm_classic
AES-GCM encryption with a caller-generated random 96-bit IV.
crate/hsm/base_hsm/src/session/session_impl.rs:891
↓ 1 callersMethodencrypt_aes_gcm_hsm_generated_iv
AES-GCM encryption for HSMs that reject a caller-supplied IV (`AesGcmCapabilities::supports_caller_iv == false`): a zeroed `pIv` buffer is passed and
crate/hsm/base_hsm/src/session/session_impl.rs:908
↓ 1 callersFunctionencrypt_bulk
Encrypt multiple plaintexts with the same key and return the corresponding ciphertexts. This is a hack where `request.data` is a serialized `BulkData
crate/server/src/core/operations/encrypt.rs:225
↓ 1 callersFunctionencrypt_cc_ttlv_request
( key_unique_identifier: &str, encryption_policy: String, plaintext: Vec<u8>, authentication_d
crate/clients/wasm/src/wasm.rs:1915
↓ 1 callersFunctionencrypt_certificate_ttlv_request
( unique_identifier: &str, plaintext: Vec<u8>, authentication_data: Option<Vec<u8>>, encryptio
crate/clients/wasm/src/wasm.rs:2187
↓ 1 callersFunctionencrypt_dir
Direct AES-GCM encryption — delegates to the KMIP Encrypt pipeline.
crate/server/src/routes/jose/encrypt.rs:101
↓ 1 callersFunctionencrypt_fpe_ttlv_request
( key_unique_identifier: &str, plaintext: Vec<u8>, tweak: Option<Vec<u8>>, authenticated_data:
crate/clients/wasm/src/wasm.rs:1443
↓ 1 callersFunctionencrypt_oaep
( dll: &KspDll, h_provider: usize, h_key: usize, plaintext: &[u8], )
crate/clients/clap/src/actions/cng_verify.rs:480
↓ 1 callersFunctionencrypt_rsa_oaep
( kms: &KMS, user: &UserId, kid: String, alg: JoseAlgorithm, enc: super::JoseEncAlgorithm,
crate/server/src/routes/jose/encrypt.rs:161
↓ 1 callersFunctionencrypt_single
Encrypt a single plaintext with the key and return the corresponding ciphertext. The key can be a symmetric key, a public key or a certificate. # Argu
crate/server/src/core/operations/encrypt.rs:192
← previousnext →3,901–4,000 of 12,829, ranked by callers