MCPcopy Create free account

hub / github.com/Cosmian/kms / functions

Functions12,829 in github.com/Cosmian/kms

↓ 4 callersFunctiontest_db_softhsm2_impl
Full key lifecycle exercised against the HSM-backed KMS. Stages (each one exercises HSM wrap/unwrap at the DB layer): 1. **Create** — AES-256 key, s
crate/test_kms_server/src/db_hsm_tests.rs:74
↓ 4 callersMethodtoReference
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersMethodto_bytes
(&self, kmip_flavor: KmipFlavor)
crate/kmip/src/ttlv/ttlv_struct.rs:76
↓ 4 callersFunctionto_cef_line_with_source
( event: &AuditEvent, kms_version: &str, source: Option<(&str, i64)>, )
crate/access/src/audit/cef.rs:49
↓ 4 callersFunctionto_ec_public_key
Convert to an Elliptic Curve KMIP Public Key. Supported curves are: X25519, Ed25519, X448, Ed448, P-192, P-224, P-256, P-384, P-521. `pkey_bits_numbe
crate/crypto/src/crypto/elliptic_curves/operation.rs:133
↓ 4 callersMethodto_u32
(&self)
crate/crypto/src/crypto/fpe/ff1.rs:210
↓ 4 callersFunctiontransit_create_req_for
Build a P-256 key-pair creation request tagged as a transit key for `name`.
crate/server/src/routes/spire/transit.rs:1128
↓ 4 callersMethodtry_begin
Reserve one of the concurrent enrollment slots; `None` when all are busy.
crate/server/src/routes/enrollment_guard.rs:184
↓ 4 callersFunctiontry_decrypt
Attempt to decrypt the given ciphertext response; returns Ok(value) on success.
crate/server/src/tests/jose/key_state.rs:82
↓ 4 callersFunctionunique_temp_path
Create a unique path inside the system temp directory
crate/clients/ckms/src/tests/access.rs:31
↓ 4 callersFunctionunsanitize
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctionunwrap_if_requested
( object_with_metadata: &mut ObjectWithMetadata, key_wrap_type: &Option<KeyWrapType>, kms: &KMS,
crate/server/src/core/operations/export_get.rs:986
↓ 4 callersFunctionunwrap_request
( authentication: String, authorization: String, wrapped_key: String, )
crate/server/src/tests/google_cse/token_validation.rs:131
↓ 4 callersFunctionunwrap_stored_object
Unwrap an Object read from the server's own storage. Same as [`unwrap_object`], except that the server `key_encryption_key`, when the key block names
crate/server/src/core/wrapping/unwrap.rs:48
↓ 4 callersFunctionupsert
( uid: &str, object: &Object, tags: Option<HashSet<String>>, )
crate/server_database/src/stores/redis/additional_redis_findex_tests.rs:67
↓ 4 callersMethoduse
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctionvalidate_against_auth_verifier
Validate a raw token against the auth-verifier and return the entity info.
crate/server/src/middlewares/spire_token.rs:133
↓ 4 callersFunctionvalidate_attributes
(attrs: &Attributes, wl: &KmipWhitelists)
crate/server/src/core/operations/algorithm_policy.rs:811
↓ 4 callersMethodvalidate_authentication_token
Decode and validate a json web token (JWT)
crate/server/src/middlewares/jwt/jwt_config.rs:258
↓ 4 callersFunctionvalidate_by_uid
(kms: &Arc<KMS>, owner: &UserId, cert_ids: &[&str])
crate/server/src/tests/test_validate.rs:1447
↓ 4 callersMethodvalidate_cache
Validate the cache entry for `uid` against the current object from the DB. If the fingerprint of the cached entry differs from the fingerprint of `cu
crate/server_database/src/core/object_cache.rs:126
↓ 4 callersFunctionvalidate_curve
( curve: RecommendedCurve, whitelist: Option<&HashSet<RecommendedCurve>>, )
crate/server/src/core/operations/algorithm_policy.rs:1137
↓ 4 callersFunctionvalidate_gcm_message_iv_and_tag
Reject a caller-supplied detached IV/tag pair whose lengths are not the ones this crate produces on the encrypt side. `CK_GCM_MESSAGE_PARAMS` derives
crate/hsm/base_hsm/src/session/message_aead.rs:44
↓ 4 callersFunctionvalidate_jwt_svid
Validate a raw JWT-SVID token (no "Bearer " prefix, no `Authorization` header) against the SPIFFE-JWT-SVID-enabled issuers and resolve an `Authenticat
crate/server/src/middlewares/jwt/jwt_token_auth.rs:167
↓ 4 callersFunctionvalidate_signature_algorithm
( sig: DigitalSignatureAlgorithm, whitelist: Option<&HashSet<DigitalSignatureAlgorithm>>, )
crate/server/src/core/operations/algorithm_policy.rs:1109
↓ 4 callersFunctionverify_auth_verifier_jwt_subject
Validate a Auth Verifier server JWT, check that its session is still live, and return its `sub` claim (the authenticated username). Shared between th
crate/server/src/middlewares/auth_verifier/token.rs:172
↓ 4 callersFunctionverify_delegated_responder_authorization
Verify that a delegated OCSP responder certificate satisfies RFC 6960 §4.2.2.2: - `extKeyUsage` MUST contain `id-kp-OCSPSigning` (OID `1.3.6.1.5.5.7.
crate/crypto/src/openssl/ocsp.rs:353
↓ 4 callersFunctionverify_event
(event: &AuditEvent)
crate/access/src/audit/hash.rs:119
↓ 4 callersMethodversion
This operation requests the version of the server
crate/clients/client/src/kms_rest_client.rs:830
↓ 4 callersMethodvisit_str
(self, v: &str)
crate/kmip/src/ttlv/deserialize.rs:29
↓ 4 callersMethodwith_context
(self, op: O)
crate/clients/client/src/error/result.rs:25
↓ 4 callersFunctionwrapWithTryCatch
(s,{logErrors:o=!0}={})
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctionwrap_dek
Wrap [`DEK`] for [`USER`] on the Drive test resource and return the wrapped key.
crate/server/src/tests/google_cse/token_validation.rs:152
↓ 4 callersFunctionwrap_policy_error
Keep the KMIP error envelope: KMIP/invalid-request errors pass through, others become `Cryptographic_Failure`. No object UIDs in the message (EST retu
crate/server/src/core/operations/algorithm_policy.rs:156
↓ 4 callersFunctionwrapping_key_link_test
Verify the `wrapping_key_id` write path and `find_wrapped_by` query across every backend: a wrapped object must be discoverable by its wrapping key, w
crate/server_database/src/tests/database_tests.rs:881
↓ 4 callersMethodwrite_event_atomic
( &mut self, event: &AuditEvent, )
crate/server/src/core/audit/store.rs:1080
↓ 3 callersFunction$f
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunction$g
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionBh
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionCc
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionCh
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionEh
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionHj
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionIe
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionIk
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionIndexedIterable
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionIterable
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionJg
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionK
(s,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionKb
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionLg
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionMh
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionNe
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionNh
(s,o,i,u,_,w)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionQg
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionSetIterable
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionSetRef
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionSetSeq
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionSg
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionSh
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionTh
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionTr
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionWc
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionXa
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunction_arity
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunction_assertThisInitialized
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunction_curry1
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunction_highlight
(s,o,u,x)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunction_map
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersMethod_update_length
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionaccept_tls
Run the TLS handshake within `timeout` (total, not per `recv`), then switch the socket to the [`SOCKET_IO_TIMEOUT`] idle timeout.
crate/server/src/socket_server.rs:415
↓ 3 callersFunctionaccess_policy_from_attributes
Extract an `Covercrypt` Access policy from attributes
crate/crypto/src/crypto/mod.rs:112
↓ 3 callersMethodactivate
( &self, request: Activate, user: &UserId, )
crate/server/src/core/kms/kmip.rs:27
↓ 3 callersFunctionadd_attributes
(client: &SocketClient, key_id: &str)
crate/server/src/tests/ttlv_tests/add_attribute_2_1.rs:38
↓ 3 callersFunctionaes_gcm_decrypt
AES-GCM decrypt using the recovered CEK. Returns the plaintext on success, or an error if the authentication tag does not verify.
crate/server/src/routes/jose/aes_gcm.rs:92
↓ 3 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:103
↓ 3 callersFunctionah
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionaj
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersMethodalgorithm
(&self)
crate/clients/pkcs11/module/src/traits/certificate.rs:12
↓ 3 callersFunctionanchored
(pattern: &str)
crate/server/src/core/operations/certify/template.rs:117
↓ 3 callersMethodapply
(&self, data: &str)
crate/crypto/src/crypto/anonymization/word.rs:51
↓ 3 callersFunctionapplyPatch
(s,o,i,u,_)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersMethodapply_str
Applies the chosen hash method to the input data. # Arguments `data` - input string to be hashed. # Returns The base64-encoded hash string.
crate/crypto/src/crypto/anonymization/hash.rs:75
↓ 3 callersFunctionapprole_admin_url
Build an auth-verifier `AppRole` **admin** endpoint URL. The admin API is served **directly** by the auth-verifier under `/auth/approle` — never unde
crate/clients/clap/src/actions/vault/approle.rs:138
↓ 3 callersFunctionarb_protocol_version
()
crate/kmip/src/ttlv/tests/proptest_roundtrip.rs:26
↓ 3 callersFunctionarmored
(public: &SignedPublicKey)
crate/crypto/src/crypto/openpgp/mod.rs:1274
↓ 3 callersFunctionarrCopy
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionassert_pqc_export_raw_roundtrip
Generate a PQC key pair, export the private and public keys as Raw bytes, then export them again in default (PKCS#8) format and locally convert to Raw
crate/test_kms_server/src/pqc_export_tests.rs:44
↓ 3 callersFunctionassert_recovers_into_generation_1
Shared post-corruption assertions for seal-and-roll recovery: `resume()` must succeed (not fail closed), generation 0 must be byte-for-byte unchanged
crate/server_database/src/stores/audit/pgsql.rs:1060
↓ 3 callersFunctionassert_revoked
(cli_conf_path: &str, key_id: &str)
crate/clients/ckms/src/tests/shared/revoke.rs:46
↓ 3 callersFunctionassert_roundtrip
(kms: &Arc<KMS>, owner: &str, pk: &str, sk: &str)
crate/server/src/tests/hsm/hybrid_kem_dek.rs:252
↓ 3 callersFunctionauthz_token
An authorization token issued by the local identity provider.
crate/server/src/tests/google_cse/utils.rs:200
↓ 3 callersFunctionbad_request
(message: &str)
crate/server/src/routes/scep/mod.rs:43
↓ 3 callersFunctionbase64_response
Build a `200 OK` response whose body is the base64 encoding of `der` (RFC 7030 §4.1.3 / §4.2.3 `Content-Transfer-Encoding: base64`).
crate/server/src/routes/est/mod.rs:30
↓ 3 callersFunctionbase_ceremony_conf
Build a base `ClapConfig` for CO-related tests. - `require_ceremony`: when `true`, also sets `ceremony_secret = TEST_CEREMONY_SECRET` - `wrap_key_id`
crate/server/src/tests/key_ceremony_tests.rs:61
↓ 3 callersFunctionbatch_count_header
Build a minimal well-formed TTLV binary `RequestMessage` with a specific `BatchCount` field value and a given number of actual batch item payloads (he
crate/clients/clap/src/tests/serialization/batch_abuse.rs:59
↓ 3 callersFunctionbenchmark_key_uid
(delegated: bool, hsm_slot: usize, name: &str)
crate/clients/clap/src/actions/pkcs11/bench/setup.rs:144
↓ 3 callersMethodbind_text
(&mut self, value: impl Into<String>)
crate/server_database/src/stores/sql/locate_query.rs:271
↓ 3 callersFunctionbl
(s,o,i,u,_,w,x,C,j)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionbuildCreateSplitKeyRequest
(keyId: string, n: number)
ui/src/utils/splitKeyUtils.ts:10
← previousnext →1,401–1,500 of 12,829, ranked by callers