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
↓ 2 callers
Function
_has
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
_includes
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
_includesWith
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
_instanceof
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
_isString
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
_nth
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
_objectKeys
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
_quote
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Method
_setDefaults
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Method
_toOtherCase
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
_toPropertyKey
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
_toString_toString
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
_typeof
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
ab
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
access_structure_from_attributes
Extract an `Covercrypt` access structure from attributes
crate/crypto/src/crypto/cover_crypt/attributes.rs:40
↓ 2 callers
Function
access_structure_from_str
(access_structure_str: &str)
crate/crypto/src/crypto/cover_crypt/access_structure.rs:15
↓ 2 callers
Method
activate
This operation requests the server to activate a Managed Object currently in Pre-Active state.
crate/clients/client/src/kms_rest_client.rs:125
↓ 2 callers
Function
ad
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
add
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
addToSet
(s,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
add_attr
SAFETY: OpenSSL FFI; justified at each unsafe block
crate/crypto/src/openssl/scep_cms.rs:400
↓ 2 callers
Method
add_link
Add a link to an object without removing existing links of the same type.
crate/kmip/src/kmip_2_1/kmip_attributes.rs:688
↓ 2 callers
Function
add_link_to_attributes
( object_with_metadata: &mut ObjectWithMetadata, link_type: LinkType, linked_object_identifier: co
crate/server/src/core/operations/derive_key.rs:651
↓ 2 callers
Method
add_live
Record a liveness change of `delta` for an object; key-type objects also move the active-key counter.
crate/server_database/src/stores/redis/redis_with_findex.rs:186
↓ 2 callers
Method
add_to_find_objects_ctx
Add to the unread index
crate/clients/pkcs11/module/src/sessions.rs:614
↓ 2 callers
Function
aead_and_digest
(curve: &EcGroupRef)
crate/crypto/src/crypto/elliptic_curves/ecies/standard_curves.rs:162
↓ 2 callers
Method
aead_encrypt
( &self, key: &SymmetricKey<{ Aes256Gcm::KEY_LENGTH }>, ptx: &[u8], ad: Option
crate/crypto/src/crypto/cover_crypt/encryption.rs:120
↓ 2 callers
Function
aes256_ecb_block
(key: &[u8; KEY_LEN], block: &[u8; BLOCK_LEN])
crate/crypto/src/crypto/fpe/ff1.rs:19
↓ 2 callers
Function
aes_256_key_request
( block_cipher_mode: BlockCipherMode, tags: T, )
crate/server/src/tests/bulk_encrypt_decrypt_tests.rs:137
↓ 2 callers
Function
aes_cbc_multi_part
Single-operation multi-part AES-CBC (`C_EncryptInit` + `C_EncryptUpdate`* + `C_EncryptFinal`, and the decrypt counterpart) must be byte-identical to t
crate/hsm/base_hsm/src/tests_shared.rs:870
↓ 2 callers
Function
aes_cbc_params
AES-CBC parameters. Used by the HSM-resident encrypt bench (`--hsm`) — the oracle supports `CryptoAlgorithm::AesCbc` alongside `AesGcm`, unlike the so
crate/clients/clap/src/actions/bench/helpers.rs:182
↓ 2 callers
Function
aes_gcm_encrypt
AES-GCM encrypt using an ephemeral CEK. Returns `(ciphertext, iv, tag)` where: - `iv` is a freshly generated 12-byte random nonce - `tag` is the 16-b
crate/server/src/routes/jose/aes_gcm.rs:54
↓ 2 callers
Function
aes_gcm_round_trip
AES-GCM encrypt → decrypt round-trip for any key size and `enc` algorithm string.
crate/server/src/tests/jose/common.rs:27
↓ 2 callers
Function
aes_key_block
(key_value: &[u8])
crate/kmip/src/ttlv/tests/kmip_2_1_tests.rs:59
↓ 2 callers
Function
aes_key_unwrap
AES Key Unwrap with Padding (RFC 5649) using OpenSSL
crate/clients/clap/src/tests/shared/openssl_utils.rs:126
↓ 2 callers
Method
aes_key_unwrap
Unwrap AES-KW or AES-KWP `wrapped` bytes under the AES key `kek`.
crate/hsm/base_hsm/src/session/aes_key_wrap.rs:121
↓ 2 callers
Method
aes_key_wrap
Wrap `data` under the AES key `kek` with AES-KW or AES-KWP.
crate/hsm/base_hsm/src/session/aes_key_wrap.rs:64
↓ 2 callers
Function
aes_key_wrap_misrouted
()
crate/hsm/base_hsm/src/session/session_impl.rs:204
↓ 2 callers
Function
algorithms_for_slot
Query a slot's supported cryptographic algorithms, computed once per slot and cached.
crate/hsm/base_hsm/src/base_hsm.rs:55
↓ 2 callers
Function
all_modes
Expands the `all` benchmark mode (before the build-flavour filter applied by [`expand_bench_mode`]).
crate/clients/clap/src/actions/pkcs11/bench/load.rs:101
↓ 2 callers
Function
allocUnsafe
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
allocate_dynamic_port
(config: &mut ClapConfig)
crate/test_kms_server/src/test_server.rs:1252
↓ 2 callers
Function
allow_response
(api_version: &str, uid: &str)
crate/clients/k8s/operator/src/webhook.rs:119
↓ 2 callers
Method
allows_variable_nonce
(&self)
crate/crypto/src/crypto/symmetric/symmetric_ciphers.rs:287
↓ 2 callers
Method
and
(&self, vi: Self)
crate/kmip/src/kmip_2_1/kmip_types.rs:1889
↓ 2 callers
Function
api_token_middleware
Creates the API token authentication middleware. Validates API tokens on each request and injects [`AuthenticatedUser`] into the request extensions o
crate/server/src/middlewares/api_token/api_token_middleware.rs:29
↓ 2 callers
Function
appendClass
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Method
apply
Apply these options to rows already fetched, for stores that cannot push them into their own query. `requested_state` is the explicit state filter of
crate/interfaces/src/stores/objects_store.rs:66
↓ 2 callers
Method
apply
Apply rotation policy attributes via `SetAttribute` calls on the given key ID. When `--enroll-keyset` is set, the keyset name is automatically set to
crate/clients/clap/src/actions/shared/rotation_policy_args.rs:54
↓ 2 callers
Function
applyNumberConstraints
(s,o={})
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
apply_extensions
Conditionally append the RFC 9608 `id-ce-noRevAvail` extension. The extension is added only when **all** of the following hold: - The certificate is
crate/server/src/core/operations/certify/rfc9608.rs:41
↓ 2 callers
Method
apply_extractable
Apply a new `Extractable` value and update `NeverExtractable` accordingly. `NeverExtractable` is the logical complement of `Extractable` the first ti
crate/kmip/src/kmip_2_1/kmip_attributes.rs:532
↓ 2 callers
Function
apply_fail_mode
Applies a pending injected failure; returns non-zero when `*rv` was set. */
crate/hsm/base_hsm/tests/fixtures/minimal_pkcs11.c:121
↓ 2 callers
Function
apply_limit
Append `LIMIT` when `options.limit` is set. Must be the last clause.
crate/server_database/src/stores/sql/locate_query.rs:535
↓ 2 callers
Function
apply_state_condition
Append the state filter: an exact match when `state` is set, otherwise the exclusion of destroyed objects when `options.exclude_destroyed` is set. Ret
crate/server_database/src/stores/sql/locate_query.rs:503
↓ 2 callers
Function
arb_crypto_length
()
crate/kmip/src/ttlv/tests/proptest_roundtrip.rs:61
↓ 2 callers
Function
arrayClone
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
as_keyset_ref
Interpret an [`ObjectHandle`] as a keyset reference (`name`, `name@latest`, `name@N`, …). Returns `None` when the identifier is not keyset syntax (ta
crate/server/src/core/uid_utils.rs:38
↓ 2 callers
Method
as_str
(self)
crate/interfaces/src/stores/audit_sink.rs:53
↓ 2 callers
Function
assembleLineNumberStyles
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
assemble_csr
Insert the externally produced `signature` in a request prepared by [`prepare_csr`].
crate/server/src/core/certificate/oracle_signing.rs:326
↓ 2 callers
Function
assemble_ocsp_response
Insert `signature` in `basic` and return the DER of the `OCSPResponse` wrapping it.
crate/server/src/core/certificate/oracle_signing.rs:474
↓ 2 callers
Function
assertSize
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
assert_call
(mock: &MockGoogle, method: &str, suffix: &str)
crate/clients/ckms/src/tests/google_cmd/gmail_api.rs:36
↓ 2 callers
Function
assert_chain_invalid_at
Validate a chain with an explicit `validity_time`. Expects an error (invalid / expired).
crate/server/src/tests/test_validate.rs:191
↓ 2 callers
Function
assert_kek_alias_is_no_oracle
A user holding only `Create` and a ciphertext `wrapped` under the server KEK `kek` cannot have it decrypted through an alias (`alias_object`, a public
crate/server/src/tests/hsm/fake_hsm_authz.rs:643
↓ 2 callers
Function
assert_kem_encrypt_contract
The KEM `Encrypt` contract: `IVCounterNonce` is empty and `Data` is the serialized `(shared secret, encapsulation)` tuple. Only its encapsulation comp
crate/server/src/tests/configurable_kem_tests.rs:106
↓ 2 callers
Function
assert_key_usage_not_contains
(x509: &X509, usage: &str)
crate/test_kms_server/src/certify_tests.rs:184
↓ 2 callers
Function
assert_openssl3_cli
()
crate/crypto/src/crypto/rsa/ckm_rsa_aes_key_wrap.rs:320
↓ 2 callers
Function
assert_read_only
Add/Set refuse with `Read_Only_Attribute`, Modify/Delete with `Attribute_Read_Only`.
crate/server/src/tests/test_always_sensitive.rs:60
↓ 2 callers
Function
assert_success
Assert that the response indicates success. For `ResponseMessage` envelopes, checks `ResultStatus` == "Success". For bare operation responses (e.g. `
crate/test_kms_server/src/vector_runner.rs:676
↓ 2 callers
Method
atomic_script
Execute a batch of [`ScriptOp`]s atomically: either every precondition holds and every write is applied, or nothing is written. The script touches se
crate/server_database/src/stores/redis/objects_db.rs:276
↓ 2 callers
Function
attribute_string_bytes
Read the first value of an `X509_ATTRIBUTE` that holds a string-like ASN.1 type (`PrintableString`, `UTF8String`, `IA5String` or `OCTET STRING`). Ret
crate/crypto/src/openssl/cms_ffi.rs:128
↓ 2 callers
Function
attributes
(kms: &KMS, owner: &UserId, uid: &str)
crate/server/src/tests/configurable_kem_tests.rs:65
↓ 2 callers
Method
attributes
Returns the `Attributes` of that key block if any, an error otherwise
crate/kmip/src/kmip_2_1/kmip_data_structures.rs:488
↓ 2 callers
Function
attrs_to_algorithm
Convert KMS `Attributes` to a `KeyAlgorithm`.
crate/clients/cng/src/provider.rs:1480
↓ 2 callers
Function
attrs_to_usage
Convert KMS `Attributes` to `KeyUsage` flags.
crate/clients/cng/src/provider.rs:1508
↓ 2 callers
Function
audit_enrollment
Record one enrollment attempt in the tamper-evident audit store (when enabled) and in the log: `info` for a success, `warn` for a failure. `principal`
crate/server/src/routes/enrollment.rs:126
↓ 2 callers
Function
audit_enrollment_result
Audit the result of an enrollment handler (see [`audit_enrollment`]).
crate/server/src/routes/enrollment.rs:180
↓ 2 callers
Function
audit_url
Live audit database URL — same convention and default as the `cosmian_kms_server_database` audit live tests.
crate/server/src/core/audit/store.rs:1287
↓ 2 callers
Function
auth_verifier_session_user
The user of a valid Auth Verifier SAML session cookie, when SAML sign-on is enabled.
crate/server/src/routes/ui_auth.rs:624
↓ 2 callers
Method
authenticated_data
(&self)
crate/clients/clap/src/actions/fpe/mod.rs:93
↓ 2 callers
Function
authn_token_with_aud
An authentication token (`aud` is mandatory for the server's claim parser).
crate/server/src/tests/google_cse/utils.rs:155
↓ 2 callers
Function
authorize_oracle_unwrap
Check `user` may unwrap with the HSM key `unwrapping_key_uid` and return the key to decrypt with (a public key UID is stripped of its `_pk` suffix).
crate/server/src/core/wrapping/unwrap.rs:323
↓ 2 callers
Function
authorize_stored_unwrap
Check that `user` may unwrap the stored `object`, without unwrapping it. Makes the same decision as [`unwrap_stored_object`], recursively for unwrapp
crate/server/src/core/wrapping/unwrap.rs:61
↓ 2 callers
Function
authorize_unwrapping_key
( kms: &KMS, user: &UserId, unwrapping_key_uid: &str, allow_server_kek: bool, )
crate/server/src/core/wrapping/unwrap.rs:87
↓ 2 callers
Function
authorized_kms_unwrapping_key
Fetch the database key `unwrapping_key_uid` (the private key for a public key or certificate) and check `user` may unwrap with it: active, `UnwrapKey`
crate/server/src/core/wrapping/unwrap.rs:188
↓ 2 callers
Function
azureKekTags
(kid: string)
ui/src/utils/azureKek.ts:1
↓ 2 callers
Method
backfill_certificate_serial_tags
Add the `_serial=<HEX>` tag to certificates stored before that tag existed. Candidates come from the `_cert` Findex keyword. Updating the tags throug
crate/server_database/src/stores/redis/redis_with_findex.rs:399
↓ 2 callers
Method
backfill_wrapped_by_index
Backfill the `wrapped_by::<uid>` Findex index for wrapped objects that predate that index. `find_wrapped_by` (used by key rotation) relies on a `wrap
crate/server_database/src/stores/redis/redis_with_findex.rs:364
↓ 2 callers
Function
bad
(msg: &str)
crate/server/src/routes/jose/mod.rs:67
↓ 2 callers
Function
base64ToBytes
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
base64UrlEncode
(bytes: Uint8Array)
ui/src/utils/azureByok.ts:27
↓ 2 callers
Function
baseAry
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
batch_operations
Uses the KMIP Message interface to send a batch of operations to the KMS. The operations are sent in a single request and the response is a list of re
crate/clients/client/src/batch_utils.rs:22
↓ 2 callers
Function
bb
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
bg
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
bh
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
biguint_to_integer_text
( value: &BigUint, alphabet: &Alphabet, digits: usize, )
crate/crypto/src/crypto/fpe/kmip_fpe.rs:132
↓ 2 callers
Method
bind_i64
(&mut self, value: i64)
crate/server_database/src/stores/sql/locate_query.rs:276
← previous
next →
2,001–2,100 of 12,829, ranked by callers