Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Cosmian/kms
/ functions
Functions
12,829 in github.com/Cosmian/kms
⨍
Functions
12,829
◇
Types & classes
2,591
↓ 1 callers
Function
test_rsa_pkcs_oaep
(ctx: &TestsContext)
crate/clients/ckms/src/tests/hsm/encrypt_decrypt.rs:55
↓ 1 callers
Function
test_rsa_pkcs_v15
(ctx: &TestsContext)
crate/clients/ckms/src/tests/hsm/encrypt_decrypt.rs:143
↓ 1 callers
Function
test_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 callers
Function
test_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 callers
Function
test_unwrap_against_openssl_cli_inner
( tmp_path: &Path, secret_bytes: &[u8], )
crate/crypto/src/crypto/rsa/ckm_rsa_aes_key_wrap.rs:505
↓ 1 callers
Function
test_unwrap_on_export
(ctx: &TestsContext)
crate/clients/ckms/src/tests/hsm/wrap_with_hsm_key.rs:127
↓ 1 callers
Function
test_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 callers
Function
test_wrap_against_openssl_cli_inner
( tmp_path: &Path, secret_bytes: &[u8], )
crate/crypto/src/crypto/rsa/ckm_rsa_aes_key_wrap.rs:379
↓ 1 callers
Function
test_wrap_with_aes_gcm
(ctx: &TestsContext)
crate/clients/ckms/src/tests/hsm/wrap_with_hsm_key.rs:24
↓ 1 callers
Function
test_wrap_with_rsa_oaep
(ctx: &TestsContext)
crate/clients/ckms/src/tests/hsm/wrap_with_hsm_key.rs:77
↓ 1 callers
Function
test_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 callers
Function
test_wrapped_ec_dek
()
crate/server/src/tests/hsm/ec_dek.rs:27
↓ 1 callers
Function
test_wrapped_rsa_dek
()
crate/server/src/tests/hsm/rsa_dek.rs:28
↓ 1 callers
Function
test_wrapped_secret_data
()
crate/server/src/tests/hsm/secret_data_dek.rs:23
↓ 1 callers
Function
test_wrapped_symmetric_dek
()
crate/server/src/tests/hsm/symmetric_dek.rs:28
↓ 1 callers
Function
time_stamp_value
(time_stamp: OffsetDateTime)
crate/kmip/src/ttlv/date_time.rs:63
↓ 1 callers
Function
tls_auth
(req: &ServiceRequest)
crate/server/src/middlewares/tls_auth.rs:128
↓ 1 callers
Function
tlv
Minimal DER TLV encoder (lengths < 65536) for hand-built CSRs.
crate/server/src/core/operations/certify/template.rs:985
↓ 1 callers
Function
toBytes
(value: unknown)
ui/tests/integration/kms-secret-data-export-import-roundtrip.test.ts:32
↓ 1 callers
Function
toBytes
(value: unknown)
ui/tests/integration/kms-locate-export-import-roundtrip.test.ts:32
↓ 1 callers
Function
toBytes
(value: unknown)
ui/tests/integration/kms-certificate-export-import-roundtrip.test.ts:32
↓ 1 callers
Function
toBytes
(value: unknown)
ui/tests/integration/kms-opaque-object-export-import-roundtrip.test.ts:32
↓ 1 callers
Method
toElement
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Method
toHTML
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
toNumber
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
toPropertyKey
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
toStr
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
toTypedData
Convert a string input to the correct JSON value based on data_type.
ui/src/actions/Tokenize/TokenizeNoise.tsx:18
↓ 1 callers
Function
toUint8
(value: unknown)
ui/tests/integration/kms-key-flows.test.ts:11
↓ 1 callers
Function
toUint8
(value: unknown)
ui/tests/integration/kms-azure-byok-import-export.test.ts:32
↓ 1 callers
Method
to_byte
(self)
crate/kmip/src/ttlv/ttlv_struct.rs:228
↓ 1 callers
Method
to_cryptographic_algorithm
Convert to KMIP `CryptographicAlgorithm`.
crate/clients/clap/src/actions/pqc/keys/create_key_pair.rs:97
↓ 1 callers
Function
to_http_request
( actix_req: &actix_web::HttpRequest, body: Bytes, )
crate/server/src/routes/aws_xks/sigv4_middleware.rs:415
↓ 1 callers
Function
to_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 callers
Method
to_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 callers
Function
to_qualified_uids
Convert a list of rows into a list of qualified uids
crate/server_database/src/stores/sql/mysql.rs:1627
↓ 1 callers
Function
to_rsa_private_key
Convert an openssl RSA key to a KMIP RSA Private Key.
crate/crypto/src/crypto/rsa/operation.rs:134
↓ 1 callers
Function
to_rsa_public_key
Convert to RSA KMIP Public Key.
crate/crypto/src/crypto/rsa/operation.rs:77
↓ 1 callers
Method
to_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 callers
Method
to_u32
This conversion is idiomatic for items marked with #[repr(u32)]
crate/kmip/src/ttlv/wire/kmip_tag.rs:24
↓ 1 callers
Method
to_vendor_attribute
Convert to a `VendorAttribute` using the given vendor identification.
crate/crypto/src/crypto/dh_shared_keys.rs:23
↓ 1 callers
Function
to_wire_bytes
Serialize a `RequestMessage` to binary TTLV bytes for the `/kmip` endpoint.
crate/clients/clap/src/actions/bench/transport.rs:169
↓ 1 callers
Function
token
(header: &str)
crate/server/src/middlewares/auth_verifier/token.rs:307
↓ 1 callers
Function
token_from
A token whose payload carries `iss` (header and signature are irrelevant here).
crate/server/src/middlewares/jwt/jwks.rs:591
↓ 1 callers
Function
topMenu
(page: Page, key: string)
ui/tests/e2e/fips-menu.spec.ts:25
↓ 1 callers
Method
touch_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 callers
Method
touches
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
trace_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 callers
Method
transclude
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
transformErrors
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
transit_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 callers
Function
transit_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 callers
Function
transit_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 callers
Function
transit_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 callers
Function
traversal_filter
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
trigger_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 callers
Function
trim_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 callers
Function
truncate_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 callers
Function
tryDecode
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
trySubscribe
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
tryUnsubscribe
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
try_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 callers
Method
try_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 callers
Function
try_covercrypt_rekey
Attempt Covercrypt-specific rekey. Returns `Some(response)` if handled, `None` otherwise.
crate/server/src/core/operations/rekey/keypair/covercrypt.rs:27
↓ 1 callers
Function
try_mac_params
Build KMIP parameters for MAC operations.
crate/server/src/routes/jose/algorithm.rs:297
↓ 1 callers
Function
try_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 callers
Method
try_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 callers
Function
try_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 callers
Method
try_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 callers
Function
tslib_es6_extends
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
ttlv_wrapped_import
(alg: Alg)
crate/server/src/tests/hsm/hybrid_kem_dek.rs:524
↓ 1 callers
Method
type
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
typeCast
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
typeOf
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
type_cast
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
type_casters_boolean
(s,o=!1)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
type_getType
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
typeof_typeof
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
ucs2Write
(s,o,i,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
ui
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Method
ui_login_enabled
(&self)
crate/server/src/config/command_line/auth_verifier_config.rs:85
↓ 1 callers
Method
uid
(&self)
crate/server_database/src/stores/redis/objects_db.rs:359
↓ 1 callers
Function
unconstruct
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
undelegate_ca_key
Revoke the enrollment delegation on the CA private key.
crate/server/src/tests/enrollment_tests.rs:219
↓ 1 callers
Function
unescapePathComponent
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Function
unique
()
ui/tests/integration/kms-azure-byok-import-export.test.ts:53
↓ 1 callers
Function
uniqueTagSuffix
()
ui/tests/integration/kms-key-flows.test.ts:75
↓ 1 callers
Method
unique_identifier
(&self)
crate/server/src/core/operations/certify/issuer.rs:39
↓ 1 callers
Function
unlock
({className:s=null,width:o=20,height:i=20,...u})
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callers
Method
unobserve
()
ui/tests/unit/setup.ts:54
↓ 1 callers
Function
unregister
()
crate/clients/clap/src/actions/cng.rs:101
↓ 1 callers
Method
unregister_object_store
Unregister the default objects store or a store for the given prefix
crate/server_database/src/core/database_objects.rs:108
↓ 1 callers
Function
unverified_issuer
The unverified `iss` claim of a compact JWT.
crate/server/src/middlewares/jwt/jwks.rs:240
↓ 1 callers
Function
unwrap
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 callers
Function
unwrap
( request: Json<operations::UnwrapRequest>, cse_config: Data<Option<GoogleCseConfig>>, kms: Data<A
crate/server/src/routes/google_cse/mod.rs:232
↓ 1 callers
Function
unwrap
( 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 callers
Method
unwrap_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 callers
Function
unwrap_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 callers
Function
unwrap_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 callers
Method
unwrap_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
← previous
next →
5,601–5,700 of 12,829, ranked by callers