MCPcopy Create free account

hub / github.com/Cosmian/kms / functions

Functions12,829 in github.com/Cosmian/kms

↓ 2 callersFunctionderive_key_ttlv_request
( base_key_id: &str, derivation_method: &str, salt: Vec<u8>, iteration_count: i32, initial
crate/clients/wasm/src/wasm.rs:2613
↓ 2 callersMethoddeserialise
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersMethoddeserialize_map
(self, visitor: V)
crate/kmip/src/ttlv/kmip_ttlv_deserializer/deserializer.rs:892
↓ 2 callersMethoddeserialize_str
(self, visitor: V)
crate/kmip/src/ttlv/kmip_ttlv_deserializer/deserializer.rs:527
↓ 2 callersFunctiondeserialize_tagged_label
(bytes: Vec<u8>)
crate/hsm/base_hsm/src/session/mod.rs:111
↓ 2 callersFunctiondestroy_key
Delete (destroy) a key from the KMS by its UUID.
crate/clients/cng/src/backend.rs:206
↓ 2 callersFunctiondestroy_operation
Destroy a KMIP Object
crate/server/src/core/operations/destroy.rs:35
↓ 2 callersFunctiondestroy_request
(key_id: &str)
crate/server/src/routes/aws_xks/tests.rs:71
↓ 2 callersFunctiondestroy_ttlv_request
(unique_identifier: String, remove: bool)
crate/clients/wasm/src/wasm.rs:1329
↓ 2 callersFunctiondi
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctiondigest
Returns the digest of the object as explained in KMIP 2.1 Digest attribute.
crate/server/src/core/operations/digest.rs:18
↓ 2 callersFunctiondiscover_eligible_public_keys
Query the database for all public keys eligible for JWKS inclusion. Eligibility criteria: - `ObjectType::PublicKey` - Tagged [`JWKS_TAG`] (`"jwks"`)
crate/server/src/routes/jwks.rs:138
↓ 2 callersFunctiondisk_encryption_tag
Tag the provider's `find_all_private_keys` filters on, overridable with `COSMIAN_PKCS11_DISK_ENCRYPTION_TAG` exactly like the provider's own default.
crate/clients/clap/src/actions/pkcs11/bench/setup.rs:139
↓ 2 callersFunctiondispatch
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctiondispatch
Dispatch operation depending on the TTLV tag
crate/server/src/core/operations/dispatch.rs:164
↓ 2 callersFunctiondk
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctiondl
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctiondll_directory
()
crate/clients/cng/src/lib.rs:95
↓ 2 callersFunctiondoWrite
(s,o,i,u,_,w,x)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctiondocsUrl
(path: string, hash?: string)
ui/src/utils/utils.ts:10
↓ 2 callersFunctionec_curve_to_usage_mask
( curve: Option<EcCurve>, object_type: ObjectType, )
crate/interfaces/src/hsm/hsm_store.rs:84
↓ 2 callersFunctionec_domain_parameters_for_curve
(curve: EcCurve)
crate/interfaces/src/hsm/hsm_store.rs:97
↓ 2 callersFunctionec_public_blob
Build a `BCRYPT_ECCKEY_BLOB` for a public EC key. Layout: ```text DWORD Magic DWORD cbKey // byte length of each coordinate (X and Y) BYTE[cbKey
crate/clients/cng/src/blob.rs:148
↓ 2 callersFunctionec_public_blob_from_uncompressed
Build an EC public `BCRYPT_ECCKEY_BLOB` from a raw uncompressed EC point (`04 || X || Y`).
crate/clients/cng/src/blob.rs:166
↓ 2 callersFunctionecdsa_coord_size
Return the ECDSA coordinate byte-length for JOSE EC algorithms (None for non-EC algs). Per RFC 7518 §3.4: ES256 → P-256 → 32 bytes ES384 → P-384 → 48
crate/server/src/routes/jose/mod.rs:53
↓ 2 callersFunctionecdsa_p256_wide
()
crate/clients/clap/src/actions/cng_verify.rs:77
↓ 2 callersFunctionecies_decrypt
Decrypt `ciphertext` data using `privkey` private key following ECIES. When using Curve25519 (X25519 or Ed25519 which is converted to X25519), `Salsa
crate/crypto/src/crypto/elliptic_curves/ecies/mod.rs:63
↓ 2 callersFunctionecies_encrypt
Encrypt `plaintext` data using `pubkey` public key following ECIES. When using Curve25519 (X25519 or Ed25519 which is converted to X25519), `SalsaSea
crate/crypto/src/crypto/elliptic_curves/ecies/mod.rs:28
↓ 2 callersFunctionecies_get_iv
( Q: &EcPointRef, R: &EcPointRef, curve: &EcGroupRef, iv_size: usize, message_digest: Mess
crate/crypto/src/crypto/elliptic_curves/ecies/standard_curves.rs:20
↓ 2 callersFunctionecies_get_key
( S: &EcPointRef, curve: &EcGroupRef, key_size: usize, message_digest: MessageDigest, )
crate/crypto/src/crypto/elliptic_curves/ecies/standard_curves.rs:43
↓ 2 callersFunctioned_verify
( verification_key: &PKey<Public>, data: &[u8], signature: &[u8], )
crate/crypto/src/crypto/elliptic_curves/verify.rs:132
↓ 2 callersMethodedit_policy
(self, operation: KmipOperation)
crate/kmip/src/kmip_2_1/attribute_policy.rs:18
↓ 2 callersFunctionei
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctionel
(s,o,i,u,_,w,x,C,j)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctionemitsWrappingTags
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctionemptyElement
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctionemptyStack
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctionencaps_decaps_roundtrip
(algorithm: CryptographicAlgorithm)
crate/crypto/src/crypto/pqc/hybrid_kem.rs:228
↓ 2 callersFunctionencapsulate
Returns (shared secret, encapsulation). Every KEM packs both in `Data` as a serialized tuple: an encapsulation is a ciphertext and never travels in `I
crate/server/src/tests/hsm/hybrid_kem_dek.rs:201
↓ 2 callersFunctionencodeCharacters
(s,o="reserved")
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctionencode_hex
(bytes: &[u8])
crate/hsm/base_hsm/src/session/mod.rs:21
↓ 2 callersFunctionencoded_len
Number of bytes `ttlv` occupies on the wire: 8-byte header plus value and padding.
crate/kmip/src/ttlv/wire/ttlv_bytes_serializer.rs:55
↓ 2 callersFunctionencoded_value_len
Number of bytes following the header: the Structure length field, or the value plus its padding for primitives.
crate/kmip/src/ttlv/wire/ttlv_bytes_serializer.rs:61
↓ 2 callersFunctionencrypt
( kms: &KMS, request: Encrypt, user: &UserId, )
crate/server/src/core/operations/encrypt.rs:171
↓ 2 callersFunctionencrypt
( cli_conf_path: &str, input_files: &[&str], public_key_id: &str, output_file: Option<&str>, )
crate/clients/ckms/src/tests/elliptic_curve/encrypt_decrypt.rs:21
↓ 2 callersFunctionencrypt
Encrypts a file using the given public key and access policy.
crate/clients/ckms/src/tests/certificates/encrypt.rs:28
↓ 2 callersMethodencrypt
( &'a self, _slot_id: usize, _key_id: &'a [u8], _algorithm: CryptoAlgorithm,
crate/server/src/core/operations/certify/hsm_subject_tests.rs:157
↓ 2 callersMethodencrypt_aes_cbc_multi_round
Encrypt data using AES-CBC in multiple rounds with PKCS#7 padding. This function performs AES-CBC encryption of the given plaintext, splitting the op
crate/hsm/base_hsm/src/session/session_impl.rs:1310
↓ 2 callersMethodencrypt_aes_gcm_with_iv_buffer
Runs `CKM_AES_GCM` with `nonce` as the `pIv` buffer and returns the IV as it reads after the call (HSMs that generate the IV write it back into the bu
crate/hsm/base_hsm/src/session/session_impl.rs:927
↓ 2 callersFunctionencrypt_data
Encrypt data using a public/private key in the KMS.
crate/clients/cng/src/backend.rs:524
↓ 2 callersMethodencrypt_final
Finish the active encryption operation and append any remaining bytes.
crate/hsm/base_hsm/src/session/session_impl.rs:1605
↓ 2 callersMethodencrypt_object
(&self, uid: &str, redis_db_object: &RedisDbObject)
crate/server_database/src/stores/redis/objects_db.rs:163
↓ 2 callersFunctionencrypt_pgp_ttlv_request
( key_unique_identifier: &str, plaintext: Vec<u8>, )
crate/clients/wasm/src/wasm.rs:1211
↓ 2 callersFunctionencrypt_raw
(kms: &KMS, owner: &UserId, pk: &str)
crate/server/src/tests/configurable_kem_tests.rs:78
↓ 2 callersFunctionencrypt_response
The raw KMIP `Encrypt` response of a KEM public key
crate/server/src/tests/hsm/hybrid_kem_dek.rs:185
↓ 2 callersFunctionencrypt_rsa_ttlv_request
( key_unique_identifier: &str, plaintext: Vec<u8>, encryption_algorithm: JsValue, hash_fn: JsV
crate/clients/wasm/src/wasm.rs:1377
↓ 2 callersFunctionencrypt_sym_ttlv_request
( key_unique_identifier: &str, encryption_policy: Option<String>, plaintext: Vec<u8>, nonce: O
crate/clients/wasm/src/wasm.rs:1344
↓ 2 callersFunctionencrypt_with_certificate
( request: &Encrypt, server_params: &ServerParams, key_id: &str, certificate_value: &[u8],
crate/server/src/core/operations/encrypt.rs:824
↓ 2 callersFunctionencrypt_with_pkey
( request: &Encrypt, #[cfg(feature = "non-fips")] server_params: &ServerParams, #[cfg(not(feature
crate/server/src/core/operations/encrypt.rs:741
↓ 2 callersFunctionencrypt_with_public_key
( request: &Encrypt, server_params: &ServerParams, owm: &ObjectWithMetadata, rng: &KmsRng, )
crate/server/src/core/operations/encrypt.rs:584
↓ 2 callersFunctionenforce_ecies_fixed_suite_for_attributes
( params: &ServerParams, operation_tag: &str, key_id: &str, attrs: &Attributes, )
crate/server/src/core/operations/algorithm_policy.rs:698
↓ 2 callersFunctionenforce_ecies_fixed_suite_for_pkey_id
( params: &ServerParams, operation_tag: &str, key_id: &str, pkey_id: openssl::pkey::Id, )
crate/server/src/core/operations/algorithm_policy.rs:575
↓ 2 callersMethodenforce_keyset_latest
Reject a Re-Key / Re-KeyKeyPair request when the selected key is not the latest generation in its named keyset. No-ops for keys that are not part of
crate/server/src/core/operations/rekey/common.rs:116
↓ 2 callersFunctionenforce_kmip_algorithm_policy_for_kem_components
( params: &ServerParams, operation_tag: &str, uid_for_error: &str, (curve, algorithm): (Option
crate/server/src/core/operations/algorithm_policy.rs:541
↓ 2 callersFunctionenforce_kmip_algorithm_policy_for_operation
( params: &ServerParams, operation: OperationEnumeration, ttlv: &TTLV, )
crate/server/src/core/operations/algorithm_policy.rs:54
↓ 2 callersFunctionenforce_size_cap
Marks the sink capped once its committed length reaches the configured limit. The write crossing the limit remains committed.
crate/server/src/core/audit/file_sink.rs:288
↓ 2 callersFunctionenrichVisibleRows
(rows: LocatedRow[])
ui/src/components/common/Locate.tsx:212
↓ 2 callersFunctionensure_auth_middleware
Creates the authentication fallback middleware. Ensures that every request reaching this middleware carries an [`AuthenticatedUser`]: - Passes throug
crate/server/src/middlewares/ensure_auth.rs:29
↓ 2 callersFunctionensure_ckms_binary
()
crate/clients/ckms/src/tests/ensure_binary.rs:14
↓ 2 callersFunctionensure_func_list_3_0_registered
PKCS#11 v3.0 Interfaces API gap-fill: populates the `FUNC_LIST_3_0*` tables exactly once, regardless of how many threads call `C_GetInterfaceList`/`C_
crate/clients/pkcs11/provider/src/lib.rs:61
↓ 2 callersFunctionensure_issuer_key_active
Verify that the issuer private key is in the Active state before signing. KMIP §4.57 mandates that a Deactivated key **SHALL NOT** be used for applyi
crate/server/src/core/operations/certify/resolve_issuer.rs:52
↓ 2 callersFunctionensure_kek_wrapping
Startup check: an HSM AES key encryption key must be able to wrap with its configured mode (AES-KW, AES-KWP or AES-GCM, the default). For AES-KW/KWP,
crate/server/src/core/wrapping/wrap.rs:184
↓ 2 callersFunctionensure_key_enabled
Fail with the Azure EKM `KeyDisabled` error when the key is not in a usable state. `accepted_states` are those of the KMIP operation that performs th
crate/server/src/routes/azure_ekm/handlers.rs:44
↓ 2 callersFunctionensure_key_wrap_supported
AES-KW/KWP are only attempted on slots that advertise them.
crate/interfaces/src/hsm/hsm_store.rs:746
↓ 2 callersMethodensure_message_context
Makes sure a message context for `family` is open for this key and mechanism. Returns `Ok(false)` when the token rejects the mechanism (cached per sl
crate/hsm/base_hsm/src/session/message_context.rs:231
↓ 2 callersFunctionensure_svid_providers_have_audience
`--jwt-svid-auth` is global: it makes EVERY `--jwt-auth-provider` issuer accept SPIFFE subjects. A JWT-SVID is minted for a specific audience and work
crate/server/src/config/params/server_params.rs:1210
↓ 2 callersFunctionenum_field_name
Reads the variant name of an enumeration field, tolerant of both TTLV wire encodings. JSON-decoded TTLVs carry the variant name in `KmipEnumerationVa
crate/server/src/routes/kmip/audit.rs:36
↓ 2 callersFunctionephemeral_secret_template
Template of the ephemeral, extractable session object carrying the bytes to (un)wrap.
crate/hsm/base_hsm/src/session/aes_key_wrap.rs:32
↓ 2 callersFunctionerror
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctiones_compile
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctionescapeDeepLinkPath
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctionevent_from_row
Rebuilds an `AuditEvent` from a row produced by `select-audit-events-page`. Column access is by name, so an extra column (e.g. `chain_generation`, whi
crate/server_database/src/stores/audit/row.rs:17
↓ 2 callersFunctionevict_ocsp_cache_entry
Evict a single entry from the in-memory OCSP response cache. Called from `Revoke` (`crate::core::operations::revoke`) right after a certificate's lif
crate/server/src/routes/ocsp/handler.rs:151
↓ 2 callersFunctionexecute_steps
Execute the steps of a test vector against a running server.
crate/test_kms_server/src/vector_runner.rs:1391
↓ 2 callersFunctionexpect_parameter
Fail unless the `parameters` row `name` currently holds `expected`.
crate/server_database/src/stores/sql/sqlite.rs:1817
↓ 2 callersFunctionexport_action
(path: PathBuf, format: ExportFormat)
crate/clients/clap/src/actions/audit.rs:934
↓ 2 callersFunctionexport_get
Export an object This function is used by the KMIP Export and Get operations
crate/server/src/core/operations/export_get.rs:123
↓ 2 callersMethodexport_policy
(&self)
crate/clients/cng/src/key.rs:262
↓ 2 callersFunctionextendStatics
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersMethodextend_with
Extends the alphabet with additional characters, removing duplicates.
crate/crypto/src/crypto/fpe/alphabet.rs:197
↓ 2 callersFunctionextension_config_is_ca
Return `true` when the vendor extension-config attribute marks this certificate as a CA (`basicConstraints=CA:TRUE` or `basicConstraints=critical,CA:T
crate/server/src/core/operations/certify/build_certificate.rs:244
↓ 2 callersFunctionextract
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctionextractExample
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctionextractMeta
(parsed: unknown)
ui/src/components/common/Locate.tsx:207
↓ 2 callersFunctionextract_algorithm
Extracts the `CryptographicAlgorithm` for audit purposes from a single-operation TTLV. Create / `CreateKeyPair` / Register: algorithm is in `Attribut
crate/server/src/routes/kmip/audit.rs:168
↓ 2 callersFunctionextract_bearer_token
Extract a Bearer token from the `Authorization` header of a request. Returns the raw token string (trimmed) on success, or an `Unauthorized` error wh
crate/server/src/middlewares/mod.rs:62
↓ 2 callersFunctionextract_csrf_state
Extract the `state` query parameter from `auth_url` — that is the CSRF token the actix handler expects.
crate/clients/client/src/http_client/tests.rs:489
↓ 2 callersFunctionextract_query_from_cert_id
( cid: *mut openssl_sys::OCSP_CERTID, )
crate/crypto/src/openssl/ocsp.rs:859
↓ 2 callersFunctionextract_request_nonce
(req: *mut openssl_sys::OCSP_REQUEST)
crate/crypto/src/openssl/ocsp.rs:694
↓ 2 callersFunctionextract_serial_hex
(cid: *mut openssl_sys::OCSP_CERTID)
crate/crypto/src/openssl/ocsp.rs:912
← previousnext →2,301–2,400 of 12,829, ranked by callers