Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Cosmian/kms
/ functions
Functions
10,279 in github.com/Cosmian/kms
⨍
Functions
10,279
◇
Types & classes
2,373
↓ 13 callers
Method
valueOf
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 12 callers
Function
G
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 12 callers
Function
Lr
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 12 callers
Function
certify_keypair
Helper: certify with `generate_key_pair=true`, optionally CA-signed.
crate/test_kms_server/src/certify_tests.rs:201
↓ 12 callers
Function
check_ecc_mask_against_flags
Check that bits set in `mask` are only bits set in `flags`. If any bit set in `mask` is not set in `flags`, raise an error. If `mask` is None, raise
crate/crypto/src/crypto/elliptic_curves/operation.rs:41
↓ 12 callers
Function
cleanup_key_pair
Cleanup helper: revoke + destroy a key pair (best-effort).
crate/clients/cng/src/tests.rs:37
↓ 12 callers
Function
co_create_key
Helper to create a symmetric key (CO operation)
crate/clients/ckms/src/tests/rbac_tests.rs:33
↓ 12 callers
Function
co_destroy_key
Helper to destroy a key (CO operation — revokes first, then destroys)
crate/clients/ckms/src/tests/rbac_tests.rs:88
↓ 12 callers
Function
create_aes_key
Create an AES-256 key and return its UID.
crate/server/src/tests/jose/key_state.rs:40
↓ 12 callers
Function
create_test_ca
Generate a self-signed CA certificate + private key for testing.
crate/crypto/src/openssl/ocsp.rs:1064
↓ 12 callers
Method
default
()
crate/server/src/config/wizard/cert_gen.rs:56
↓ 12 callers
Function
deny
(reason: ErrorReason, msg: impl Into<String>)
crate/server/src/core/operations/algorithm_policy.rs:480
↓ 12 callers
Method
deserialize
(deserializer: D)
crate/kmip/src/ttlv/interval.rs:74
↓ 12 callers
Function
dummy_config
A minimal OAuth2 config that refers to a reachable-but-wrong token URL (127.0.0.1:1) so that the token-exchange step always fails quickly without hang
crate/clients/client/src/http_client/tests.rs:364
↓ 12 callers
Function
enforce
( params: &ServerParams, operation_tag: &str, op: &Operation, )
crate/server/src/tests/kmip_policy/helpers.rs:60
↓ 12 callers
Method
generate_rsa_key_pair
Generate RSA key pair and return the private and public key handles in this order If exportable is set to `false`, the `sensitive` flag is set to tru
crate/hsm/base_hsm/src/session/rsa.rs:42
↓ 12 callers
Method
get_object_handle
Retrieve the object handle for a given object ID from the HSM. This function attempts to locate the handle of an object (such as a key) in the HSM by
crate/hsm/base_hsm/src/session/session_impl.rs:354
↓ 12 callers
Method
get_object_store
Return the object store for the given `uid` This function retrieves the appropriate object store based on the prefix of the `uid`. Prefix matching u
crate/server_database/src/core/database_objects.rs:140
↓ 12 callers
Function
init
Initialize test environment once before any tests run
crate/crypto/src/lib.rs:194
↓ 12 callers
Function
revoke
( cli_conf_path: &str, sub_command: &str, key_id: &str, revocation_reason: &str, )
crate/clients/ckms/src/tests/shared/revoke.rs:23
↓ 12 callers
Function
root_dir
()
crate/test_kms_server/src/test_server.rs:141
↓ 12 callers
Function
serialize_and_deserialize
(ttlv: &TTLV)
crate/kmip/src/ttlv/wire/ttlv_bytes_deserializer.rs:231
↓ 12 callers
Function
sign_verify_roundtrip
(algorithm_name: &str)
crate/crypto/src/crypto/pqc/slh_dsa.rs:54
↓ 12 callers
Function
stringify
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 12 callers
Function
test_client
Start (or reuse) the shared in-process KMS test server and return an owner `KmsClient`. A temporary Tokio runtime is used only for the async setup; i
crate/clients/cng/src/tests.rs:27
↓ 12 callers
Method
to_bytes
(&self, b: usize)
crate/crypto/src/crypto/fpe/ff1.rs:516
↓ 12 callers
Function
with_clean_env
(f: F)
crate/server/src/config/command_line/clap_config.rs:821
↓ 11 callers
Function
E
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 11 callers
Function
R
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 11 callers
Function
build_create_covercrypt_master_keypair_request
Build a `CreateKeyPair` request for an `CoverCrypt` Master Key
crate/clients/client_utils/src/cover_crypt_utils.rs:22
↓ 11 callers
Method
bytes
(&self)
crate/clients/client/src/http_client/client.rs:269
↓ 11 callers
Method
context
(self, context: &str)
crate/crypto/src/error/result.rs:19
↓ 11 callers
Function
create
(flags: CK_FLAGS)
crate/clients/pkcs11/module/src/sessions.rs:605
↓ 11 callers
Function
createSymKey
(page: Page)
ui/tests/e2e/helpers.ts:304
↓ 11 callers
Function
create_ml_dsa_ca
Create an ML-DSA-44 CA and return (`cert_id`, `private_key_id`).
crate/clients/ckms/src/tests/certificates/certify_pqc.rs:120
↓ 11 callers
Function
create_persisted_key
( dll: &KspDll, h_provider: usize, alg: &[u16], name: &str, )
crate/clients/clap/src/actions/cng_verify.rs:166
↓ 11 callers
Method
current_mut
Get the current TTLV element which is the last element on the stack
crate/kmip/src/ttlv/kmip_ttlv_serializer.rs:81
↓ 11 callers
Method
decrypt
This operation requests the server to perform a decryption operation on the provided data using a Managed Cryptographic Object as the key for the decr
crate/clients/client/src/kms_rest_client.rs:213
↓ 11 callers
Function
decrypt_request
( key_id: UniqueIdentifier, block_cipher_mode: BlockCipherMode, data: Vec<u8>, )
crate/server/src/tests/bulk_encrypt_decrypt_tests.rs:192
↓ 11 callers
Function
delete_key
(dll: &KspDll, h_provider: usize, h_key: usize)
crate/clients/clap/src/actions/cng_verify.rs:586
↓ 11 callers
Function
export_object
(kms: &Arc<KMS>, owner: &str, object_id: &str)
crate/server/src/tests/hsm/mod.rs:263
↓ 11 callers
Function
finalize_key
(dll: &KspDll, h_provider: usize, h_key: usize)
crate/clients/clap/src/actions/cng_verify.rs:213
↓ 11 callers
Method
getConfigs
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 11 callers
Function
grant_access
Grants access to a user
crate/clients/ckms/src/tests/access.rs:68
↓ 11 callers
Function
hash
(body: Json<HashRequest>)
crate/server/src/routes/tokenize/mod.rs:55
↓ 11 callers
Function
hsm_clap_config
(owner: &str, kek_id: Option<Uuid>)
crate/server/src/tests/hsm/mod.rs:107
↓ 11 callers
Method
id
(&self)
crate/interfaces/src/hsm/interface.rs:146
↓ 11 callers
Function
import_certificate
( import_certificate_input: ImportCertificateInput, )
crate/clients/ckms/src/tests/certificates/import.rs:54
↓ 11 callers
Function
init_openssl_providers_for_tests
()
crate/server/src/openssl_providers.rs:313
↓ 11 callers
Function
iteratorValue
(s,o,i,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 11 callers
Function
openssl_private_key_to_kmip
Convert an openssl private key to a KMIP private Key (`Object::PrivateKey`) of the given `KeyFormatType`
crate/crypto/src/openssl/private_key.rs:259
↓ 11 callers
Function
parse_uid_with_prefix
Parse the `uid` into a `(slot_id, key_id)` pair, stripping the given prefix.
crate/interfaces/src/hsm/hsm_store.rs:1114
↓ 11 callers
Function
postNoTTLVRequest
(path: string, request: object, serverUrl: string)
ui/src/utils/utils.ts:175
↓ 11 callers
Method
retrieve
(&self, uid: &str)
crate/server_database/src/stores/sql/mysql.rs:502
↓ 11 callers
Function
rfc5649_wrap
(plaintext: &[u8], kek: &[u8])
crate/crypto/src/crypto/symmetric/rfc5649.rs:36
↓ 11 callers
Method
subject_name
(&self)
crate/server/src/core/operations/certify/issuer.rs:43
↓ 11 callers
Function
test_private_key_conversion_pkcs
( private_key: &PKey<Private>, id: Id, key_size: u32, kft: KeyFormatType,
crate/crypto/src/openssl/private_key.rs:560
↓ 11 callers
Function
test_public_key_conversion_pkcs
( public_key: &PKey<Public>, id: Id, key_size: u32, kft: KeyFormatType, )
crate/crypto/src/openssl/public_key.rs:541
↓ 11 callers
Function
throwError
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 11 callers
Method
url
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 11 callers
Function
validate_certificate
( cli_conf_path: &str, sub_command: &str, uids: Vec<String>, date: Option<String>, )
crate/clients/ckms/src/tests/certificates/validate.rs:86
↓ 10 callers
Function
Dk
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 10 callers
Function
U
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 10 callers
Function
W
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 10 callers
Function
allow
(wl: Option<&HashSet<T>>, token: &T)
crate/server/src/core/operations/algorithm_policy.rs:283
↓ 10 callers
Function
backend
Returns the currently registered backend. Returns [`ModuleError::UserNotLoggedIn`] when no backend is registered (i.e. before `C_GetFunctionList` or a
crate/clients/pkcs11/module/src/traits/backend.rs:61
↓ 10 callers
Function
bench_op_id
Benchmark a single KMIP operation under a parameterized [`BenchmarkId`].
crate/clients/clap/src/actions/bench/transport.rs:223
↓ 10 callers
Function
build_test_request
Build a minimal OCSP request for a given serial number using the openssl crate's high-level API.
crate/crypto/src/openssl/ocsp.rs:1095
↓ 10 callers
Function
clone
(o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 10 callers
Function
create_named_ca
Create a self-signed CA with a custom common name. This is the multi-CA variant of [`create_ca`]; the plain helper always uses the same CN which caus
crate/test_kms_server/src/crl_tests.rs:62
↓ 10 callers
Function
create_test_key
Create a fresh AES-256 symmetric key; return its KID.
crate/server/src/tests/jose/tags.rs:21
↓ 10 callers
Function
destroy
( cli_conf_path: &str, sub_command: &str, key_id: &str, remove: bool, )
crate/clients/ckms/src/tests/shared/destroy.rs:27
↓ 10 callers
Function
destroy_all
(slot: &Arc<SlotManager>)
crate/hsm/base_hsm/src/tests_shared.rs:167
↓ 10 callers
Function
emitTagAndPreviousTextNode
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 10 callers
Function
encrypt
Encrypts a file using the given symmetric key and access policy.
crate/clients/ckms/src/tests/symmetric/encrypt_decrypt.rs:26
↓ 10 callers
Method
enforce_create_permission
Enforce that the caller has `Create` access-right. When `crypto_officer.users` is configured, the user must either: - have been explicitly granted th
crate/server/src/core/kms/permissions.rs:273
↓ 10 callers
Function
f
(o,i,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 10 callers
Function
gen_key
Generates a symmetric key
crate/clients/ckms/src/tests/access.rs:43
↓ 10 callers
Function
generate_aes_key
(slot: &Arc<SlotManager>)
crate/hsm/base_hsm/src/tests_shared.rs:181
↓ 10 callers
Function
generate_rsa_keypair
(slot: &Arc<SlotManager>)
crate/hsm/base_hsm/src/tests_shared.rs:227
↓ 10 callers
Method
get
Look up a cached object by UID. Returns `Some(owm)` on cache hit, `None` on miss. Uses moka's lock-free concurrent hash table — never blocks concurr
crate/server_database/src/core/object_cache.rs:81
↓ 10 callers
Function
get_cert_der
Retrieve the DER-encoded certificate from the KMS.
crate/server/src/tests/crl_tests.rs:208
↓ 10 callers
Function
get_key_metadata
(slot: &Arc<SlotManager>)
crate/hsm/base_hsm/src/tests_shared.rs:771
↓ 10 callers
Function
get_mechanisms_and_hashes
(slot: &Arc<SlotManager>)
crate/hsm/base_hsm/src/tests_shared.rs:134
↓ 10 callers
Method
get_unwrapped
Unwrap the object (if need be) and return the unwrapped object. The unwrapped object is cached in memory. # Arguments `uid` - The unique identifier of
crate/server/src/core/kms/other_kms_methods.rs:55
↓ 10 callers
Method
init
Initialize the DB parameters based on the command-line parameters # Parameters - `workspace`: The workspace configuration used to determine the publi
crate/server/src/config/command_line/db.rs:282
↓ 10 callers
Method
is_usage_authorized_for
Check that `flag` bit is set in object's `CryptographicUsageMask`. If FIPS mode is disabled, check if the Unrestricted bit is set too. Return `true`
crate/kmip/src/kmip_2_1/kmip_attributes.rs:675
↓ 10 callers
Method
last
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 10 callers
Function
list_objects
(slot: &Arc<SlotManager>)
crate/hsm/base_hsm/src/tests_shared.rs:709
↓ 10 callers
Function
makeSequence
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 10 callers
Method
method
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 10 callers
Function
multi_threaded_rsa
( slot: &Arc<SlotManager>, digest: RsaOaepDigest, threads: usize, )
crate/hsm/base_hsm/src/tests_shared.rs:665
↓ 10 callers
Function
openssl_public_key_to_kmip
Convert an openssl public key to a KMIP public Key (`Object::PublicKey`) of the given `KeyFormatType`
crate/crypto/src/openssl/public_key.rs:219
↓ 10 callers
Function
raw_binary_post
--------------------------------------------------------------------------- Helper: POST raw bytes to the binary KMIP endpoint. Returns the HTTP stat
crate/clients/clap/src/tests/serialization/wire_payloads.rs:22
↓ 10 callers
Method
read
(de: &mut Deserializer)
crate/server_database/src/stores/redis/permissions.rs:112
↓ 10 callers
Function
rekey_symmetric_key
Create a symmetric key via the CLI
crate/clients/ckms/src/tests/symmetric/rekey.rs:17
↓ 10 callers
Function
resetToDataState
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 10 callers
Function
rsa_oaep_encrypt
(slot: &Arc<SlotManager>, digest: RsaOaepDigest)
crate/hsm/base_hsm/src/tests_shared.rs:323
↓ 10 callers
Function
rsa_pkcs_encrypt
(slot: &Arc<SlotManager>)
crate/hsm/base_hsm/src/tests_shared.rs:303
↓ 10 callers
Function
rsa_pkcs_v15_sign
(slot: &Arc<SlotManager>)
crate/hsm/base_hsm/src/tests_shared.rs:553
← previous
next →
301–400 of 10,279, ranked by callers