MCPcopy Create free account

hub / github.com/Cosmian/kms / functions

Functions12,829 in github.com/Cosmian/kms

↓ 1 callersFunctiontest_rsa_pkcs_oaep
(ctx: &TestsContext)
crate/clients/ckms/src/tests/hsm/encrypt_decrypt.rs:55
↓ 1 callersFunctiontest_rsa_pkcs_v15
(ctx: &TestsContext)
crate/clients/ckms/src/tests/hsm/encrypt_decrypt.rs:143
↓ 1 callersFunctiontest_server_side_unwrap
Issue #762 — A key wrapped by an HSM KEK can be unwrapped server-side via Import. The previous CLI path tried to export the HSM KEK locally (which fa
crate/server/src/tests/hsm/issues.rs:113
↓ 1 callersFunctiontest_ttlv_wrapped_kem_import
Keys created on a server without KEK, exported TTLV-wrapped by a software AES key, then imported (still wrapped) in a server whose KEK is in the HSM.
crate/server/src/tests/hsm/hybrid_kem_dek.rs:517
↓ 1 callersFunctiontest_unwrap_against_openssl_cli_inner
( tmp_path: &Path, secret_bytes: &[u8], )
crate/crypto/src/crypto/rsa/ckm_rsa_aes_key_wrap.rs:505
↓ 1 callersFunctiontest_unwrap_on_export
(ctx: &TestsContext)
crate/clients/ckms/src/tests/hsm/wrap_with_hsm_key.rs:127
↓ 1 callersFunctiontest_unwrap_with_hsm_key
Issue #762 — `ckms sym keys unwrap -i hsm::<slot>::<id>` must work for sensitive HSM keys. Before the fix the CLI attempted to export the HSM wrappin
crate/clients/ckms/src/tests/hsm/wrap_with_hsm_key.rs:176
↓ 1 callersFunctiontest_wrap_against_openssl_cli_inner
( tmp_path: &Path, secret_bytes: &[u8], )
crate/crypto/src/crypto/rsa/ckm_rsa_aes_key_wrap.rs:379
↓ 1 callersFunctiontest_wrap_with_aes_gcm
(ctx: &TestsContext)
crate/clients/ckms/src/tests/hsm/wrap_with_hsm_key.rs:24
↓ 1 callersFunctiontest_wrap_with_rsa_oaep
(ctx: &TestsContext)
crate/clients/ckms/src/tests/hsm/wrap_with_hsm_key.rs:77
↓ 1 callersFunctiontest_wrapped_by_backfill
Faithful Redis re-index test for the `wrapped_by::<uid>` Findex index. Seeds a **legacy** wrapped object — stored directly via `object_upsert`, so it
crate/server_database/src/stores/redis/additional_redis_findex_tests.rs:1099
↓ 1 callersFunctiontest_wrapped_ec_dek
()
crate/server/src/tests/hsm/ec_dek.rs:27
↓ 1 callersFunctiontest_wrapped_rsa_dek
()
crate/server/src/tests/hsm/rsa_dek.rs:28
↓ 1 callersFunctiontest_wrapped_secret_data
()
crate/server/src/tests/hsm/secret_data_dek.rs:23
↓ 1 callersFunctiontest_wrapped_symmetric_dek
()
crate/server/src/tests/hsm/symmetric_dek.rs:28
↓ 1 callersFunctiontime_stamp_value
(time_stamp: OffsetDateTime)
crate/kmip/src/ttlv/date_time.rs:63
↓ 1 callersFunctiontls_auth
(req: &ServiceRequest)
crate/server/src/middlewares/tls_auth.rs:128
↓ 1 callersFunctiontlv
Minimal DER TLV encoder (lengths < 65536) for hand-built CSRs.
crate/server/src/core/operations/certify/template.rs:985
↓ 1 callersFunctiontoBytes
(value: unknown)
ui/tests/integration/kms-secret-data-export-import-roundtrip.test.ts:32
↓ 1 callersFunctiontoBytes
(value: unknown)
ui/tests/integration/kms-locate-export-import-roundtrip.test.ts:32
↓ 1 callersFunctiontoBytes
(value: unknown)
ui/tests/integration/kms-certificate-export-import-roundtrip.test.ts:32
↓ 1 callersFunctiontoBytes
(value: unknown)
ui/tests/integration/kms-opaque-object-export-import-roundtrip.test.ts:32
↓ 1 callersMethodtoElement
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersMethodtoHTML
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctiontoNumber
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctiontoPropertyKey
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctiontoStr
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctiontoTypedData
Convert a string input to the correct JSON value based on data_type.
ui/src/actions/Tokenize/TokenizeNoise.tsx:18
↓ 1 callersFunctiontoUint8
(value: unknown)
ui/tests/integration/kms-key-flows.test.ts:11
↓ 1 callersFunctiontoUint8
(value: unknown)
ui/tests/integration/kms-azure-byok-import-export.test.ts:32
↓ 1 callersMethodto_byte
(self)
crate/kmip/src/ttlv/ttlv_struct.rs:228
↓ 1 callersMethodto_cryptographic_algorithm
Convert to KMIP `CryptographicAlgorithm`.
crate/clients/clap/src/actions/pqc/keys/create_key_pair.rs:97
↓ 1 callersFunctionto_http_request
( actix_req: &actix_web::HttpRequest, body: Bytes, )
crate/server/src/routes/aws_xks/sigv4_middleware.rs:415
↓ 1 callersFunctionto_json_value
Serialize a typed [`Jwk`] to a raw [`serde_json::Value`]. Returns `None` (logging the failure, but not propagating it) if serialization fails, so the
crate/server/src/routes/jwks.rs:223
↓ 1 callersMethodto_kem_algorithm
Convert to `KemAlgorithm` for `ConfigurableKEM` variants. Returns `None` for standard PQC algorithms.
crate/clients/clap/src/actions/pqc/keys/create_key_pair.rs:128
↓ 1 callersFunctionto_qualified_uids
Convert a list of rows into a list of qualified uids
crate/server_database/src/stores/sql/mysql.rs:1627
↓ 1 callersFunctionto_rsa_private_key
Convert an openssl RSA key to a KMIP RSA Private Key.
crate/crypto/src/crypto/rsa/operation.rs:134
↓ 1 callersFunctionto_rsa_public_key
Convert to RSA KMIP Public Key.
crate/crypto/src/crypto/rsa/operation.rs:77
↓ 1 callersMethodto_ttlv
Converts the `KeyMaterial` to a TTLV object. This is used to calculate the Digest
crate/kmip/src/kmip_2_1/kmip_data_structures.rs:1127
↓ 1 callersMethodto_u32
This conversion is idiomatic for items marked with #[repr(u32)]
crate/kmip/src/ttlv/wire/kmip_tag.rs:24
↓ 1 callersMethodto_vendor_attribute
Convert to a `VendorAttribute` using the given vendor identification.
crate/crypto/src/crypto/dh_shared_keys.rs:23
↓ 1 callersFunctionto_wire_bytes
Serialize a `RequestMessage` to binary TTLV bytes for the `/kmip` endpoint.
crate/clients/clap/src/actions/bench/transport.rs:169
↓ 1 callersFunctiontoken
(header: &str)
crate/server/src/middlewares/auth_verifier/token.rs:307
↓ 1 callersFunctiontoken_from
A token whose payload carries `iss` (header and signature are irrelevant here).
crate/server/src/middlewares/jwt/jwks.rs:591
↓ 1 callersFunctiontopMenu
(page: Page, key: string)
ui/tests/e2e/fips-menu.spec.ts:25
↓ 1 callersMethodtouch_validated
Mark a cached entry as validated against the DB, updating its `last_validated` timestamp.
crate/server_database/src/core/object_cache.rs:111
↓ 1 callersMethodtouches
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctiontrace_certificate
Debug the details of a given X.509 certificate along with a debug message. This function retrieves the Subject Key Identifier (SKI) and Authority Key
crate/server/src/core/operations/validate.rs:314
↓ 1 callersMethodtransclude
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctiontransformErrors
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctiontransit_curve_from_key_type
Map a Vault key type string to a KMS `RecommendedCurve` (for EC keys).
crate/server/src/routes/spire/transit.rs:265
↓ 1 callersFunctiontransit_hash_alg_to_kmip
Map a Vault `hash_algorithm` URL path segment to a KMIP `HashingAlgorithm`.
crate/server/src/routes/spire/transit.rs:283
↓ 1 callersFunctiontransit_key_type_from_pkey
Derive the Vault transit key type string from an OpenSSL `PKey<Public>`. Reading the curve from the actual key material is authoritative; the `find`
crate/server/src/routes/spire/transit.rs:222
↓ 1 callersFunctiontransit_rsa_bits_from_key_type
Map a Vault key type string to an RSA bit count.
crate/server/src/routes/spire/transit.rs:274
↓ 1 callersFunctiontraversal_filter
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctiontrigger_crl_regeneration
Trigger CRL regeneration for `issuer_id` after a certificate revocation. The CRL is generated by the server itself: the signing key is authorized as
crate/server/src/core/operations/revoke.rs:408
↓ 1 callersFunctiontrim_padded_ck_string
Truncates a fixed-size, space-padded PKCS#11 UTF8 byte array (e.g. `manufacturerID`, `libraryDescription`) at the first trailing space, per PKCS#11 v3
crate/clients/clap/src/actions/pkcs11/verify.rs:519
↓ 1 callersFunctiontruncate_and_continue
Truncates the audit file to `keep_len` (discarding a torn tail write) and appends an `audit:torn-write-recovered` sentinel as the first event of this
crate/server/src/core/audit/recovery.rs:435
↓ 1 callersFunctiontryDecode
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctiontrySubscribe
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctiontryUnsubscribe
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctiontry_acquire_lock
Attempts to acquire the advisory lock without blocking. Dropping the returned file releases the lock.
crate/server/src/core/audit/file_sink.rs:320
↓ 1 callersMethodtry_atomic
One attempt at applying `operations` atomically. Returns `Retry` on a lost CAS race; any other error (including a `Create` conflict) is returned direc
crate/server_database/src/stores/redis/redis_with_findex.rs:530
↓ 1 callersFunctiontry_covercrypt_rekey
Attempt Covercrypt-specific rekey. Returns `Some(response)` if handled, `None` otherwise.
crate/server/src/core/operations/rekey/keypair/covercrypt.rs:27
↓ 1 callersFunctiontry_mac_params
Build KMIP parameters for MAC operations.
crate/server/src/routes/jose/algorithm.rs:297
↓ 1 callersFunctiontry_run_as_service
Attempt to register with the Windows SCM. Returns `Ok(())` if the SCM dispatcher started (and later returned after service stop). Returns `Err` if th
crate/server/src/windows_service.rs:41
↓ 1 callersMethodtry_sign_message
Signs through the session's persistent message context. `Ok(None)` means the message path is disabled for this slot or the token rejected the mechanis
crate/hsm/base_hsm/src/session/message_sign.rs:116
↓ 1 callersFunctiontry_u8_into_bool
Borrowed from: https://github.com/parallaxsecond/rust-cryptoki/blob/89055f2a30e30d07a99e5904e9231d743c75d8e5/cryptoki/src/object.rs#L769
crate/clients/pkcs11/module/src/core/attribute.rs:389
↓ 1 callersMethodtry_verify_message
Verifies through the session's persistent message context (`C_VerifyMessage`). `Ok(None)`: message path disabled or mechanism rejected; caller uses `C
crate/hsm/base_hsm/src/session/message_verify.rs:17
↓ 1 callersFunctiontslib_es6_extends
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionttlv_wrapped_import
(alg: Alg)
crate/server/src/tests/hsm/hybrid_kem_dek.rs:524
↓ 1 callersMethodtype
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctiontypeCast
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctiontypeOf
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctiontype_cast
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctiontype_casters_boolean
(s,o=!1)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctiontype_getType
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctiontypeof_typeof
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionucs2Write
(s,o,i,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionui
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersMethodui_login_enabled
(&self)
crate/server/src/config/command_line/auth_verifier_config.rs:85
↓ 1 callersMethoduid
(&self)
crate/server_database/src/stores/redis/objects_db.rs:359
↓ 1 callersFunctionunconstruct
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionundelegate_ca_key
Revoke the enrollment delegation on the CA private key.
crate/server/src/tests/enrollment_tests.rs:219
↓ 1 callersFunctionunescapePathComponent
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionunique
()
ui/tests/integration/kms-azure-byok-import-export.test.ts:53
↓ 1 callersFunctionuniqueTagSuffix
()
ui/tests/integration/kms-key-flows.test.ts:75
↓ 1 callersMethodunique_identifier
(&self)
crate/server/src/core/operations/certify/issuer.rs:39
↓ 1 callersFunctionunlock
({className:s=null,width:o=20,height:i=20,...u})
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersMethodunobserve
()
ui/tests/unit/setup.ts:54
↓ 1 callersFunctionunregister
()
crate/clients/clap/src/actions/cng.rs:101
↓ 1 callersMethodunregister_object_store
Unregister the default objects store or a store for the given prefix
crate/server_database/src/core/database_objects.rs:108
↓ 1 callersFunctionunverified_issuer
The unverified `iss` claim of a compact JWT.
crate/server/src/middlewares/jwt/jwks.rs:240
↓ 1 callersFunctionunwrap
Unwrap a key using a wrapping key # Arguments `unwrapping_key` - the unwrapping key `key_wrapping_data` - the key wrapping data `wrapped_key` - the w
crate/crypto/src/crypto/wrap/unwrap_key.rs:143
↓ 1 callersFunctionunwrap
( request: Json<operations::UnwrapRequest>, cse_config: Data<Option<GoogleCseConfig>>, kms: Data<A
crate/server/src/routes/google_cse/mod.rs:232
↓ 1 callersFunctionunwrap
( cli_conf_path: &str, sub_command: &str, key_file_in: &Path, key_file_out: Option<&PathBuf>,
crate/clients/ckms/src/tests/shared/wrap_unwrap.rs:83
↓ 1 callersMethodunwrap_aes_key_with_rsa_oaep
( &self, unwrapping_key_handle: CK_OBJECT_HANDLE, wrapped_aes_key: &[u8], aes_
crate/hsm/base_hsm/src/session/rsa.rs:302
↓ 1 callersFunctionunwrap_using_crypto_oracle
Unwrap a key block with the authorized HSM key `unwrapping_key_uid` (see [`authorize_oracle_unwrap`]) using the crypto oracle registered for `prefix`.
crate/server/src/core/wrapping/unwrap.rs:347
↓ 1 callersFunctionunwrap_using_kms
Unwrap a key block with an authorized database key (see [`authorized_kms_unwrapping_key`]).
crate/server/src/core/wrapping/unwrap.rs:284
↓ 1 callersMethodunwrap_via_server
Unwrap a key stored in a local KMIP JSON TTLV file by delegating the cryptographic operation to the KMS server. This path is used when the unwrapping
crate/clients/clap/src/actions/shared/unwrap_key.rs:147
← previousnext →5,601–5,700 of 12,829, ranked by callers