MCPcopy Create free account

hub / github.com/Cosmian/kms / functions

Functions12,829 in github.com/Cosmian/kms

↓ 2 callersFunctionsigned_by
SAFETY: OpenSSL FFI; justified at each unsafe block
crate/crypto/src/openssl/scep_cms.rs:847
↓ 2 callersFunctionsimple_reenroll
Re-enrollment core (RFC 7030 §4.2.2): `peer` is the TLS client certificate being renewed, which must have been issued by the EST CA and still be activ
crate/server/src/routes/est/enroll.rs:297
↓ 2 callersMethodsingle_decrypt
( &self, encrypted_bytes: &[u8], ad: Option<&[u8]>, usk: &UserSecretKey, )
crate/crypto/src/crypto/cover_crypt/decryption.rs:51
↓ 2 callersFunctionsnapshot
()
crate/clients/pkcs11/module/src/profiling.rs:255
↓ 2 callersFunctionsnapshot
Copies the session's context out under the lock, with `pParameter` pointing at a local copy of * the parameter bytes. Returns CKR_OPERATION_NOT_INITI
crate/hsm/base_hsm/tests/fixtures/v3_message_adapter.c:154
↓ 2 callersFunctionspki_public_key_object
Build a KMIP `PublicKey` object carrying an SPKI DER blob.
crate/server/src/routes/jose/keys.rs:605
↓ 2 callersFunctionsplit_aes_gcm_output
Split a `CKM_AES_GCM` encryption output into IV, ciphertext and tag. Standard PKCS#11 output is `ciphertext || tag` and the IV is the `pIv` buffer. T
crate/hsm/base_hsm/src/session/session_impl.rs:4010
↓ 2 callersFunctionstartNewMode
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctionstart_from_server_params
Common finalization once the server parameters are fully constructed
crate/test_kms_server/src/test_server.rs:1171
↓ 2 callersFunctionstart_test_kms_server
Start a test KMS server with the given config in a separate thread
crate/test_kms_server/src/test_server.rs:1088
↓ 2 callersFunctionstart_test_server_from_toml
Start an isolated test KMS server from a TOML configuration file. The TOML file is loaded into [`ClapConfig`], the HTTP port is overridden to a free
crate/test_kms_server/src/test_server.rs:1439
↓ 2 callersFunctionstatus
()
crate/clients/clap/src/actions/cng.rs:118
↓ 2 callersFunctionstr_field
(v: &'a Value, field: &str)
crate/server/src/tests/hsm/jose_decrypt.rs:47
↓ 2 callersFunctionstr_to_wide_bytes
Encode a Rust `&str` as a null-terminated UTF-16 little-endian byte slice.
crate/clients/cng/src/provider.rs:146
↓ 2 callersFunctionstripped_p256_key
A P-256 private key whose algorithm and curve attributes were stripped (as a `DeleteAttribute` allowed before 5.29.0 did).
crate/server/src/core/operations/algorithm_policy.rs:1328
↓ 2 callersFunctionstub_init_reject_eddsa
`C_SignInit`/`C_VerifyInit` share the same (session, mechanism, key) * signature. Real conformant v2.40-only libraries reject v3.0-only mechanisms *
crate/hsm/base_hsm/tests/fixtures/minimal_pkcs11.c:42
↓ 2 callersFunctionstyleBtn
(btn, color, active)
documentation/docs/javascripts/log_filter.js:28
↓ 2 callersFunctionsubject_pqc_algorithm
(subject: &Subject)
crate/server/src/core/operations/certify/build_certificate.rs:215
↓ 2 callersFunctionsubstitute_uid
(test_name: &str, uid: &mut UniqueIdentifier, uid_map: &HashMap<usize, String>)
crate/clients/clap/src/tests/xml/request.rs:1123
↓ 2 callersFunctionsubstitute_uid
Substitute a placeholder UID (namespaced or legacy) with the real value from the map.
crate/clients/clap/src/tests/xml/expected_response.rs:928
↓ 2 callersFunctionsubstitute_uid_text
KMIP 1.4 helper: substitute placeholder UID strings using the map of real values
crate/clients/clap/src/tests/xml/expected_response.rs:17
↓ 2 callersMethodsubtract
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctionsummarize
Computes throughput and latency percentiles from a batch of samples.
crate/clients/clap/src/actions/pkcs11/bench/load.rs:304
↓ 2 callersMethodsupports_message_decrypt
(&self)
crate/hsm/base_hsm/src/hsm_lib.rs:605
↓ 2 callersMethodsupports_message_sign
(&self)
crate/hsm/base_hsm/src/hsm_lib.rs:617
↓ 2 callersMethodsupports_pkcs11_v3_interfaces
(&self)
crate/hsm/base_hsm/src/hsm_lib.rs:496
↓ 2 callersFunctionsymmetric_algorithm_from_alg
Map a JOSE `alg` string to the KMIP `CryptographicAlgorithm` used for symmetric key creation.
crate/server/src/routes/jose/algorithm.rs:391
↓ 2 callersFunctiontc
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctiontestDocumentSeparator
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctiontest_acceptor
The socket server TLS acceptor configured with the test server certificate and client CA.
crate/server/src/socket_server.rs:603
↓ 2 callersFunctiontest_cse_private_key_decrypt
( encrypted_data_encryption_key: &str, wrapped_private_key: &str, )
crate/server/src/tests/google_cse/mod.rs:369
↓ 2 callersFunctiontest_decrypt
( session_h: CK_ULONG, key_handle: CK_OBJECT_HANDLE, encrypted_data: Vec<u8>, )
crate/clients/pkcs11/module/src/utils.rs:129
↓ 2 callersFunctiontest_encrypt
( session_h: CK_ULONG, key_handle: CK_OBJECT_HANDLE, plaintext: Vec<u8>, )
crate/clients/pkcs11/module/src/utils.rs:79
↓ 2 callersFunctiontest_import_export_wrap_private_key
( cli_conf_path: &str, sub_command: &str, private_key_id: &str, wrapping_key_uid: &str, un
crate/clients/ckms/src/tests/shared/import_export_wrapping.rs:223
↓ 2 callersFunctiontest_jose_hsm_decryption
()
crate/server/src/tests/hsm/jose_decrypt.rs:58
↓ 2 callersFunctiontest_metadata
(id: &str, tags: HashSet<String>)
crate/interfaces/src/hsm/hsm_store.rs:2074
↓ 2 callersFunctiontest_object
Build a minimal `Object::SymmetricKey` with empty embedded attributes.
crate/interfaces/src/stores/object_with_metadata.rs:297
↓ 2 callersFunctiontest_sign
(cli_conf_path: &str, name: &str, algorithm: &str)
crate/clients/ckms/src/tests/pqc/mod.rs:192
↓ 2 callersFunctiontest_single_signature
Test signing and verification (with and without digested data)
crate/server/src/tests/test_sign.rs:26
↓ 2 callersFunctiontest_streaming_signature_verification
Test streaming signature verification with multiple calls
crate/server/src/tests/test_sign.rs:90
↓ 2 callersFunctionthrowUnhandledCaseError
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctiontls_unique
The first `Finished` message of the connection's handshake: the client's in a full handshake, the server's in a resumed one (RFC 5929 §3.1). Only TLS
crate/server/src/middlewares/tls_auth.rs:51
↓ 2 callersFunctiontoConsumableArray_toConsumableArray
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctiontoFileSystemPath
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctiontoTitleCase
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctionto_c_long
Convert an `i64` (epoch seconds or a byte length) to the platform's C `long`. `c_long` is 64-bit on Unix (LP64: Linux, macOS) but only **32-bit** on
crate/crypto/src/openssl/ocsp.rs:67
↓ 2 callersFunctionto_ec_private_key
Convert to an Elliptic Curve KMIP Private Key. Supported curves are: X25519, Ed25519, X448, Ed448, P-192, P-224, P-256, P-384, P-521. `pkey_bits_numb
crate/crypto/src/crypto/elliptic_curves/operation.rs:199
↓ 2 callersFunctionto_http_date
Format a UTC timestamp as an RFC 7231 IMF-fixdate string. Example: `"Thu, 01 Jan 1970 00:00:00 GMT"`
crate/server/src/routes/ocsp/handler.rs:675
↓ 2 callersMethodto_kmip
(&self)
crate/interfaces/src/crypto_oracle.rs:118
↓ 2 callersFunctionto_md
(out: &mut dyn Write, ss: &StyledStr)
crate/clients/ckms/src/actions/markdown.rs:172
↓ 2 callersMethodto_oid
(&self)
crate/clients/pkcs11/module/src/traits/key_algorithm.rs:103
↓ 2 callersMethodto_ttlv_bytes
Returns the `KeyValue` key material bytes if any, an error otherwise
crate/kmip/src/kmip_2_1/kmip_data_structures.rs:837
↓ 2 callersMethodtouch
Return the working state of `uid` within this attempt, reading and recording its baseline from Redis on first touch.
crate/server_database/src/stores/redis/redis_with_findex.rs:481
↓ 2 callersFunctiontrailingEdge
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctiontransit_key_filter
Build an `Attributes` filter for finding private keys with a given transit tag.
crate/server/src/routes/spire/transit.rs:325
↓ 2 callersFunctiontransit_key_type_from_attrs
Derive a Vault transit key type string from KMIP `Attributes` (G3 fix). Used by `GET /keys/{name}` to reconstruct the type from stored metadata.
crate/server/src/routes/spire/transit.rs:243
↓ 2 callersFunctiontraversal_find
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctiontraverse
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctiontrimLeft
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctiontry_create_ec_kp_no_fips
( rt: &Runtime, client: &KmsClient, name: &str, curve: RecommendedCurve, )
crate/clients/clap/src/actions/bench/helpers.rs:478
↓ 2 callersFunctiontry_create_hsm_sym_key
Create an HSM-resident symmetric key (e.g. AES). Key generation happens on the HSM itself via `HsmKeyAlgorithm::AES`.
crate/clients/clap/src/actions/bench/helpers.rs:552
↓ 2 callersFunctiontry_create_pqc_kp
( rt: &Runtime, client: &KmsClient, name: &str, algorithm: CryptographicAlgorithm, )
crate/clients/clap/src/actions/bench/helpers.rs:505
↓ 2 callersFunctiontry_create_sym_key
( rt: &Runtime, client: &KmsClient, name: &str, bits: usize, algo: CryptographicAlgorithm,
crate/clients/clap/src/actions/bench/helpers.rs:392
↓ 2 callersFunctiontry_parse_revocation_reason_code
Parse a revocation reason code string (kebab-case, `snake_case`, or `PascalCase`) into a [`RevocationReasonCode`]. Case-insensitive; hyphens and under
crate/clients/client_utils/src/revoke_utils.rs:8
↓ 2 callersFunctionttlv_header
(length: u32)
crate/server/src/socket_server.rs:783
↓ 2 callersMethodtweak_bytes
(&self)
crate/clients/clap/src/actions/fpe/mod.rs:89
↓ 2 callersFunctiontwo_kacls
( rsa: &Rsa<Private>, )
crate/server/src/tests/google_cse/token_validation.rs:677
↓ 2 callersFunctionub
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctionue
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctionug
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctionunapply
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctionunique
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctionunique_identifier_to_string
(id: &UniqueIdentifier)
crate/clients/clap/src/actions/pkcs11/capabilities.rs:1083
↓ 2 callersFunctionunique_instance_id
(label: &str)
crate/server/src/core/audit/store.rs:1293
↓ 2 callersFunctionunpack
(data: &[u8])
crate/server/src/tests/configurable_kem_tests.rs:83
↓ 2 callersFunctionunpackKemEncapsulation
(data: Uint8Array | number[])
ui/src/utils/kem.ts:12
↓ 2 callersMethodunseal
Decrypt and authenticate a sealed ceremony record. Returns `Err` if the record has been tampered with (GCM tag verification failure) or if the `role`
crate/server_database/src/ceremony_keys.rs:121
↓ 2 callersFunctionunwrap
( object: &mut Object, kms: &KMS, user: &UserId, allow_server_kek: bool, )
crate/server/src/core/wrapping/unwrap.rs:106
↓ 2 callersFunctionunwrap_user_decryption_key_object
Unwrap the User Decryption Key bytes, Policy and Access Policy from the provided User Decryption Key Object see `cover_crypt_create_user_decryption_k
crate/crypto/src/crypto/cover_crypt/user_key.rs:28
↓ 2 callersFunctionunwrapping_key_uid
The unique identifier of the key that wrapped `key_block`.
crate/server/src/core/wrapping/unwrap.rs:155
↓ 2 callersFunctionupdateNode
(s,o,i,u,_,w,x,C)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersMethodupdatePatches
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersMethodupdate_active_user
documented panic: only fails on a misconfigured system clock before UNIX_EPOCH
crate/server/src/core/otel_metrics.rs:441
↓ 2 callersMethodupdate_find_objects_context
( &mut self, object: Arc<Object>, )
crate/clients/pkcs11/module/src/sessions.rs:204
↓ 2 callersMethodupdate_findex_keywords
Update Findex index entries: insert new keywords, delete stale ones.
crate/server_database/src/stores/redis/redis_with_findex.rs:753
↓ 2 callersFunctionupdate_object_
( uid: &str, object: &Object, attributes: &Attributes, tags: Option<&HashSet<String>>, tx:
crate/server_database/src/stores/sql/mysql.rs:1270
↓ 2 callersMethodupdate_objects_total
Set `kms.objects.total` to the current absolute object count. Called once at server startup (seeding from the real DB count) and every `metrics_count
crate/server/src/core/otel_metrics.rs:560
↓ 2 callersFunctionupdate_state_
( uid: &str, state: State, tx: &mut Transaction<'_>, )
crate/server_database/src/stores/sql/mysql.rs:1312
↓ 2 callersMethodupsert_crl
Persist (or replace) the most recently generated CRL for `issuer_id`.
crate/server_database/src/core/database_permissions.rs:152
↓ 2 callersFunctionuri_evaluate
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctionurl_cwd
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctionuseLevel
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctionuse_pin_as_access_token
Returns `true` when the OIDC-pin mode is active: the `pPin` passed to `C_Login` is treated as a bearer token for every subsequent KMS request.
crate/clients/pkcs11/module/src/traits/backend.rs:183
↓ 2 callersFunctionuser
(name: &str)
crate/server/src/tests/revocation_authority_tests.rs:56
↓ 2 callersMethoduser_has_granted_operation
Shared authorization tail: does `user` hold an explicit grant for `operation` on the object `uid` (honoring the `Get` wildcard for non-HSM keys)? Own
crate/server/src/core/operations/key_ops/crypto_op.rs:703
↓ 2 callersFunctionutf8Slice
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctionutf8ToBytes
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctionutil_merge
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctionutils_memoizeN
(s,o=list)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersMethodvalidate
Enforce the header rules of the JWKS-keyed authenticators: - `alg` and `kid` must be present and non-blank (the key is always selected from the config
crate/server/src/middlewares/jwt/jwt_config.rs:200
← previousnext →3,001–3,100 of 12,829, ranked by callers