Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Cosmian/kms
/ functions
Functions
9,687 in github.com/Cosmian/kms
⨍
Functions
9,687
◇
Types & classes
2,312
↓ 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
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:571
↓ 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:188
↓ 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:262
↓ 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
Method
get_attributes
This operation requests one or more attributes associated with a Managed Object. The object is specified by its Unique Identifier, and the attributes
crate/server/src/core/kms/kmip.rs:314
↓ 11 callers
Method
get_configured_conn
Helper to obtain a pooled connection and configure session settings consistently - Isolation level: READ COMMITTED (reduces deadlocks vs REPEATABLE RE
crate/server_database/src/stores/sql/mysql.rs:386
↓ 11 callers
Function
grant_access
Grants access to a user
crate/clients/ckms/src/tests/access.rs:68
↓ 11 callers
Function
hsm_clap_config
(owner: &str, kek_id: Option<Uuid>)
crate/server/src/tests/hsm/mod.rs:106
↓ 11 callers
Function
import_certificate
( import_certificate_input: ImportCertificateInput, )
crate/clients/ckms/src/tests/certificates/import.rs:54
↓ 11 callers
Function
iteratorValue
(s,o,i,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 11 callers
Method
list_user_operations_on_object
List all the operations that have been granted to a user on an object These operations may have been directly granted or via the wildcard user unless
crate/server_database/src/core/database_permissions.rs:75
↓ 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:1101
↓ 11 callers
Method
retrieve
(&self, uid: &str)
crate/server_database/src/stores/sql/mysql.rs:476
↓ 11 callers
Function
root_dir
()
crate/test_kms_server/src/test_server.rs:137
↓ 11 callers
Function
start_server_from_config
Start a server from a pre-loaded (and optionally patched) [`ClapConfig`].
crate/test_kms_server/src/test_server.rs:1158
↓ 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
clone
(o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 10 callers
Function
createSymKey
(page: Page)
ui/tests/e2e/helpers.ts:304
↓ 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
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
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:54
↓ 10 callers
Function
hash
(body: Json<HashRequest>)
crate/server/src/routes/tokenize/mod.rs:55
↓ 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
postNoTTLVRequest
(path: string, request: object, serverUrl: string)
ui/src/utils/utils.ts:120
↓ 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
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
rfc5649_wrap
(plaintext: &[u8], kek: &[u8])
crate/crypto/src/crypto/symmetric/rfc5649.rs:36
↓ 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
↓ 10 callers
Function
rsa_sha256_sign
(slot: &Arc<SlotManager>)
crate/hsm/base_hsm/src/tests_shared.rs:581
↓ 10 callers
Function
rsa_sign_all_algorithms
(slot: &Arc<SlotManager>)
crate/hsm/base_hsm/src/tests_shared.rs:608
↓ 10 callers
Function
run_tokenize
( cli_conf_path: &str, subcommand: &str, extra_args: &[&str], )
crate/clients/ckms/src/tests/fpe/tokenize.rs:11
↓ 10 callers
Function
search_incompatible_key
(hsm: &BaseHsm<P>, cfg: &HsmTestConfig)
crate/hsm/base_hsm/src/tests_shared.rs:835
↓ 10 callers
Method
serialize
(&self)
crate/kmip/src/kmip_2_1/extra/bulk_data.rs:31
↓ 10 callers
Method
set_object
Set a new object, clearing the cached unwrapped version if any
crate/interfaces/src/stores/object_with_metadata.rs:58
↓ 10 callers
Method
size
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 10 callers
Function
startNewTag
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 10 callers
Function
test_kms
()
crate/server/src/core/operations/auto_rotate.rs:359
↓ 10 callers
Function
test_private_key_conversion_transparent_ec
( private_key: &PKey<Private>, ec_public_key: Option<&EcPoint>, ec_group: Option<&EcGr
crate/crypto/src/openssl/private_key.rs:732
↓ 10 callers
Function
test_public_key_conversion_transparent_ec
( public_key: &PKey<Public>, ec_group: Option<&EcGroup>, curve: RecommendedCurve,
crate/crypto/src/openssl/public_key.rs:660
↓ 10 callers
Function
unwrap_key_block
Unwrap a key block with a wrapping key # Arguments `object_key_block` - the key block of the object to unwrap `unwrapping_key` - the unwrapping key #
crate/crypto/src/crypto/wrap/unwrap_key.rs:105
↓ 9 callers
Function
Bg
(s,o,i,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 9 callers
Function
Db
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 9 callers
Function
Uh
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 9 callers
Function
activate_key
Activate `key_id` via KMIP 1.4.
crate/server/src/tests/ttlv_tests/integrations/vast.rs:133
↓ 9 callers
Method
apply_on_float
Adds noise generated from a chosen distribution to the input data. # Arguments `data` - A single float value to which noise will be added. # Return
crate/crypto/src/crypto/anonymization/noise.rs:214
↓ 9 callers
Method
apply_on_int
Adds noise generated from a chosen distribution to the input data. # Arguments `data` - A single int value to which noise will be added. # Returns
crate/crypto/src/crypto/anonymization/noise.rs:231
↓ 9 callers
Function
assert_policy_denied
(res: Result<(), KmsError>)
crate/server/src/tests/kmip_policy/helpers.rs:51
↓ 9 callers
Function
build_create_covercrypt_usk_request
Build a `Create` request for a `CoverCrypt` USK
crate/clients/client_utils/src/cover_crypt_utils.rs:61
↓ 9 callers
Function
build_patches
( pod: &Value, state: &WebhookState, secret_uids_raw: &str, secrets_dir: &str, )
crate/clients/k8s/operator/src/webhook.rs:177
↓ 9 callers
Method
copy_wrapping_key_link_to
Copy the wrapping key link from this object to `new_attrs`. If this object was wrapped, its wrapping key UID is preserved as a `LinkType::WrappingKey
crate/kmip/src/kmip_2_1/kmip_objects.rs:483
↓ 9 callers
Function
create_kek
(kek_uid: &str, owner: &str, kms: &Arc<KMS>)
crate/server/src/tests/hsm/mod.rs:150
↓ 9 callers
Function
create_rsa_key_pair
Create an RSA key pair in the KMS with the given bit length and name tag, and return `(private_uuid, public_uuid)`. The private key is created with `
crate/clients/cng/src/backend.rs:560
↓ 9 callers
Method
cryptographic_algorithm
(&self)
crate/kmip/src/kmip_2_1/kmip_data_structures.rs:608
↓ 9 callers
Function
decrypt
Decrypt a file using the given symmetric key
crate/clients/ckms/src/tests/symmetric/encrypt_decrypt.rs:69
↓ 9 callers
Function
delete_key
Delete a key via `DELETE /v1/crypto/keys/{kid}`.
crate/server/src/tests/jose/jose_vectors.rs:129
↓ 9 callers
Method
derive_key
This request is used to derive a Symmetric Key or Secret Data object from keys or Secret Data objects that are already known to the key management sys
crate/server/src/core/kms/kmip.rs:200
↓ 9 callers
Function
destroy
Destroy a cryptographic object on the KMS # Arguments `kms_rest_client` - The KMS client `uid` - The object id `remove` - If the object should be remo
crate/clients/clap/src/actions/shared/utils/destroy_utils.rs:24
↓ 9 callers
Function
destroy_key
Destroy `key_id` for cleanup (key must already be `Deactivated` or `PreActive`).
crate/server/src/tests/ttlv_tests/integrations/vast.rs:282
↓ 9 callers
Method
enforce_create_permission
Enforce that the caller has `Create` access-right. When `privileged_users` is configured, the user must either: - have been explicitly granted the `C
crate/server/src/core/kms/permissions.rs:251
↓ 9 callers
Method
equals
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
← previous
next →
301–400 of 9,687, ranked by callers