MCPcopy Create free account

hub / github.com/Cosmian/kms / functions

Functions9,687 in github.com/Cosmian/kms

↓ 4 callersFunctionaes_cbc_encrypt
(slot: &Arc<SlotManager>)
crate/hsm/base_hsm/src/tests_shared.rs:399
↓ 4 callersFunctionaes_cbc_multi_round
(slot: &Arc<SlotManager>)
crate/hsm/base_hsm/src/tests_shared.rs:426
↓ 4 callersFunctionaes_gcm_params
()
crate/clients/clap/src/actions/bench/helpers.rs:99
↓ 4 callersMethodapply
Apply rotation policy attributes via `SetAttribute` calls on the given key ID. When `--enroll-keyset` is set, the keyset name is automatically set to
crate/clients/clap/src/actions/shared/rotation_policy_args.rs:49
↓ 4 callersFunctionapplyOperation
(s,o,i,u,_,w)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 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:194
↓ 4 callersFunctionb
(o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctionbatch_export_objects
Export a batch of Objects from the KMS The objects are exported in a single request and the response is a list of results. The objects are exported i
crate/clients/client/src/export_utils.rs:129
↓ 4 callersFunctionbd
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctionbi
(s,o,i,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctionblitBuffer
(s,o,i,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctionblock_cipher_mode_migration_after_json_deserialization
Test that any legacy value (`0x8000_000D`) is correctly migrated to `BlockCipherMode::AESKeyWrapPadding` (`0x0000_000C`) when objects are retrieved fr
crate/server_database/src/tests/database_tests.rs:426
↓ 4 callersFunctionbuildFormData
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctionbuild_cipher
Build a `SymCipher` from the data encryption algorithm and the DEK length.
crate/clients/clap/src/actions/symmetric/cipher_io.rs:28
↓ 4 callersFunctionbuild_jwe_aad
Construct the JWE AAD bytes per RFC 7516 §5.1 step 14. - No external `aad`: `ASCII(protected_b64)` - With external `aad`: `ASCII(protected_b64 + "."
crate/server/src/routes/jose/encrypt.rs:280
↓ 4 callersFunctionbuild_revoke_key_request
Build a `Revoke` request to revoke the key identified by `unique_identifier`
crate/kmip/src/kmip_2_1/requests/revoke.rs:8
↓ 4 callersFunctioncaptureMatchIfValidAndReset
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctioncek_size_bytes
Return the CEK size in bytes for a given content-encryption algorithm. Per RFC 7518 §5.1: - A128GCM → 16 bytes (128 bits) - A192GCM → 24 bytes (192 b
crate/server/src/routes/jose/algorithm.rs:383
↓ 4 callersFunctionch
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctionckm_rsa_aes_key_wrap
Asymmetrically wrap keys referring to PKCS#11 `CKM_RSA_AES_KEY_WRAP` available at <http://docs.oasis-open.org/pkcs11/pkcs11-curr/v2.40/cos01/pkcs11-cu
crate/crypto/src/crypto/rsa/ckm_rsa_aes_key_wrap.rs:37
↓ 4 callersFunctioncloneUnlessOtherwiseSpecified
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersMethodclose
Close the session and log out if necessary
crate/hsm/base_hsm/src/session/session_impl.rs:151
↓ 4 callersFunctionconcat
(...s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersMethodcontact
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctioncreate
(kms: &KMS, request: Create, owner: &str)
crate/server/src/core/operations/create.rs:20
↓ 4 callersFunctioncreateBuffer
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctioncreateDeepLinkPath
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctioncreate_derivable_symmetric_key_with_client
Create a symmetric key that can be used for derivation using `KmsClient` directly
crate/clients/ckms/src/tests/derive_key/derive_key_tests.rs:98
↓ 4 callersFunctioncreate_ec_keypair
Create an EC P-256 keypair and return `(private_uid, public_uid)`.
crate/server/src/tests/jose/key_state.rs:444
↓ 4 callersFunctioncreate_ec_pair
Create an EC P-256 key pair and return `(private_uid, public_uid)`.
crate/server/src/tests/revoke_tests.rs:74
↓ 4 callersFunctioncreate_jwt
Create a signed JSON Web Token (JWT) for authenticating a KACLS migration request. This token includes standard claims such as `iss` (issuer), `aud`
crate/server/src/routes/google_cse/operations.rs:961
↓ 4 callersFunctioncreate_key_with_state
Create and store a fresh 256-bit AES symmetric key in the given `state`.
crate/server/src/tests/test_modify_attribute.rs:46
↓ 4 callersFunctioncreate_mac
Compute a MAC via the CLI. `extra_args` are appended after `["mac", "compute"]`.
crate/clients/ckms/src/tests/mac.rs:15
↓ 4 callersFunctioncreate_pqc_key_pair
( vendor_id: &str, private_key_der: &Zeroizing<Vec<u8>>, public_key_der: &[u8], cryptographic_
crate/crypto/src/crypto/pqc/mod.rs:400
↓ 4 callersFunctioncreate_rsa_keypair
( kms_rest_client: &KmsClient, cryptographic_length: usize, )
crate/test_kms_server/benches/rsa_benches.rs:270
↓ 4 callersFunctioncreate_sym_key
(key_uid: &str, owner: &str, kms: &Arc<KMS>)
crate/server/src/tests/hsm/mod.rs:155
↓ 4 callersFunctioncreate_symmetric_key
( kms_rest_client: &KmsClient, num_bits: i32, cryptographic_parameters: CryptographicParameters, )
crate/test_kms_server/benches/symmetric_benches.rs:83
↓ 4 callersFunctioncurrent
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersMethoddecrypt_big
Decrypts the ciphertext using the specified key and tweak and returns the plaintext as a `BigUint`. # Parameters - `ciphertext`: A `BigUint` represe
crate/crypto/src/crypto/fpe/integer.rs:232
↓ 4 callersFunctiondecrypt_fpe
( key: &[u8], data: &[u8], additional_data: Option<&[u8]>, tweak: Option<&[u8]>, )
crate/crypto/src/crypto/fpe/kmip_fpe.rs:216
↓ 4 callersFunctiondeepmerge
(s,i,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctiondefault_cryptographic_parameters
( cryptographic_parameters: Option<&CryptographicParameters>, )
crate/crypto/src/crypto/rsa/mod.rs:20
↓ 4 callersMethoddelete_attribute
This operation requests the server to delete an attribute associated with a Managed Object. The request contains the Unique Identifier of the Managed
crate/server/src/core/kms/kmip.rs:181
↓ 4 callersFunctiondisable_proxies_for_tests
()
crate/test_kms_server/src/test_server.rs:116
↓ 4 callersFunctionecdsa_verify
( verification_key: &PKey<Public>, data: &[u8], signature: &[u8], crypto_params: &Cryptographi
crate/crypto/src/crypto/elliptic_curves/verify.rs:24
↓ 4 callersMethodeffective_state
(&self)
crate/interfaces/src/stores/object_with_metadata.rs:111
↓ 4 callersFunctioneh
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctionemptySequence
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctionencrypt
Encrypt plaintext with the given key, returning the JSON encrypt response.
crate/server/src/tests/jose/key_state.rs:63
↓ 4 callersFunctionencrypt_fpe
( key: &[u8], data: &[u8], additional_data: Option<&[u8]>, tweak: Option<&[u8]>, )
crate/crypto/src/crypto/fpe/kmip_fpe.rs:174
↓ 4 callersFunctionensure_no_proxy_for_localhost
()
crate/test_kms_server/src/test_server.rs:72
↓ 4 callersFunctionerror_response_ttlv
Generate an "Invalid Message" KMIP error response message in TTLV format
crate/server/src/routes/kmip.rs:49
↓ 4 callersFunctionescapeHTML
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctionexport_key
( dll: &KspDll, h_provider: usize, h_key: usize, blob_type: &str, )
crate/clients/clap/src/actions/cng_verify.rs:222
↓ 4 callersFunctionexport_ttlv_request
( unique_identifier: &str, unwrap: bool, key_format: &str, wrap_key_id: Option<String>, wr
crate/clients/wasm/src/wasm.rs:1540
↓ 4 callersMethodfinalize_decryption
(&mut self, tag: &[u8])
crate/crypto/src/crypto/symmetric/symmetric_ciphers.rs:951
↓ 4 callersMethodfinalize_encryption
Finalize the encryption and return the ciphertext and the tag.
crate/crypto/src/crypto/symmetric/symmetric_ciphers.rs:911
↓ 4 callersMethodfind
( &self, researched_attributes: Option<&Attributes>, state: Option<State>, use
crate/interfaces/src/hsm/hsm_store.rs:300
↓ 4 callersFunctionfind_attributes
(db: &DB)
crate/server_database/src/tests/find_attributes_test.rs:24
↓ 4 callersMethodfind_by_rotate_name
Find objects by their `x-rotate-name` vendor attribute. Queries all registered object stores and returns matching `(uid, attributes)` pairs.
crate/server_database/src/core/database_objects.rs:495
↓ 4 callersFunctionfind_due_for_rotation_test
Verify that `find_due_for_rotation` returns exactly the objects that are `Active`, have `rotate_automatic = true`, and whose rotation deadline has alr
crate/server_database/src/tests/database_tests.rs:517
↓ 4 callersFunctionfind_field_in_json
Find the first leaf value in a TTLV JSON tree matching the given tag name.
crate/test_kms_server/src/vector_runner.rs:572
↓ 4 callersFunctionfinishMaybe
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersMethodgenerateId
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersMethodgetElementClass
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctiongetExtensions
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctiongetKnownSyntaxHighlighterLanguage
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersMethodgetMember
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctiongetParameterSchema
(s,{isOAS3:o}={})
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctiongetTailOffset
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersMethodgetValue
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctionget_attributes
(kms: &Arc<KMS>, uid: &str, tag: Tag)
crate/server/src/tests/test_set_attribute.rs:56
↓ 4 callersFunctionget_ec_public_key_request
(uid: &str)
crate/kmip/src/kmip_2_1/requests/get.rs:34
↓ 4 callersMethodget_encoding
(&self)
crate/kmip/src/kmip_2_1/kmip_data_structures.rs:934
↓ 4 callersMethodget_key_metadata
(&self, uid: &str)
crate/interfaces/src/hsm/hsm_store.rs:673
↓ 4 callersFunctionget_root_cause
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctionget_state
Query the `State` attribute of a key via KMIP `GetAttributes`.
crate/server/src/tests/jose/key_state.rs:680
↓ 4 callersFunctionget_tags
GET tags from a key; returns the parsed response body.
crate/server/src/tests/jose/tags.rs:76
↓ 4 callersFunctionget_user_and_resource_name
Validates the provided authentication and authorization tokens, and extracts the content. This function takes the authentication and authorization to
crate/server/src/routes/google_cse/operations.rs:274
↓ 4 callersMethodgrant_access
Grant access to a user (identified by `access.userid`) to an object (identified by `access.unique_identifier`) which is owned by `owner` (identified b
crate/server/src/core/kms/permissions.rs:24
↓ 4 callersMethodgrant_operations
Grant the ability to `user` to perform the KMIP `operations` on the object identified by its `uid`
crate/server_database/src/core/database_permissions.rs:39
↓ 4 callersMethodhas_usage_mask
(&self, required: CryptographicUsageMask, lenient: bool)
crate/interfaces/src/stores/object_with_metadata.rs:189
↓ 4 callersFunctionhashing_algorithm_to_openssl_ref
( hashing_algorithm: HashingAlgorithm, )
crate/crypto/src/openssl/hashing.rs:28
↓ 4 callersFunctionhttp_json
Send an HTTP request and return the parsed JSON body, or a descriptive error including the URI and backend name.
crate/server/src/config/command_line/secret_backends/common.rs:52
↓ 4 callersFunctionhybrid_kem_encapsulate
( algorithm: CryptographicAlgorithm, public_key_raw: &[u8], )
crate/crypto/src/crypto/pqc/hybrid_kem.rs:60
↓ 4 callersFunctionie
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctionimport_root_and_intermediate
( ctx: &TestsContext, )
crate/clients/clap/src/tests/certificates/certify.rs:11
↓ 4 callersMethodinject_decrypt_artifacts
Inject `EncryptResponse` artifacts (ciphertext, IV/nonce, tag) into any Decrypt request batch items that have missing or empty placeholder fields. Exi
crate/clients/clap/src/tests/xml/request.rs:246
↓ 4 callersFunctioninteger_item
Build a minimal valid Integer item encoded in TTLV binary format. Layout: [tag 3B][type 1B][length 4B][value 4B][padding 4B] = 16 bytes total. Uses
crate/kmip/src/ttlv/tests/wire_edge_cases.rs:24
↓ 4 callersFunctionisAnchor
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersMethodis_admin
Returns `true` if `user` is an HSM admin. Wildcard `"*"` grants access to every user.
crate/interfaces/src/hsm/hsm_store.rs:60
↓ 4 callersFunctionis_key_type
(object_type: ObjectType)
crate/server_database/src/stores/redis/redis_with_findex.rs:68
↓ 4 callersMethodis_set
(&self)
crate/clients/clap/src/actions/shared/rotation_policy_args.rs:40
↓ 4 callersFunctionjose_create_sym_key
( rt: &Runtime, client: &KmsClient, alg: &'static str, )
crate/clients/clap/src/actions/bench/jose.rs:18
↓ 4 callersFunctionjson_access
(db: &DB)
crate/server_database/src/tests/json_access_test.rs:25
↓ 4 callersFunctionk
(s,o,i,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersMethodkeywords
(&self)
crate/server_database/src/stores/redis/objects_db.rs:114
↓ 4 callersFunctionkmip1_get_attribute_list_names
--------------------------------------------------------------------------- Helper: send a KMIP 1.x `GetAttributeList` and return the advertised names
crate/server/src/tests/ttlv_tests/attribute_version_gating.rs:90
↓ 4 callersFunctionli
(s,o,i,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersMethodlicense
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
← previousnext →801–900 of 9,687, ranked by callers