MCPcopy Create free account

hub / github.com/Cosmian/kms / functions

Functions10,279 in github.com/Cosmian/kms

↓ 10 callersFunctionrsa_sha256_sign
(slot: &Arc<SlotManager>)
crate/hsm/base_hsm/src/tests_shared.rs:581
↓ 10 callersFunctionrsa_sign_all_algorithms
(slot: &Arc<SlotManager>)
crate/hsm/base_hsm/src/tests_shared.rs:608
↓ 10 callersFunctionrun_ckms
Helper to run a ckms command and return success/failure
crate/clients/ckms/src/tests/rbac_tests.rs:25
↓ 10 callersFunctionrun_tokenize
( cli_conf_path: &str, subcommand: &str, extra_args: &[&str], )
crate/clients/ckms/src/tests/fpe/tokenize.rs:11
↓ 10 callersFunctionsearch_incompatible_key
(hsm: &BaseHsm<P>, cfg: &HsmTestConfig)
crate/hsm/base_hsm/src/tests_shared.rs:835
↓ 10 callersMethodserialize
(&self)
crate/kmip/src/kmip_2_1/extra/bulk_data.rs:31
↓ 10 callersMethodset_object
Set a new object, clearing the cached unwrapped version if any
crate/interfaces/src/stores/object_with_metadata.rs:60
↓ 10 callersMethodsign
This operation requests the server to perform a signature operation on the provided data using a Managed Cryptographic Object as the key for the signa
crate/clients/client/src/kms_rest_client.rs:583
↓ 10 callersMethodsize
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 10 callersFunctionstartNewTag
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 10 callersFunctiontest_kms
()
crate/server/src/core/operations/auto_rotate.rs:371
↓ 10 callersFunctiontest_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 callersFunctiontest_public_key_conversion_transparent_ec
( public_key: &PKey<Public>, ec_group: Option<&EcGroup>, curve: RecommendedCurve,
crate/crypto/src/openssl/public_key.rs:660
↓ 10 callersFunctionunwrap_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 callersFunctionBg
(s,o,i,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 9 callersFunctionDb
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 9 callersFunctionUh
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 9 callersFunctionactivate_key
Activate `key_id` via KMIP 1.4.
crate/server/src/tests/ttlv_tests/integrations/vast.rs:133
↓ 9 callersMethodapply_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 callersMethodapply_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 callersFunctionassert_policy_denied
(res: Result<(), KmsError>)
crate/server/src/tests/kmip_policy/helpers.rs:51
↓ 9 callersFunctionbuild_create_covercrypt_usk_request
Build a `Create` request for a `CoverCrypt` USK
crate/clients/client_utils/src/cover_crypt_utils.rs:61
↓ 9 callersFunctionbuild_ocsp_response
( request_der: &[u8], _issuer_cert: &X509Ref, signer_cert: &X509Ref, signer_key: &PKeyRef<Priv
crate/crypto/src/openssl/ocsp.rs:413
↓ 9 callersFunctionbuild_patches
( pod: &Value, state: &WebhookState, secret_uids_raw: &str, secrets_dir: &str, )
crate/clients/k8s/operator/src/webhook.rs:177
↓ 9 callersMethodcontext
(self, context: &str)
crate/kmip/src/error/result.rs:24
↓ 9 callersMethodcopy_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 callersFunctioncreate_kek
(kek_uid: &str, owner: &str, kms: &Arc<KMS>)
crate/server/src/tests/hsm/mod.rs:151
↓ 9 callersFunctioncreate_pqc_key_pair_request
Build a `CreateKeyPair` request for a post-quantum algorithm (ML-KEM or ML-DSA).
crate/kmip/src/kmip_2_1/requests/create_key_pair.rs:249
↓ 9 callersFunctioncreate_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 callersMethodcryptographic_algorithm
(&self)
crate/kmip/src/kmip_2_1/kmip_data_structures.rs:608
↓ 9 callersFunctiondecrypt
Decrypt a file using the given symmetric key
crate/clients/ckms/src/tests/symmetric/encrypt_decrypt.rs:69
↓ 9 callersFunctiondelete_key
Delete a key via `DELETE /v1/crypto/keys/{kid}`.
crate/server/src/tests/jose/jose_vectors.rs:129
↓ 9 callersMethodderive_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:231
↓ 9 callersFunctiondestroy
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 callersFunctiondestroy_key
Destroy `key_id` for cleanup (key must already be `Deactivated` or `PreActive`).
crate/server/src/tests/ttlv_tests/integrations/vast.rs:282
↓ 9 callersMethodequals
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 9 callersMethodexport
This operation requests that the server returns a Managed Object specified by its Unique Identifier, together with its attributes. The Key Format Type
crate/server/src/core/kms/kmip.rs:308
↓ 9 callersFunctionextract_query_params
Extract query parameters from a `PostgreSQL` connection URL by splitting on `?`/`&`. This avoids `Url::parse()` which cannot handle multi-host connect
crate/server_database/src/stores/sql/pgsql.rs:1529
↓ 9 callersFunctionfind_by_class_and_id
Run a `C_FindObjectsInit`/`C_FindObjects`/`C_FindObjectsFinal` sequence for the given class and `CKA_ID`, returning the matched object handles.
crate/clients/pkcs11/module/src/tests.rs:899
↓ 9 callersMethodgenerate_aes_key
Generate an AES key If exportable is set to `false`, the `sensitive` flag is set to true, and the key will not be exportable.
crate/hsm/base_hsm/src/session/aes.rs:21
↓ 9 callersFunctiongenerate_crl
Generate a CRL for the given issuer certificate. # Arguments `kms` — KMS instance `issuer_certificate_id` — UID of the CA certificate `validity_days`
crate/server/src/core/operations/generate_crl.rs:127
↓ 9 callersMethodget_bytes
Perform a GET request and return the raw response bytes. Useful for endpoints that return non-JSON content (e.g. DER/PEM encoded data).
crate/clients/client/src/kms_rest_client.rs:792
↓ 9 callersMethodget_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:412
↓ 9 callersFunctionhsm_config_path
(name: &str)
crate/test_kms_server/src/test_server.rs:158
↓ 9 callersFunctionhttp_req
()
crate/server/src/routes/aws_xks/tests.rs:56
↓ 9 callersMethodinvalidate
Invalidate a single entry (called on mutations).
crate/server_database/src/core/object_cache.rs:130
↓ 9 callersFunctionisJSONReferenceLikeElement
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 9 callersFunctionissue_cert
Issue an end-entity certificate from the CA.
crate/test_kms_server/src/crl_tests.rs:143
↓ 9 callersFunctionkmip12
()
crate/server/src/tests/ttlv_tests/integrations/synology_dsm.rs:105
↓ 9 callersMethodmessage
( &self, request: cosmian_kms_server_database::reexport::cosmian_kmip::kmip_0::kmip_messages::
crate/server/src/core/kms/kmip.rs:601
↓ 9 callersFunctionml_kem_decapsulate
( private_key_der: &[u8], ciphertext: &[u8], )
crate/crypto/src/crypto/pqc/ml_kem.rs:151
↓ 9 callersMethodobject_get
(&self, uid: &str)
crate/server_database/src/stores/redis/objects_db.rs:242
↓ 9 callersMethodobject_type
(&self)
crate/clients/pkcs11/module/src/core/object.rs:65
↓ 9 callersFunctionopen_test_session
Open a serial session on the test slot.
crate/clients/pkcs11/module/src/tests.rs:880
↓ 9 callersFunctionpipe
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 9 callersFunctionprepare_post_params
( info_msg: &str, request: Json<T>, cse_config: Data<Option<GoogleCseConfig>>, )
crate/server/src/routes/google_cse/mod.rs:114
↓ 9 callersFunctionprovision_key
Provision a key using `POST /v1/crypto/keys` and return `(kid, kid_public)`. Both key generation (no material) and key import (material present via `
crate/server/src/tests/jose/jose_vectors.rs:113
↓ 9 callersMethodremove_vendor_attribute
Remove the vendor attribute with the given vendor identification and attribute name. Returns the value of the removed attribute if it existed.
crate/kmip/src/kmip_2_1/kmip_attributes.rs:583
↓ 9 callersFunctionrevoke
( kms_rest_client: KmsClient, key_id: &str, revocation_reason: &str, reason_code: RevocationRe
crate/clients/clap/src/actions/shared/utils/revoke_utils.rs:21
↓ 9 callersFunctionrevoke_cert
Revoke a certificate with the given reason code.
crate/server/src/tests/crl_tests.rs:177
↓ 9 callersFunctionrfc5649_unwrap
(ciphertext: &[u8], kek: &[u8])
crate/crypto/src/crypto/symmetric/rfc5649.rs:85
↓ 9 callersFunctionrsa_key_wrap
(slot: &Arc<SlotManager>, digest: RsaOaepDigest)
crate/hsm/base_hsm/src/tests_shared.rs:282
↓ 9 callersMethodserialize_struct
(self, name: &'static str, len: usize)
crate/kmip/src/ttlv/kmip_ttlv_serializer.rs:512
↓ 9 callersFunctiontest_object
()
crate/server/src/core/operations/key_ops/crypto_op.rs:884
↓ 9 callersMethodtoBaseURI
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 9 callersMethodtokenize
(&self, method: &str, request: &O)
crate/clients/client/src/kms_rest_client.rs:756
↓ 9 callersFunctionvalidate_cse_authentication_token
Validate the authentication token and return the calling user See [doc](https://developers.google.com/workspace/cse/guides/encrypt-and-decrypt-data?hl
crate/server/src/routes/google_cse/jwt.rs:253
↓ 9 callersFunctionvisitor_visit
(s,o,{keyMap:i=Qu,...u}={})
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 9 callersFunctionwide_ptr_to_string
Decode a null-terminated UTF-16 wide string from a raw pointer. Enforces a maximum length of 32KB to prevent unbounded reads of malformed pointers.
crate/clients/cng/src/provider.rs:153
↓ 9 callersMethodwith_context
(self, op: O)
crate/clients/client/src/error/result.rs:24
↓ 9 callersFunctionwrap_object_with_key
Wrap an object (a key) with a wrapping key The wrapping key is fetched from the database The key is wrapped using the wrapping key # Arguments `objec
crate/crypto/src/crypto/wrap/wrap_key.rs:98
↓ 9 callersFunctionwrite_bytes_to_file
Write all bytes to a file # Errors If the file cannot be opened or written, an error is returned.
crate/clients/client/src/file_utils.rs:68
↓ 8 callersFunctionZf
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 8 callersFunctionaes_cryptographic_parameters
()
crate/test_kms_server/benches/symmetric_benches.rs:69
↓ 8 callersFunctionaes_gcm_encrypt
(slot: &Arc<SlotManager>)
crate/hsm/base_hsm/src/tests_shared.rs:372
↓ 8 callersFunctionassert_constraint_violation
(err: KmsError)
crate/server/src/tests/kmip_policy/helpers.rs:107
↓ 8 callersFunctionassert_key_usage_contains
(x509: &X509, usage: &str)
crate/test_kms_server/src/certify_tests.rs:167
↓ 8 callersFunctionbuild_google_cse_url
Builds the full Google CSE KACLS URL using the base KMS public URL. This function constructs a URL like `https://<kms_public_url>/google_cse` by retr
crate/server/src/routes/google_cse/mod.rs:77
↓ 8 callersMethodcall_get_attributes
( &self, key_handle: CK_OBJECT_HANDLE, template: &mut [CK_ATTRIBUTE], )
crate/hsm/base_hsm/src/session/session_impl.rs:1593
↓ 8 callersFunctioncert_serial
Return the serial number bytes from a DER-encoded certificate.
crate/server/src/tests/crl_tests.rs:199
↓ 8 callersFunctioncloneShallow
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 8 callersFunctioncreateRsaKeyPair
(page: Page)
ui/tests/e2e/helpers.ts:351
↓ 8 callersFunctioncreate_aes_256_key
Create an AES-256 symmetric key and return its `UniqueIdentifier`.
crate/server/src/tests/ttlv_tests/integrations/vast.rs:76
↓ 8 callersFunctioncreate_approved_ecc_key_pair
( vendor_id: &str, private_key_uid: &str, public_key_uid: &str, curve: RecommendedCurve, c
crate/crypto/src/crypto/elliptic_curves/operation.rs:458
↓ 8 callersFunctiondecrypt
Decrypt a file using the given private key
crate/clients/ckms/src/tests/rsa/encrypt_decrypt.rs:78
↓ 8 callersMethoddeserialize_any
(self, visitor: V)
crate/kmip/src/ttlv/kmip_ttlv_deserializer/deserializer.rs:135
↓ 8 callersMethoddeserialize_struct
( self, name: &'static str, fields: &'static [&'static str], visitor: V, )
crate/kmip/src/ttlv/kmip_ttlv_deserializer/deserializer.rs:915
↓ 8 callersFunctionencrypt
( cli_conf_path: &str, input_files: &[&str], public_key_id: &str, encryption_algorithm: RsaEnc
crate/clients/ckms/src/tests/rsa/encrypt_decrypt.rs:26
↓ 8 callersMethodencrypt
( &self, tweak: &[u8], x: &NS, )
crate/crypto/src/crypto/fpe/ff1.rs:358
↓ 8 callersFunctiones_evaluate
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 8 callersFunctionexport_certificate
( cli_conf_path: &str, certificate_id: &str, certificate_file: &str, certificate_format: Optio
crate/clients/ckms/src/tests/certificates/export.rs:383
↓ 8 callersFunctionexport_request
( object_id_or_tags: &str, unwrap: bool, wrapping_key_id: Option<&str>, key_format_type: Optio
crate/clients/client_utils/src/export_utils.rs:220
↓ 8 callersFunctionextractUuidAfterLabel
(text: string, label: string)
ui/tests/e2e/helpers.ts:27
↓ 8 callersMethodfind_due_for_rotation
Find all Active objects that have a `rotate_interval > 0` and whose next rotation instant is ≤ `now`. Returns `(uid, owner)` pairs.
crate/server_database/src/core/database_objects.rs:619
↓ 8 callersMethodget
(&self, attribute_type: AttributeType)
crate/clients/pkcs11/module/src/core/attribute.rs:407
↓ 8 callersFunctionget_jwks_response
Helper function: call `GET /.well-known/jwks.json` and return the raw `ServiceResponse`.
crate/server/src/tests/jwks_endpoint.rs:23
↓ 8 callersMethodget_vendor_attribute_value
( &self, vendor_identification: &str, attribute_name: &str, )
crate/kmip/src/kmip_2_1/kmip_attributes.rs:567
↓ 8 callersFunctionimport_root_and_intermediate
( owner_client_conf_path: &str, )
crate/clients/ckms/src/tests/certificates/certify.rs:142
↓ 8 callersMethodinfo
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 8 callersFunctionisIndexed
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
← previousnext →401–500 of 10,279, ranked by callers