MCPcopy Create free account

hub / github.com/Cosmian/kms / functions

Functions16,000 in github.com/Cosmian/kms

↓ 29 callersMethodconcat
(mut a: Self, mut b: Self)
crate/crypto/src/crypto/fpe/ff1.rs:585
↓ 29 callersFunctioncreate_key
Create a `PreActive` symmetric key owned by `owner` and return its UID.
crate/server/src/tests/key_ceremony_tests.rs:128
↓ 29 callersFunctioncreate_symmetric_key
(client: &SocketClient, name: &str)
crate/server/src/tests/ttlv_tests/create_1_4.rs:34
↓ 29 callersFunctiondays
(n: i64)
crate/server/src/tests/hsm/fake_hsm_rotation.rs:513
↓ 29 callersMethodenter
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 29 callersFunctionget_certificate_der
Retrieve DER bytes of a certificate object.
crate/test_kms_server/src/certify_tests.rs:56
↓ 29 callersFunctionimport_object_request
Build an ` Import ` request for a generic Object
crate/kmip/src/kmip_2_1/requests/import.rs:16
↓ 29 callersFunctionkmip_private_key_to_openssl
Convert a KMIP Private key to openssl `PKey<Private>` The supported `KeyFormatType` are: PKCS1 `ECPrivateKey` (SEC1) PKCS8 (not encrypted only) `Tran
crate/crypto/src/openssl/private_key.rs:51
↓ 29 callersMethodpost
( &self, endpoint: &str, content: String, )
crate/clients/clap/src/actions/google/gmail_client/client_builder.rs:92
↓ 29 callersMethodrecord
Execute an async operation and, when a recorder is configured, measure its wall-clock duration and outcome (`"success"` / `"error"`). When no recorde
crate/server_database/src/core/database_objects.rs:70
↓ 29 callersFunctionsplit_key
Split `key_uid` into `total_parts` XOR shares; return share UIDs.
crate/server/src/tests/key_ceremony_tests.rs:145
↓ 29 callersMethodtext
Return the response body as a UTF-8 string. # Errors Returns an error if the body is not valid UTF-8.
crate/clients/client/src/http_client/client.rs:256
↓ 29 callersFunctionunique_instance_id
A fresh, random `instance_id` per test so concurrent test runs never collide on the same chain or advisory lock.
crate/server_database/src/stores/audit/pgsql.rs:1001
↓ 28 callersMethodexec
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 28 callersMethodis_success
(&self)
crate/access/src/audit/event.rs:78
↓ 28 callersFunctionpqc_keygen
Generate a PQC key pair, seeded from `KmsRng` when possible. When `rng` is `Some`: - ML-KEM draws a 64-byte seed from `KmsRng` (FIPS 203 §7.1 / OpenS
crate/crypto/src/crypto/pqc/mod.rs:222
↓ 27 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:100
↓ 27 callersFunctioncsr
(key: &PKey<Private>, cn: &str)
crate/server/src/tests/enrollment_tests.rs:253
↓ 27 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
↓ 27 callersFunctionhttps_clap_config_opts
(kms_public_url: Option<String>)
crate/server/src/tests/test_utils.rs:143
↓ 27 callersMethodserial_number
(&self)
crate/clients/pkcs11/provider/src/pkcs11_certificate.rs:89
↓ 27 callersFunctiontest_ui_session_cookie
()
crate/server/src/middlewares/ui_session.rs:371
↓ 27 callersMethodtoValue
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 27 callersMethodupdate
(&mut self, data: &[u8])
crate/server/src/core/operations/mac.rs:206
↓ 27 callersFunctionx
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 26 callersMethodatomic
(&self, _: &UserId, _: &[AtomicOperation])
crate/server/src/core/operations/locate.rs:325
↓ 26 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:178
↓ 26 callersFunctionencrypt_request
Build an Encryption Request to encrypt the provided `plaintext`. The cryptographic scheme is determined by that of the key identified by `key_unique_
crate/kmip/src/kmip_2_1/requests/encrypt.rs:18
↓ 26 callersMethodget
Look up a cached object by UID. Returns `Some(owm)` on cache hit, `None` on miss.
crate/server_database/src/core/object_cache.rs:105
↓ 26 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:143
↓ 26 callersFunctionhsm_clap_config
(owner: &str, kek_id: Option<Uuid>)
crate/server/src/tests/hsm/mod.rs:230
↓ 26 callersFunctionmetadata
(key_type: KeyType, bits: usize, curve: Option<EcCurve>)
crate/interfaces/src/hsm/hsm_store.rs:3332
↓ 26 callersMethodreader
Returns a reader connection using round-robin distribution.
crate/server_database/src/stores/sql/sqlite.rs:597
↓ 26 callersMethodstop_server
(self)
crate/test_kms_server/src/test_server.rs:1168
↓ 26 callersMethodupdate_object
( &self, _: &str, _: &Object, _: &Attributes, _: O
crate/server/src/core/operations/locate.rs:307
↓ 25 callersFunctioncreate_cc_master_key_pair
( cli_conf_path: &str, policy_option: &str, file: &str, tags: &[&str], sensitive: bool, )
crate/clients/ckms/src/tests/cover_crypt/master_key_pair.rs:14
↓ 25 callersMethoddelete
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 25 callersMethodencrypt
This operation requests the server to perform an encryption operation on the provided data using a Managed Cryptographic Object as the key for the enc
crate/clients/client/src/kms_rest_client.rs:299
↓ 25 callersFunctionkv_app
( kms: Arc<KMS>, )
crate/server/src/routes/kv/tests.rs:61
↓ 25 callersMethodsubject_name
(&self)
crate/server/src/core/operations/certify/issuer.rs:53
↓ 25 callersFunctiontest_object_id
A fresh, unique `CKA_ID` for an object created by these shared tests.
crate/hsm/base_hsm/src/tests_shared.rs:224
↓ 25 callersFunctiontimed_group
Create a criterion benchmark group and (re)start its per-group timer.
crate/clients/clap/src/actions/bench/transport.rs:81
↓ 25 callersFunctionuseFn
(s=void 0)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 24 callersFunctionbench_ko
Record a benchmark name as skipped/unsupported (for compact output).
crate/clients/clap/src/actions/bench/types.rs:14
↓ 24 callersMethodbits
(self)
crate/server/src/config/command_line/kmip_policy_config.rs:101
↓ 24 callersFunctionceremony_kms
Build a `KMS` configured for ceremony mode with the given CO users.
crate/server/src/tests/key_ceremony_tests.rs:91
↓ 24 callersFunctioncompute_row_hash
(event: &AuditEvent)
crate/access/src/audit/hash.rs:110
↓ 24 callersMethodcontent_type
HTTP `Content-Type` header value for this transport.
crate/clients/clap/src/actions/bench/transport.rs:128
↓ 24 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
↓ 24 callersFunctiongetNoTTLVRequest
(path: string, serverUrl: string, timeoutMs = 30_000)
ui/src/utils/utils.ts:234
↓ 24 callersMethodowner
(&self)
crate/interfaces/src/stores/object_with_metadata.rs:86
↓ 24 callersFunctionpqc_certify
Issue a PQC certificate via the KMIP `Certify` operation. When `issuer_cert_id` and `issuer_sk_id` are `None` the certificate is self-signed (root CA
crate/server/src/tests/test_validate.rs:102
↓ 24 callersFunctionrandom_key
Generate a random key for the given symmetric cipher.
crate/crypto/src/crypto/symmetric/symmetric_ciphers.rs:583
↓ 24 callersFunctionsend
Send `request` as `user`; return the status and the JSON body (`null` when empty).
crate/server/src/routes/kv/tests.rs:102
↓ 24 callersFunctiontest_kms_instance
()
crate/server/src/routes/kv/tests.rs:78
↓ 23 callersFunctiondecode
(ttlv: &TTLV)
crate/server/src/core/operations/message.rs:200
↓ 23 callersFunctiondecrypt_request
( key_unique_identifier: &str, nonce: Option<Vec<u8>>, ciphertext: Vec<u8>, authenticated_tag:
crate/kmip/src/kmip_2_1/requests/decrypt.rs:11
↓ 23 callersFunctionget
(key: &str)
crate/test_kms_server/src/test_env.rs:44
↓ 23 callersMethodget
(&self, attribute_type: AttributeType)
crate/clients/pkcs11/module/src/core/attribute.rs:488
↓ 23 callersMethodget_unwrapped
Unwrap the object (if need be) and return the unwrapped object. The unwrapped object is cached in memory. # Arguments `uid` - The unique identifier of
crate/server/src/core/kms/other_kms_methods.rs:57
↓ 23 callersFunctionnormalize_ttlv
Post-serialization normalization pass. See prior implementation notes in serializer.
crate/kmip/src/ttlv/normalize.rs:47
↓ 23 callersMethodresume
Resumes the latest chain generation for this instance, or starts generation 0 for a brand-new instance. A clean latest generation resumes normally; a
crate/server_database/src/stores/audit/pgsql.rs:823
↓ 23 callersMethodset_attribute
This operation requests the server to either add or modify an attribute. The request contains the Unique Identifier of the Managed Object to which the
crate/server/src/core/kms/kmip.rs:717
↓ 23 callersMethodstate
(&self)
crate/interfaces/src/stores/object_with_metadata.rs:97
↓ 23 callersFunctiontest_config_path
(name: &str)
crate/test_kms_server/src/test_server.rs:152
↓ 23 callersMethodtoArray
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 22 callersFunctionadmin
()
crate/server/src/tests/hsm/fake_hsm_rotation.rs:517
↓ 22 callersFunctionassert_chain_valid
Validate a chain expressed as a slice of cert IDs. Asserts `Valid`.
crate/server/src/tests/test_validate.rs:170
↓ 22 callersMethodbytes
(&self)
crate/clients/client/src/http_client/client.rs:263
↓ 22 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:159
↓ 22 callersFunctiondestroy_key
(client: &KmsClient, uid: &str)
crate/test_kms_server/src/pgp_gnupg_tests.rs:315
↓ 22 callersFunctionmake_draft
()
crate/server/src/core/audit/store.rs:428
↓ 22 callersFunctionput_request
(path: &str, data: &Value, options: &Value)
crate/server/src/routes/kv/tests.rs:116
↓ 22 callersFunctionread_object_from_json_ttlv_file
Read an object from a KMIP JSON TTLV file # Errors If the file cannot be opened or read, an error is returned.
crate/clients/client/src/file_utils.rs:59
↓ 22 callersFunctionstart_default_test_kms_server_with_cert_auth
TLS + certificate authentication. Configuration is loaded from `test_data/configs/server/auth/cert.toml`.
crate/test_kms_server/src/test_server.rs:448
↓ 22 callersFunctiontemp_path
(label: &str)
crate/server/src/core/audit/store.rs:421
↓ 22 callersFunctionto_cef_line
(event: &AuditEvent, kms_version: &str)
crate/access/src/audit/cef.rs:41
↓ 22 callersFunctiontv
(tag: &str, value: TTLValue)
crate/kmip/src/ttlv/normalize.rs:1031
↓ 22 callersFunctionuseComponent
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 21 callersFunctionassert_reason
Assert that `result` failed with the KMIP error `reason`.
crate/server/src/tests/hsm/fake_hsm_rotation.rs:899
↓ 21 callersMethodcontains
(&self, uid: &str)
crate/server_database/src/core/unwrapped_cache.rs:209
↓ 21 callersFunctiondecrypt
Decrypt data using AES GCM SIV. # Arguments `key` - The key to use for decryption. `nonce` - The nonce to use for decryption. `aad` - The additional a
crate/crypto/src/crypto/symmetric/aes_gcm_siv.rs:84
↓ 21 callersMethoddecrypt
This operation requests the server to perform a decryption operation on the provided data using a Managed Cryptographic Object as the key for the decr
crate/server/src/core/kms/kmip.rs:199
↓ 21 callersMethoddecrypt
Decrypt data using the specified key and algorithm
crate/hsm/base_hsm/src/session/session_impl.rs:1334
↓ 21 callersFunctionencrypt
Encrypt data using AES GCM SIV. # Arguments `key` - The key to use for encryption. `nonce` - The nonce to use for encryption. `aad` - The additional a
crate/crypto/src/crypto/symmetric/aes_gcm_siv.rs:50
↓ 21 callersFunctionexpect_steps
(actual: &[MigrationStep], expected: &[MigrationStep])
crate/server_database/src/tests/sqlite_migration_tests.rs:115
↓ 21 callersFunctionisReferenceLikeElement
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 21 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
↓ 21 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:80
↓ 21 callersFunctionmake_event
(result: AuditResult)
crate/access/src/audit/cef.rs:178
↓ 21 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:125
↓ 21 callersFunctionruntime
Returns the cached runtime or its construction error without aborting the host.
crate/clients/pkcs11/provider/src/kms_object.rs:72
↓ 21 callersMethodset_unique_identifier
(&mut self, unique_identifier: &UniqueIdentifier)
crate/clients/clap/src/actions/console.rs:81
↓ 21 callersMethodtoRefractedElement
(s,o,i={})
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 21 callersMethodto_bytes
(&self, b: usize)
crate/crypto/src/crypto/fpe/ff1.rs:528
↓ 20 callersFunctionassert_ready
(pool: &P, target: &str)
crate/server_database/src/tests/sqlite_migration_tests.rs:101
↓ 20 callersMethodattributes
Returns the `Attributes` of that object if any, an error otherwise
crate/kmip/src/kmip_2_1/kmip_objects.rs:436
↓ 20 callersFunctionbasic_auth
(user: &str, password: &str)
crate/server/src/tests/enrollment_tests.rs:283
↓ 20 callersMethodcopyMetaAndAttributes
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 20 callersFunctioncreate
(flags: CK_FLAGS)
crate/clients/pkcs11/module/src/sessions.rs:1117
← previousnext →201–300 of 16,000, ranked by callers