MCPcopy Create free account

hub / github.com/Cosmian/kms / functions

Functions9,687 in github.com/Cosmian/kms

↓ 7 callersMethodec_raw_bytes
Extract the raw bytes from the EC key material. These bytes are the same as the ones in openssl rwa bytes
crate/kmip/src/kmip_2_1/kmip_data_structures.rs:398
↓ 7 callersFunctionencrypt
Encrypts a file using the given public key and access policy.
crate/clients/ckms/src/tests/cover_crypt/encrypt_decrypt.rs:20
↓ 7 callersFunctionencrypt_data
Helper: encrypt data using a key. Returns the full ciphertext as `iv || ciphertext || tag` — the format expected by the decrypt oracle in `decrypt_us
crate/server/src/tests/hsm/permissions.rs:97
↓ 7 callersFunctionensure_url_string
Resolve the database URL from the command-line option or an environment variable, returning the raw string. This avoids `Url::parse()` which cannot h
crate/server/src/config/command_line/db.rs:333
↓ 7 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:269
↓ 7 callersMethodget_algorithms
Retrieve the list of supported cryptographic algorithms for a given HSM slot. This function queries the specified slot to determine which algorithms
crate/hsm/base_hsm/src/base_hsm.rs:157
↓ 7 callersFunctionget_json_with_uri
(app: &S, uri: &str)
crate/server/src/tests/test_utils.rs:462
↓ 7 callersFunctionget_redis_url
()
crate/server_database/src/tests/mod.rs:48
↓ 7 callersMethodhsm_lib
Get a reference to the underlying `HsmLib` for direct PKCS#11 function calls.
crate/hsm/base_hsm/src/base_hsm.rs:40
↓ 7 callersMethodidentify
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 7 callersFunctionimport_encrypt_decrypt
( filename: &str, encryption_algorithm: Option<RsaEncryptionAlgorithm>, )
crate/clients/ckms/src/tests/certificates/encrypt.rs:210
↓ 7 callersFunctioninit_openssl_providers_for_tests
()
crate/server/src/openssl_providers.rs:313
↓ 7 callersFunctionisFunc
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 7 callersFunctionisObject
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 7 callersFunctionisOrdered
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 7 callersMethodis_object_owned_by
Test if an object identified by its `uid` is currently owned by `owner`
crate/server_database/src/core/database_objects.rs:409
↓ 7 callersFunctionjg
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 7 callersMethodkey_wrapping_data
(&self)
crate/kmip/src/kmip_2_1/kmip_objects.rs:413
↓ 7 callersFunctionkmip_certificate_to_openssl
(certificate: &Object)
crate/crypto/src/openssl/certificate.rs:27
↓ 7 callersMethodlocate
This operation requests that the server search for one or more Managed Objects, depending on the attributes specified in the request. All attributes a
crate/clients/client/src/kms_rest_client.rs:445
↓ 7 callersFunctionlocate_keys
( owner: &str, kms: &Arc<KMS>, attributes: Option<Attributes>, )
crate/server/src/tests/hsm/mod.rs:211
↓ 7 callersMethodname
(&self)
crate/clients/clap/src/actions/bench/load.rs:85
↓ 7 callersFunctionncrypt_length_property
()
crate/clients/clap/src/actions/cng_verify.rs:86
↓ 7 callersFunctionnormalizeArray
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 7 callersFunctionparse_jwks
Fetch a JWKS from the provided URI and parse it. This function will log errors for invalid JWKs but it will not stop the process if one fails. It ret
crate/server/src/middlewares/jwt/jwks.rs:196
↓ 7 callersFunctionparse_keyset_identifier
Try to parse an identifier as a keyset reference. A keyset reference is recognized when: - It is NOT a tag JSON (`[...]`) - It is NOT an HSM prefix (
crate/server/src/core/uid_utils.rs:138
↓ 7 callersFunctionrandom_key
Generate a random key using a cryptographically secure random number generator that is suitable for use with FPE
crate/crypto/src/crypto/fpe/tests.rs:19
↓ 7 callersMethodremote_id
(&self)
crate/clients/pkcs11/module/src/core/object.rs:77
↓ 7 callersMethodremove_link
Remove the link from the attributes
crate/kmip/src/kmip_2_1/kmip_attributes.rs:619
↓ 7 callersMethodretrieve_tags
Retrieve the tags of the object with the given `uid`
crate/server_database/src/core/database_objects.rs:337
↓ 7 callersFunctionrevoke_key
(key_uid: &str, owner: &str, kms: &Arc<KMS>)
crate/server/src/tests/hsm/mod.rs:314
↓ 7 callersFunctionrsa_wide
()
crate/clients/clap/src/actions/cng_verify.rs:74
↓ 7 callersFunctionrun_auto_rotation
Rotate all keys that are past their scheduled rotation time. Queries the database for Active keys whose `rotate_interval` has elapsed since their las
crate/server/src/core/operations/auto_rotate.rs:48
↓ 7 callersMethodserialize_i32
(self, v: i32)
crate/kmip/src/ttlv/kmip_ttlv_serializer.rs:168
↓ 7 callersFunctionset_key_property_dword
( dll: &KspDll, h_provider: usize, h_key: usize, prop_name: &[u16], va
crate/clients/clap/src/actions/cng_verify.rs:194
↓ 7 callersMethodsetup_with_lifecycle
( &mut self, object_type: ObjectType, requested_activation_date: Option<OffsetDateTime
crate/server/src/core/operations/key_ops/crypto_op.rs:83
↓ 7 callersMethodshift
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 7 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:558
↓ 7 callersFunctionsource
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 7 callersMethodstop_server
(self)
crate/test_kms_server/src/test_server.rs:916
↓ 7 callersMethodtag_size
(&self)
crate/crypto/src/crypto/symmetric/symmetric_ciphers.rs:230
↓ 7 callersFunctionto_path
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 7 callersFunctionunwrap_object
Unwrap an Object This function is used to unwrap an object # Arguments `object` - the object to unwrap `kms` - the KMS `user` - the user accessing th
crate/server/src/core/wrapping/unwrap.rs:34
↓ 7 callersMethodupdate_state
Update the state of an object in the database.
crate/server_database/src/core/database_objects.rs:386
↓ 7 callersMethodwith_context
(self, op: O)
crate/server/src/result.rs:45
↓ 7 callersFunctionwrite_kmip_object_to_file
Writes a KMIP Object to a JSON TTLV in a file. # Errors If the file cannot be opened or written, an error is returned.
crate/clients/client/src/file_utils.rs:96
↓ 7 callersFunctionwrite_temp
(contents: &str)
crate/server/src/config/command_line/clap_config.rs:775
↓ 6 callersFunction$
(o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 6 callersFunctionLf
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 6 callersFunctionSa
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 6 callersFunctionZi
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 6 callersFunction__assign
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 6 callersFunction_deepClone
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 6 callersFunctionactive_owm
(ext_attrs: Attributes)
crate/interfaces/src/stores/object_with_metadata.rs:298
↓ 6 callersMethodapply_default_headers
Apply the client's default headers to a request builder.
crate/clients/client/src/http_client/client.rs:410
↓ 6 callersFunctionassert_certify_format_unsupported
Helper: test that a KEM/hybrid algorithm cert creation fails with unsupported format error.
crate/clients/ckms/src/tests/certificates/certify_pqc.rs:388
↓ 6 callersFunctionb64_encode
Helper: encode bytes as base64url without padding.
crate/server/src/routes/jose/error.rs:132
↓ 6 callersFunctionb64url
(data: &[u8])
crate/clients/client/src/jose.rs:10
↓ 6 callersFunctionbench_rsa_decrypt
( c: &mut Criterion, key_size: usize, cryptographic_parameters: &CryptographicParameters, name
crate/test_kms_server/benches/rsa_benches.rs:241
↓ 6 callersFunctionbench_rsa_encrypt
( c: &mut Criterion, key_size: usize, cryptographic_parameters: &CryptographicParameters, name
crate/test_kms_server/benches/rsa_benches.rs:213
↓ 6 callersFunctionbuild_jwks_manager_with_key
Build a `JwksManager` pre-loaded with a single RSA public key (no HTTP fetch).
crate/server/src/routes/google_cse/jwt.rs:563
↓ 6 callersFunctioncertify_pubkey
Helper: create a keypair, then certify the public key with a subject name.
crate/test_kms_server/src/certify_tests.rs:521
↓ 6 callersFunctioncertify_renewal
Helper: create a certificate (self-signed or CA-signed), then re-certify it.
crate/test_kms_server/src/certify_tests.rs:920
↓ 6 callersFunctioncheck_certificate_chain
( owner_client_conf_path: &str, issuer_private_key_id: &str, certificate_id: &str, )
crate/clients/ckms/src/tests/certificates/certify.rs:300
↓ 6 callersFunctionckm_rsa_pkcs_oaep_key_wrap
Key Wrap using `CKM_RSA_PKCS_OAEP` a.k.a PKCS #1 RSA OAEP as specified in PKCS#11 v2.40 available at <http://docs.oasis-open.org/pkcs11/pkcs11-curr/v
crate/crypto/src/crypto/rsa/ckm_rsa_pkcs_oaep.rs:44
↓ 6 callersFunctioncompromise_key
Compromise a key via KMIP `Revoke` with `KeyCompromise` reason.
crate/server/src/tests/jose/key_state.rs:164
↓ 6 callersFunctioncompute_hash
(token: &str)
crate/server/src/middlewares/spire_token.rs:438
↓ 6 callersMethodcontext
(self, context: &str)
crate/kmip/src/error/result.rs:24
↓ 6 callersMethodcovercrypt_key_bytes
Return the key material of a covercrypt key, raw or transparent.
crate/kmip/src/kmip_2_1/kmip_data_structures.rs:345
↓ 6 callersFunctioncreateEcKeyPair
(page: Page)
ui/tests/e2e/helpers.ts:347
↓ 6 callersFunctioncreatePqcKeyPair
(page: Page, algorithm: string)
ui/tests/e2e/helpers.ts:364
↓ 6 callersFunctioncreate_ec_key_pair
( vendor_id: &str, private_key_bytes: &Zeroizing<Vec<u8>>, private_key_num_bits: u32, public_k
crate/crypto/src/crypto/elliptic_curves/operation.rs:534
↓ 6 callersFunctioncreate_sym_key
( rt: &Runtime, client: &KmsClient, bits: usize, algo: CryptographicAlgorithm, )
crate/clients/clap/src/actions/bench/helpers.rs:171
↓ 6 callersFunctioncrud
(db: &DB)
crate/server_database/src/tests/database_tests.rs:345
↓ 6 callersFunctioncse_wrapped_key_decrypt
Decrypts a wrapped key Tries to decrypt it, using the `resource_name` if present. If it fails, key might be wrapped without it, so we try to unwrap it
crate/server/src/routes/google_cse/operations.rs:1133
↓ 6 callersFunctiondays_until_next_rotation
Compute the number of whole days until the next scheduled rotation for a key. Returns `None` if the rotation schedule cannot be determined (no interv
crate/server/src/core/operations/auto_rotate.rs:309
↓ 6 callersFunctiondeactivate_key
Deactivate a key via KMIP `Revoke` with `CessationOfOperation` reason.
crate/server/src/tests/jose/key_state.rs:141
↓ 6 callersMethoddebug
(s,...o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 6 callersFunctiondecode_jwt_authorization_token
Decode a json web token (JWT) used for Google CSE
crate/server/src/routes/google_cse/jwt.rs:127
↓ 6 callersMethoddecrypt
( &self, tweak: &[u8], x: &NS, )
crate/crypto/src/crypto/fpe/ff1.rs:427
↓ 6 callersMethoddecrypt
Decrypt data using the specified key and algorithm
crate/hsm/base_hsm/src/session/session_impl.rs:815
↓ 6 callersMethoddecrypt_object
(&self, uid: &str, ciphertext: &[u8])
crate/server_database/src/stores/redis/objects_db.rs:181
↓ 6 callersMethoddelete
(&self, uid: &str)
crate/server_database/src/stores/redis/redis_with_findex.rs:505
↓ 6 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/clients/client/src/kms_rest_client.rs:210
↓ 6 callersFunctionemptyMap
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 6 callersMethodencrypt
Encrypt data using the specified key and algorithm
crate/hsm/base_hsm/src/session/session_impl.rs:682
↓ 6 callersFunctionencrypt_request
( key_id: UniqueIdentifier, cryptographic_parameters: CryptographicParameters, data: Zeroizing<Vec
crate/test_kms_server/benches/symmetric_benches.rs:236
↓ 6 callersFunctionextract_private_key
Extract the private key from a test.
crate/clients/ckms/src/tests/utils/extract_uids.rs:27
↓ 6 callersFunctionextract_public_key
Extract the public key from a test.
crate/clients/ckms/src/tests/utils/extract_uids.rs:32
↓ 6 callersFunctionextract_unique_identifier
Extract the imported key id
crate/clients/ckms/src/tests/utils/extract_uids.rs:37
↓ 6 callersMethodfinalize
This function finalizes the login process. It returns the access token. This function should be called immediately after the user has been instructed
crate/clients/client/src/http_client/login.rs:175
↓ 6 callersMethodfind
Return uid, state and attributes of the object identified by its owner, and possibly by its attributes and/or its `state`
crate/server_database/src/core/database_objects.rs:431
↓ 6 callersFunctiongenerate_google_jwt
()
crate/server/src/tests/google_cse/utils.rs:19
↓ 6 callersMethodget
Send an HTTP GET request. # Errors Returns an error if the request fails.
crate/clients/client/src/http_client/client.rs:421
↓ 6 callersMethodgetMetaProperty
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 6 callersMethodget_info_struct
Get PKCS#11 info as Info struct. This method calls `C_GetInfo` and returns the `Info` structure with parsed library information.
crate/hsm/base_hsm/src/hsm_lib.rs:232
↓ 6 callersMethodget_vendor_attribute_value
( &self, vendor_identification: &str, attribute_name: &str, )
crate/kmip/src/kmip_2_1/kmip_attributes.rs:567
↓ 6 callersFunctiongi
(s,o,i,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 6 callersFunctionh
(s,o,i,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 6 callersMethodhash
This operation requests the server to perform a hash operation on the data provided. The request contains information about the cryptographic paramet
crate/server/src/core/kms/kmip.rs:332
← previousnext →501–600 of 9,687, ranked by callers