MCPcopy Create free account

hub / github.com/Cosmian/kms / functions

Functions10,279 in github.com/Cosmian/kms

↓ 19 callersFunctionopen
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 19 callersMethodremove
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 19 callersFunctionrevoke
Send a `Revoke` request with the given `reason_code` and `cascade` flag. Returns the parsed `RevokeResponse` on success, or a `KmsError` on failure.
crate/server/src/tests/revoke_tests.rs:121
↓ 18 callersMethodas_str
(&self)
crate/kmip/src/kmip_2_1/kmip_types.rs:1759
↓ 18 callersFunctioncertify
Issue a certificate using KMIP `Certify`. Uses RSA-2048 (FIPS-approved) unless `CryptographicAlgorithm::RSA` is unavailable. When `issuer_cert_id` /
crate/server/src/tests/crl_tests.rs:119
↓ 18 callersFunctioncfg
()
crate/hsm/utimaco/src/tests.rs:19
↓ 18 callersFunctioncreate_ca
Create a self-signed CA keypair + certificate using `build_certify_request` with `generate_key_pair = true` and no issuer.
crate/test_kms_server/src/certify_tests.rs:67
↓ 18 callersFunctionexport_object
Export an Object from the KMS # Arguments `kms_rest_client` - The KMS client connector `object_id_or_tags` - The KMS object id or tags `params` - Exp
crate/clients/client/src/export_utils.rs:67
↓ 18 callersMethodget
(&self, endpoint: &str)
crate/clients/clap/src/actions/google/gmail_client/client_builder.rs:82
↓ 18 callersFunctionj
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 18 callersFunctionrandom_nonce
Generate a random nonce for the given symmetric cipher.
crate/crypto/src/crypto/symmetric/symmetric_ciphers.rs:435
↓ 18 callersFunctionsubmitAndWaitForDownload
(page: Page)
ui/tests/e2e/helpers.ts:69
↓ 17 callersMethodcontent_type
HTTP `Content-Type` header value for this transport.
crate/clients/clap/src/actions/bench/transport.rs:98
↓ 17 callersFunctioncreate_rsa_key_pair
( cli_conf_path: &str, options: &RsaKeyPairOptions, )
crate/clients/ckms/src/tests/rsa/create_key_pair.rs:24
↓ 17 callersMethoddestroy
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:248
↓ 17 callersFunctiongrant_ops
Helper: grant operations on an HSM key
crate/server/src/tests/hsm/permissions.rs:60
↓ 17 callersMethodlist_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:79
↓ 17 callersFunctionload_test_config_from_toml
( config_path: &Path, )
crate/test_kms_server/src/test_server.rs:1161
↓ 17 callersFunctionnone_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:99
↓ 17 callersFunctionperform_crypto_officer_ceremony_activation
Activate the Crypto Officer role via a split-key ceremony. Validates and processes the ceremony activation: - Retrieves and validates all shares. - V
crate/server/src/core/operations/join_split_key.rs:488
↓ 17 callersMethodpost_no_ttlv
( &self, endpoint: &str, data: Option<&O>, )
crate/clients/client/src/kms_rest_client.rs:831
↓ 17 callersMethodrevoke
This operation requests the server to revoke a Managed Cryptographic Object or an Opaque Object. The request contains a reason for the revocation (e.g
crate/server/src/core/kms/kmip.rs:789
↓ 17 callersMethodslug
Filename-safe slug for output files (e.g. `"benchmarks_kmip-json.json"`).
crate/clients/clap/src/actions/bench/types.rs:96
↓ 17 callersFunctiontest_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 callersMethodto_bytes
Serialize the data to encrypt to bytes
crate/kmip/src/data_to_encrypt.rs:26
↓ 17 callersFunctionto_wide
(s: &str)
crate/clients/clap/src/actions/cng_verify.rs:64
↓ 16 callersFunctionbuild_certify_request
( vendor_id: &str, certificate_id: &Option<String>, certificate_signing_request_format: &Option<St
crate/clients/client_utils/src/certificate_utils.rs:145
↓ 16 callersMethodcreate_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:163
↓ 16 callersFunctioncreate_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 callersFunctionfetch_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 callersMethodfinalize
Finalize key creation: create the key pair in the KMS and transition from `Pending` to `Persisted`.
crate/clients/cng/src/key.rs:273
↓ 16 callersFunctionfrom_request
Build an [`ObjectHandle`] from an optional `UniqueIdentifier` request field. Extracts and validates the unique identifier from a KMIP request, elimin
crate/server/src/core/uid_utils.rs:18
↓ 16 callersMethodget_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:353
↓ 16 callersMethodget_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 callersMethodhasKey
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 16 callersMethodis_hsm
(self)
crate/interfaces/src/object_handle.rs:37
↓ 16 callersFunctionmake_kms
Spin up a fresh in-process KMS backed by a temporary `SQLite` database.
crate/server/src/tests/crl_tests.rs:95
↓ 16 callersFunctionnow
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 16 callersFunctionresolve
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 16 callersFunctionsanitizeUrl
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 16 callersFunctionstart_default_test_kms_server_with_crypto_officer_users
Privileged users. Base configuration is loaded from `test_data/configs/server/rbac/crypto_officer_users.toml`; the `crypto_officer_users` field is in
crate/test_kms_server/src/test_server.rs:860
↓ 16 callersFunctionstart_server_from_config
Start a server from a pre-loaded (and optionally patched) [`ClapConfig`].
crate/test_kms_server/src/test_server.rs:1232
↓ 16 callersMethodstate
(&self)
crate/interfaces/src/stores/object_with_metadata.rs:83
↓ 16 callersFunctionstep_ok
(name: &str)
crate/clients/clap/src/actions/cng_verify.rs:614
↓ 16 callersFunctiontimed_group
Create a criterion benchmark group and (re)start its per-group timer.
crate/clients/clap/src/actions/bench/transport.rs:53
↓ 15 callersFunctionB
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 15 callersMethodappend
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 15 callersMethodas_str
(&self)
crate/interfaces/src/user_id.rs:44
↓ 15 callersMethodatomic
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:695
↓ 15 callersFunctioncertify_pqc_self_signed
Self-signed PQC certificate creation + basic link verification.
crate/clients/ckms/src/tests/certificates/certify_pqc.rs:81
↓ 15 callersMethodcleanup
(&self, client: &KmsClient)
crate/test_kms_server/src/crl_tests.rs:100
↓ 15 callersMethodcreate
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:202
↓ 15 callersMethodcreate
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:144
↓ 15 callersFunctiondownloadFile
(data: string | Uint8Array, filename: string, mimeType: string)
ui/src/utils/utils.ts:242
↓ 15 callersFunctiongenerate_crl_der
Call `generate_crl` and return the DER bytes.
crate/server/src/tests/crl_tests.rs:231
↓ 15 callersMethodget_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:314
↓ 15 callersFunctionget_vendor_id
Returns the currently configured vendor identification string.
crate/clients/wasm/src/wasm.rs:91
↓ 15 callersFunctionisIterable
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 15 callersFunctionkmip_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 callersMethodload
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 callersMethodobject_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:67
↓ 15 callersMethodpublic_key
(&self)
crate/server/src/core/operations/certify/subject.rs:92
↓ 15 callersMethodquery
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:565
↓ 15 callersMethodsign
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:729
↓ 15 callersMethodupdate_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:368
↓ 15 callersMethodwrapping_key_uid
(&self)
crate/kmip/src/kmip_2_1/kmip_objects.rs:457
↓ 14 callersFunctionV
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 14 callersFunctionapply_test_db_override
Override the database backend used by `start_default_test_kms_server` via the `KMS_TEST_DB` environment variable. | `KMS_TEST_DB` value
crate/test_kms_server/src/test_server.rs:202
↓ 14 callersFunctioncreate_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 callersFunctionextractUuid
(text: string)
ui/tests/e2e/helpers.ts:16
↓ 14 callersMethodheaders
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 14 callersMethodmerge
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 14 callersMethodoutput
(&self)
crate/crypto/src/crypto/fpe/ff1.rs:291
↓ 14 callersMethodowner
(&self)
crate/interfaces/src/stores/object_with_metadata.rs:72
↓ 14 callersFunctionrandom_key
Generate a random key for the given symmetric cipher.
crate/crypto/src/crypto/symmetric/symmetric_ciphers.rs:442
↓ 14 callersMethodresolve
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 14 callersMethodrsa
( key_size: i32, modulus_base64url: String, exponent_base64url: String, )
crate/server/src/routes/azure_ekm/models.rs:53
↓ 14 callersFunctionrun_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 callersFunctionselectOption
(page: Page, selectTestId: string, optionText: string)
ui/tests/e2e/helpers.ts:87
↓ 14 callersMethodsend_raw_request
Send a KMIP request to the server and return the response
crate/server/src/tests/ttlv_tests/socket_client.rs:163
↓ 14 callersMethodserialize
Serialize a `RequestMessage` to the wire body for this transport.
crate/clients/clap/src/actions/bench/transport.rs:106
↓ 14 callersMethodset_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 callersMethodunshift
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 14 callersMethodvalidate
This operation requests the server to validate a certificate chain and return information on its validity. Only a single certificate chain SHALL be in
crate/server/src/core/kms/kmip.rs:765
↓ 13 callersFunctionb64_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 callersFunctioncreate_aes_key
Create an AES-256 symmetric key and return its UID.
crate/server/src/tests/revoke_tests.rs:51
↓ 13 callersFunctiondecrypt
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 callersFunctiondelete_key
(key_uid: &str, owner: &str, kms: &Arc<KMS>)
crate/server/src/tests/hsm/mod.rs:276
↓ 13 callersFunctionencrypt
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 callersFunctionencrypt_request
( key_id: UniqueIdentifier, block_cipher_mode: BlockCipherMode, data: Vec<u8>, )
crate/server/src/tests/bulk_encrypt_decrypt_tests.rs:170
↓ 13 callersMethodend
(self)
crate/kmip/src/ttlv/kmip_ttlv_serializer.rs:599
↓ 13 callersMethodimport
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:376
↓ 13 callersFunctionimport_key
(params: ImportKeyParams)
crate/clients/ckms/src/tests/shared/import.rs:48
↓ 13 callersFunctionisKeyed
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 13 callersMethodprivate_key
(&self)
crate/crypto/src/crypto/mod.rs:61
↓ 13 callersFunctionrevoke_ops
Helper: revoke operations on an HSM key
crate/server/src/tests/hsm/permissions.rs:76
↓ 13 callersFunctionselectOptionById
(page: Page, cssSelector: string, optionText: string)
ui/tests/e2e/helpers.ts:195
↓ 13 callersFunctionstripHash
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 13 callersFunctiontest_kms
Create a test KMS instance from the default HTTPS config.
crate/server/src/tests/test_utils.rs:44
↓ 13 callersFunctionvalidate_crl_url
(url_str: &str)
crate/server/src/core/certificate/mod.rs:45
← previousnext →201–300 of 10,279, ranked by callers