MCPcopy Create free account

hub / github.com/Cosmian/kms / functions

Functions9,687 in github.com/Cosmian/kms

↓ 18 callersMethodremove
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 18 callersFunctionsubmitAndWaitForDownload
(page: Page)
ui/tests/e2e/helpers.ts:69
↓ 17 callersFunctioncreate_rsa_key_pair
( cli_conf_path: &str, options: &RsaKeyPairOptions, )
crate/clients/ckms/src/tests/rsa/create_key_pair.rs:24
↓ 17 callersMethodget
(&self, endpoint: &str)
crate/clients/clap/src/actions/google/gmail_client/client_builder.rs:82
↓ 17 callersFunctiongrant_ops
Helper: grant operations on an HSM key
crate/server/src/tests/hsm/permissions.rs:59
↓ 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:97
↓ 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 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:162
↓ 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 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 callersMethodreader
Returns a reader connection using round-robin distribution.
crate/server_database/src/stores/sql/sqlite.rs:254
↓ 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 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 callersFunctioncertify_pqc_self_signed
Self-signed PQC certificate creation + basic link verification.
crate/clients/ckms/src/tests/certificates/certify_pqc.rs:81
↓ 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:289
↓ 15 callersFunctionget_tmp_sqlite_path
()
crate/server/src/tests/test_utils.rs:175
↓ 15 callersFunctionget_vendor_id
Returns the currently configured vendor identification string.
crate/clients/wasm/src/wasm.rs:89
↓ 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 callersFunctionnow
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 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:65
↓ 15 callersMethodpost_no_ttlv
( &self, endpoint: &str, data: Option<&O>, )
crate/clients/client/src/kms_rest_client.rs:731
↓ 15 callersFunctionpqc_keygen
(algorithm_name: &str)
crate/crypto/src/crypto/pqc/mod.rs:198
↓ 15 callersFunctionselectOption
(page: Page, selectTestId: string, optionText: string)
ui/tests/e2e/helpers.ts:87
↓ 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:364
↓ 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 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:556
↓ 14 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:143
↓ 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 callersFunctiondownloadFile
(data: string | Uint8Array, filename: string, mimeType: string)
ui/src/utils/utils.ts:187
↓ 14 callersMethodmerge
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 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 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 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:686
↓ 14 callersMethodstate
(&self)
crate/interfaces/src/stores/object_with_metadata.rs:75
↓ 14 callersMethodunshift
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 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:275
↓ 13 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:217
↓ 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:600
↓ 13 callersFunctionextractUuid
(text: string)
ui/tests/e2e/helpers.ts:16
↓ 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:351
↓ 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 callersMethodoutput
(&self)
crate/crypto/src/crypto/fpe/ff1.rs:291
↓ 13 callersMethodprivate_key
(&self)
crate/crypto/src/crypto/mod.rs:60
↓ 13 callersMethodpublic_key
(&self)
crate/server/src/core/operations/certify/subject.rs:91
↓ 13 callersFunctionrevoke_ops
Helper: revoke operations on an HSM key
crate/server/src/tests/hsm/permissions.rs:75
↓ 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 callersMethodvalueOf
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 12 callersFunctionG
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 12 callersFunctionLr
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 12 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
↓ 12 callersFunctioncertify_keypair
Helper: certify with `generate_key_pair=true`, optionally CA-signed.
crate/test_kms_server/src/certify_tests.rs:201
↓ 12 callersFunctioncheck_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 callersFunctioncleanup_key_pair
Cleanup helper: revoke + destroy a key pair (best-effort).
crate/clients/cng/src/tests.rs:37
↓ 12 callersMethodcontent_type
HTTP `Content-Type` header value for this transport.
crate/clients/clap/src/actions/bench/transport.rs:98
↓ 12 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:192
↓ 12 callersFunctioncreate_aes_key
Create an AES-256 key and return its UID.
crate/server/src/tests/jose/key_state.rs:40
↓ 12 callersMethoddefault
()
crate/server/src/config/wizard/cert_gen.rs:56
↓ 12 callersFunctiondeny
(reason: ErrorReason, msg: impl Into<String>)
crate/server/src/core/operations/algorithm_policy.rs:480
↓ 12 callersMethoddeserialize
(deserializer: D)
crate/kmip/src/ttlv/interval.rs:74
↓ 12 callersFunctiondummy_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 callersFunctionenforce
( params: &ServerParams, operation_tag: &str, op: &Operation, )
crate/server/src/tests/kmip_policy/helpers.rs:60
↓ 12 callersMethodgenerate_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 callersMethodget_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 callersMethodget_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 callersMethodheaders
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 12 callersFunctioninit
Initialize test environment once before any tests run
crate/crypto/src/lib.rs:194
↓ 12 callersFunctionload_test_config_from_toml
(config_path: &Path)
crate/test_kms_server/src/test_server.rs:1091
↓ 12 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:522
↓ 12 callersFunctionrevoke
( cli_conf_path: &str, sub_command: &str, key_id: &str, revocation_reason: &str, )
crate/clients/ckms/src/tests/shared/revoke.rs:23
↓ 12 callersFunctionserialize_and_deserialize
(ttlv: &TTLV)
crate/kmip/src/ttlv/wire/ttlv_bytes_deserializer.rs:231
↓ 12 callersFunctionsign_verify_roundtrip
(algorithm_name: &str)
crate/crypto/src/crypto/pqc/slh_dsa.rs:54
↓ 12 callersFunctionstringify
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 12 callersFunctiontest_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 callersMethodto_bytes
(&self, b: usize)
crate/crypto/src/crypto/fpe/ff1.rs:516
↓ 12 callersFunctionwith_clean_env
(f: F)
crate/server/src/config/command_line/clap_config.rs:792
← previousnext →201–300 of 9,687, ranked by callers