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
↓ 18 callers
Method
remove
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 18 callers
Function
submitAndWaitForDownload
(page: Page)
ui/tests/e2e/helpers.ts:69
↓ 17 callers
Function
create_rsa_key_pair
( cli_conf_path: &str, options: &RsaKeyPairOptions, )
crate/clients/ckms/src/tests/rsa/create_key_pair.rs:24
↓ 17 callers
Method
get
(&self, endpoint: &str)
crate/clients/clap/src/actions/google/gmail_client/client_builder.rs:82
↓ 17 callers
Function
grant_ops
Helper: grant operations on an HSM key
crate/server/src/tests/hsm/permissions.rs:59
↓ 17 callers
Function
none_if_empty
Converts an `Option<String>` containing an empty or whitespace-only value to `None`. This guards against UI form fields that produce `""` when cleare
crate/clients/wasm/src/wasm.rs:97
↓ 17 callers
Method
slug
Filename-safe slug for output files (e.g. `"benchmarks_kmip-json.json"`).
crate/clients/clap/src/actions/bench/types.rs:96
↓ 17 callers
Function
test_app_with_clap_config
Creates a test application instance using an explicit `ClapConfig`. This is useful for end-to-end KMIP policy tests that need to tune allowlists and
crate/server/src/tests/test_utils.rs:301
↓ 17 callers
Method
to_bytes
Serialize the data to encrypt to bytes
crate/kmip/src/data_to_encrypt.rs:26
↓ 17 callers
Function
to_wide
(s: &str)
crate/clients/clap/src/actions/cng_verify.rs:64
↓ 16 callers
Method
create_key_pair
This operation requests the server to generate a new public/private key pair and register the two corresponding new Managed Cryptographic Object The r
crate/clients/client/src/kms_rest_client.rs:162
↓ 16 callers
Function
create_user_decryption_key
( cli_conf_path: &str, master_secret_key_id: &str, access_policy: &str, tags: &[&str], sen
crate/clients/ckms/src/tests/cover_crypt/user_decryption_keys.rs:13
↓ 16 callers
Function
fetch_pqc_certificate
Export a PQC certificate and parse it with `x509_parser`. Returns (Object, Attributes, DER bytes).
crate/clients/ckms/src/tests/certificates/certify_pqc.rs:36
↓ 16 callers
Method
finalize
Finalize key creation: create the key pair in the KMS and transition from `Pending` to `Persisted`.
crate/clients/cng/src/key.rs:273
↓ 16 callers
Method
get_slot
Get a slot If a slot has already been opened, returns the opened slot. To close a slot before re-opening it with another password, call `close_slot()`
crate/hsm/base_hsm/src/base_hsm.rs:70
↓ 16 callers
Method
hasKey
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 16 callers
Method
reader
Returns a reader connection using round-robin distribution.
crate/server_database/src/stores/sql/sqlite.rs:254
↓ 16 callers
Function
resolve
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 16 callers
Function
sanitizeUrl
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 16 callers
Function
step_ok
(name: &str)
crate/clients/clap/src/actions/cng_verify.rs:614
↓ 16 callers
Function
timed_group
Create a criterion benchmark group and (re)start its per-group timer.
crate/clients/clap/src/actions/bench/transport.rs:53
↓ 15 callers
Function
B
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 15 callers
Method
append
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 15 callers
Function
certify_pqc_self_signed
Self-signed PQC certificate creation + basic link verification.
crate/clients/ckms/src/tests/certificates/certify_pqc.rs:81
↓ 15 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/clients/client/src/kms_rest_client.rs:289
↓ 15 callers
Function
get_tmp_sqlite_path
()
crate/server/src/tests/test_utils.rs:175
↓ 15 callers
Function
get_vendor_id
Returns the currently configured vendor identification string.
crate/clients/wasm/src/wasm.rs:89
↓ 15 callers
Function
isIterable
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 15 callers
Function
kmip_public_key_to_openssl
Convert a KMIP Public key to openssl `PKey<Public>` The supported `KeyFormatType` are: PKCS1 PKCS8: actually a SPKI DER (RFC 5480) `TransparentRSAPub
crate/crypto/src/openssl/public_key.rs:58
↓ 15 callers
Method
load
Load the configuration from a toml file. # Errors Return an error if the configuration file is not found or if the file is not a valid toml file.
crate/clients/ckms/src/config.rs:40
↓ 15 callers
Function
now
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 15 callers
Method
object_mut
Return a mutable borrow to the Object Do not use this to set a new object or make sure you clear the cached unwrapped object
crate/interfaces/src/stores/object_with_metadata.rs:65
↓ 15 callers
Method
post_no_ttlv
( &self, endpoint: &str, data: Option<&O>, )
crate/clients/client/src/kms_rest_client.rs:731
↓ 15 callers
Function
pqc_keygen
(algorithm_name: &str)
crate/crypto/src/crypto/pqc/mod.rs:198
↓ 15 callers
Function
selectOption
(page: Page, selectTestId: string, optionText: string)
ui/tests/e2e/helpers.ts:87
↓ 15 callers
Method
update_object
This method updates the specified object identified by its `uid` in the database. If the `tags` parameter is `None`, the tags will not be updated. #
crate/server_database/src/core/database_objects.rs:364
↓ 15 callers
Method
wrapping_key_uid
(&self)
crate/kmip/src/kmip_2_1/kmip_objects.rs:457
↓ 14 callers
Function
V
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 14 callers
Method
atomic
Perform an atomic set of operations on the database. This function executes a series of operations (typically in a transaction) atomically. It assume
crate/server_database/src/core/database_objects.rs:556
↓ 14 callers
Method
create
This operation requests the server to generate a new symmetric key or generate Secret Data as a Managed Cryptographic Object. The request contains inf
crate/clients/client/src/kms_rest_client.rs:143
↓ 14 callers
Function
create_ec_key_pair
( cli_conf_path: &str, curve: &str, tags: &[&str], sensitive: bool, )
crate/clients/ckms/src/tests/elliptic_curve/create_key_pair.rs:14
↓ 14 callers
Function
downloadFile
(data: string | Uint8Array, filename: string, mimeType: string)
ui/src/utils/utils.ts:187
↓ 14 callers
Method
merge
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 14 callers
Function
random_key
Generate a random key for the given symmetric cipher.
crate/crypto/src/crypto/symmetric/symmetric_ciphers.rs:442
↓ 14 callers
Method
resolve
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 14 callers
Method
rsa
( key_size: i32, modulus_base64url: String, exponent_base64url: String, )
crate/server/src/routes/azure_ekm/models.rs:53
↓ 14 callers
Function
run_encrypt_decrypt_test
( cli_conf_path: &str, key_id: &str, data_encryption_algorithm: DataEncryptionAlgorithm, key_e
crate/clients/ckms/src/tests/symmetric/encrypt_decrypt.rs:111
↓ 14 callers
Method
send_raw_request
Send a KMIP request to the server and return the response
crate/server/src/tests/ttlv_tests/socket_client.rs:163
↓ 14 callers
Method
serialize
Serialize a `RequestMessage` to the wire body for this transport.
crate/clients/clap/src/actions/bench/transport.rs:106
↓ 14 callers
Method
set_wrapping_key_id
Set the wrapping key id This is the key that will be used to wrap the key on creation The wrapping key id is stored as a vendor attribute # Arguments
crate/kmip/src/kmip_2_1/extra/wrap_on_create.rs:21
↓ 14 callers
Method
sign
This operation requests the server to perform a signature operation on the provided data using a Managed Object specified by its Unique Identifier. Th
crate/server/src/core/kms/kmip.rs:686
↓ 14 callers
Method
state
(&self)
crate/interfaces/src/stores/object_with_metadata.rs:75
↓ 14 callers
Method
unshift
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 13 callers
Function
b64_decode
Helper: decode a base64url (no-padding) string to bytes, returning `CryptoApiError::BadRequest` with a descriptive message on failure.
crate/server/src/routes/jose/error.rs:122
↓ 13 callers
Function
create_aes_key
Create an AES-256 symmetric key and return its UID.
crate/server/src/tests/revoke_tests.rs:51
↓ 13 callers
Function
decrypt
Decrypt the ciphertext using the given symmetric cipher. Return the decrypted plaintext. The tag is required for AEAD ciphers (`AES GCN`, `ChaCha20 P
crate/crypto/src/crypto/symmetric/symmetric_ciphers.rs:613
↓ 13 callers
Function
delete_key
(key_uid: &str, owner: &str, kms: &Arc<KMS>)
crate/server/src/tests/hsm/mod.rs:275
↓ 13 callers
Method
destroy
This operation is used to indicate to the server that the key material for the specified Managed Object SHALL be destroyed or rendered inaccessible. T
crate/server/src/core/kms/kmip.rs:217
↓ 13 callers
Function
encrypt
Encrypt the plaintext using the given symmetric cipher. Return the ciphertext and the tag. For XTS mode, the nonce is the tweak, the aad is ignored, a
crate/crypto/src/crypto/symmetric/symmetric_ciphers.rs:451
↓ 13 callers
Function
encrypt_request
( key_id: UniqueIdentifier, block_cipher_mode: BlockCipherMode, data: Vec<u8>, )
crate/server/src/tests/bulk_encrypt_decrypt_tests.rs:170
↓ 13 callers
Method
end
(self)
crate/kmip/src/ttlv/kmip_ttlv_serializer.rs:600
↓ 13 callers
Function
extractUuid
(text: string)
ui/tests/e2e/helpers.ts:16
↓ 13 callers
Method
import
This operation requests the server to Import a Managed Object specified by its Unique Identifier. The request specifies the object being imported and
crate/clients/client/src/kms_rest_client.rs:351
↓ 13 callers
Function
import_key
(params: ImportKeyParams)
crate/clients/ckms/src/tests/shared/import.rs:48
↓ 13 callers
Function
isKeyed
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 13 callers
Method
output
(&self)
crate/crypto/src/crypto/fpe/ff1.rs:291
↓ 13 callers
Method
private_key
(&self)
crate/crypto/src/crypto/mod.rs:60
↓ 13 callers
Method
public_key
(&self)
crate/server/src/core/operations/certify/subject.rs:91
↓ 13 callers
Function
revoke_ops
Helper: revoke operations on an HSM key
crate/server/src/tests/hsm/permissions.rs:75
↓ 13 callers
Function
selectOptionById
(page: Page, cssSelector: string, optionText: string)
ui/tests/e2e/helpers.ts:195
↓ 13 callers
Function
stripHash
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 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
build_certify_request
( vendor_id: &str, certificate_id: &Option<String>, certificate_signing_request_format: &Option<St
crate/clients/client_utils/src/certificate_utils.rs:145
↓ 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
Method
content_type
HTTP `Content-Type` header value for this transport.
crate/clients/clap/src/actions/bench/transport.rs:98
↓ 12 callers
Method
create
Create the given Object in the database. A new UUID will be created if none is supplier. This method will fail if an ` uid ` is supplied and an object
crate/server_database/src/core/database_objects.rs:192
↓ 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
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:101
↓ 12 callers
Method
headers
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 12 callers
Function
init
Initialize test environment once before any tests run
crate/crypto/src/lib.rs:194
↓ 12 callers
Function
load_test_config_from_toml
(config_path: &Path)
crate/test_kms_server/src/test_server.rs:1091
↓ 12 callers
Method
query
This operation is used by the client to interrogate the server to determine its capabilities and/or protocol mechanisms. The Query operation SHOULD be
crate/server/src/core/kms/kmip.rs:522
↓ 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
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:792
← previous
next →
201–300 of 9,687, ranked by callers