MCPcopy Create free account

hub / github.com/Cosmian/kms / functions

Functions10,279 in github.com/Cosmian/kms

↓ 38 callersFunctioncloneDeep
(s,o={})
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 38 callersMethodkey_bytes
Return the key material of a symmetric key, raw or transparent. The PKCS#1 of an RSA Key, etc.
crate/kmip/src/kmip_2_1/kmip_data_structures.rs:320
↓ 38 callersFunctionpost_json_with_uri
(app: &S, operation: O, uri: &str)
crate/server/src/tests/test_utils.rs:438
↓ 37 callersMethodattributes_mut
Returns the `Attributes` of that object if any, an error otherwise
crate/kmip/src/kmip_2_1/kmip_objects.rs:427
↓ 37 callersMethodget_tags
(&self, vendor_id: &str)
crate/kmip/src/kmip_2_1/extra/tagging.rs:34
↓ 37 callersMethodget_user
Get the user from the request depending on the authentication method.
crate/server/src/core/kms/permissions.rs:343
↓ 36 callersFunctioncreate_ec_key_pair_request
Build a `CreateKeyPairRequest` for an elliptic curve
crate/kmip/src/kmip_2_1/requests/create_key_pair.rs:178
↓ 36 callersMethodpush
(&mut self, v: T)
crate/kmip/src/ttlv/kmip_ttlv_serializer.rs:42
↓ 35 callersMethodto_der
(&self)
crate/clients/pkcs11/provider/src/pkcs11_certificate.rs:69
↓ 34 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/server/src/core/kms/kmip.rs:120
↓ 34 callersMethodget
This operation requests that the server returns the Managed Object specified by its Unique Identifier. Only a single object is returned. The response
crate/clients/client/src/kms_rest_client.rs:300
↓ 34 callersMethodobject_type
(&self)
crate/kmip/src/kmip_2_1/kmip_objects.rs:381
↓ 34 callersFunctionrun_ckms_expect_error
Run a ckms command expecting failure, return the stderr message.
crate/clients/ckms/src/tests/utils/run.rs:39
↓ 33 callersFunctionextract_uid
Extract the `key_uid` (prefixed by a pattern) from a text
crate/clients/ckms/src/tests/utils/extract_uids.rs:4
↓ 33 callersMethodkey_block_mut
Returns the `KeyBlock` of that object if any, an error otherwise
crate/kmip/src/kmip_2_1/kmip_objects.rs:432
↓ 33 callersFunctionread
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 33 callersFunctiontime_normalize
()
crate/kmip/src/time_utils.rs:18
↓ 33 callersFunctionw
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 32 callersFunctionexport_key
(params: ExportKeyParams)
crate/clients/ckms/src/tests/shared/export.rs:60
↓ 32 callersFunctionmake_kms
Spin up a fresh, empty in-process KMS instance with an `SQLite` backend. No network access is required.
crate/server/src/tests/test_validate.rs:94
↓ 32 callersFunctionnow
()
crate/server/src/core/operations/auto_rotate.rs:398
↓ 32 callersMethodopen_session
Open a new session with the HSM slot. The session can be read-only or read-write, depending on the `read_write` parameter. # Arguments `read_write` -
crate/hsm/base_hsm/src/slots.rs:276
↓ 32 callersMethodpop
(&mut self)
crate/kmip/src/ttlv/kmip_ttlv_serializer.rs:46
↓ 32 callersMethodrun
(&self, kms_rest_client: KmsClient)
crate/clients/clap/src/actions/rng.rs:34
↓ 31 callersMethodset_tags
Set the tags on the attributes
crate/kmip/src/kmip_2_1/extra/tagging.rs:47
↓ 31 callersFunctiontime_normalize
Returns the current UTC time with milliseconds set to zero. This function is used to normalize timestamps across the KMIP implementation, ensuring co
crate/server/src/routes/aws_xks/key_metadata.rs:50
↓ 30 callersMethodclear
Remove all object handles from the cache.
crate/hsm/base_hsm/src/slots.rs:84
↓ 30 callersMethodenter
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 30 callersMethodfind
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 30 callersMethodinsert
Insert or update a cached object.
crate/server_database/src/core/object_cache.rs:103
↓ 30 callersMethodpublic_key
(&self)
crate/crypto/src/crypto/mod.rs:67
↓ 29 callersFunctionassert_baseline
Assert common certificate properties: subject CN, issuer CN, validity, and serial number ≤ 20 bytes.
crate/test_kms_server/src/certify_tests.rs:115
↓ 29 callersMethodcleanup
(&self, client: &KmsClient)
crate/test_kms_server/src/certify_tests.rs:38
↓ 29 callersFunctionget_certificate_der
Retrieve DER bytes of a certificate object.
crate/test_kms_server/src/certify_tests.rs:55
↓ 29 callersFunctionreplace_dollars_with_qn
(sql: &str)
crate/server_database/src/stores/sql/sqlite.rs:360
↓ 28 callersFunctioncreate_symmetric_key
(client: &SocketClient, name: &str)
crate/server/src/tests/ttlv_tests/create_1_4.rs:34
↓ 28 callersMethoddelete
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 28 callersMethodextensions
(&self)
crate/server/src/core/operations/certify/subject.rs:109
↓ 28 callersFunctiontest_init
()
crate/clients/pkcs11/module/src/tests.rs:235
↓ 27 callersMethodcertify
This request is used to generate a Certificate object for a public key. This request supports the certification of a new public key, as well as the ce
crate/server/src/core/kms/kmip.rs:81
↓ 27 callersFunctionretrieve_object_for_operation
Retrieve a single object for a given operation type or the Get operation if not found. When tags are provided, the function will return the first obj
crate/server/src/core/retrieve_object_utils.rs:29
↓ 27 callersMethodset_link
Set a link to an object. If a link of the same type already exists, it is removed. There can only be one link of a given type.
crate/kmip/src/kmip_2_1/kmip_attributes.rs:637
↓ 27 callersMethodtoValue
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 27 callersFunctionx
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 26 callersFunctioncertify
(cli_conf_path: &str, certify_op: CertifyOp)
crate/clients/ckms/src/tests/certificates/certify.rs:66
↓ 26 callersFunctionuseAuth
()
ui/src/contexts/useAuth.ts:4
↓ 25 callersFunctioncreate_key
Create a `PreActive` symmetric key owned by `owner` and return its UID.
crate/server/src/tests/key_ceremony_tests.rs:127
↓ 25 callersMethodexec
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 25 callersMethodexecute
Execute the operation once, returning `true` on success. For `PreSerialized` ops the request bytes are sent without any serialization, and the respon
crate/clients/clap/src/actions/bench/load.rs:98
↓ 25 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:43
↓ 25 callersMethodpost
( &self, endpoint: &str, content: String, )
crate/clients/clap/src/actions/google/gmail_client/client_builder.rs:91
↓ 25 callersFunctionsplit_key
Split `key_uid` into `total_parts` XOR shares; return share UIDs.
crate/server/src/tests/key_ceremony_tests.rs:144
↓ 25 callersFunctionuseFn
(s=void 0)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 24 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
↓ 24 callersFunctionget
Get an object If the request contains a `KeyWrappingData`, the key will be wrapped. If the request contains a `KeyWrapType`, the key will be unwrappe
crate/server/src/core/operations/get.rs:19
↓ 24 callersFunctionimport_object_request
Build an ` Import ` request for a generic Object
crate/kmip/src/kmip_2_1/requests/import.rs:16
↓ 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:110
↓ 24 callersMethodvalues
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 23 callersMethodconcat
(mut a: Self, mut b: Self)
crate/crypto/src/crypto/fpe/ff1.rs:573
↓ 23 callersFunctionencode
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 23 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:262
↓ 23 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:52
↓ 23 callersFunctionnormalize_ttlv
Post-serialization normalization pass. See prior implementation notes in serializer.
crate/kmip/src/ttlv/normalize.rs:49
↓ 23 callersFunctionset_var
(key: &str, value: &Path)
crate/server/src/config/command_line/clap_config.rs:854
↓ 23 callersMethodtoArray
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 23 callersMethodwrite
(&self, ser: &mut Serializer)
crate/server_database/src/stores/redis/permissions.rs:104
↓ 22 callersFunctionassert_chain_valid
Validate a chain expressed as a slice of cert IDs. Asserts `Valid`.
crate/server/src/tests/test_validate.rs:177
↓ 22 callersFunctionbench_ko
Record a benchmark name as skipped/unsupported (for compact output).
crate/clients/clap/src/actions/bench/types.rs:14
↓ 22 callersMethodbits
(self)
crate/server/src/config/command_line/kmip_policy_config.rs:101
↓ 22 callersFunctionceremony_kms
Build a `KMS` configured for ceremony mode with the given CO users.
crate/server/src/tests/key_ceremony_tests.rs:87
↓ 22 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
↓ 22 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/server/src/core/kms/kmip.rs:288
↓ 22 callersFunctiongetNoTTLVRequest
(path: string, serverUrl: string)
ui/src/utils/utils.ts:194
↓ 22 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/server/src/core/kms/kmip.rs:439
↓ 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:60
↓ 22 callersMethodreader
Returns a reader connection using round-robin distribution.
crate/server_database/src/stores/sql/sqlite.rs:304
↓ 22 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:65
↓ 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:264
↓ 22 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:262
↓ 22 callersFunctiontv
(tag: &str, value: TTLValue)
crate/kmip/src/ttlv/normalize.rs:1067
↓ 22 callersFunctionuseComponent
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 21 callersFunctioncfg
()
crate/hsm/softhsm2/src/tests.rs:20
↓ 21 callersMethodcontext
(self, context: &str)
crate/clients/clap/src/error/result.rs:31
↓ 21 callersFunctioncreate_rsa_key_pair_request
Build a `CreateKeyPairRequest` for a RSA key pair.
crate/kmip/src/kmip_2_1/requests/create_key_pair.rs:27
↓ 21 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:20
↓ 21 callersFunctionget_tmp_sqlite_path
()
crate/server/src/tests/test_utils.rs:175
↓ 21 callersFunctionhttps_clap_config_opts
(kms_public_url: Option<String>)
crate/server/src/tests/test_utils.rs:69
↓ 21 callersFunctionisReferenceLikeElement
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 21 callersFunctionpqc_keygen
(algorithm_name: &str)
crate/crypto/src/crypto/pqc/mod.rs:198
↓ 21 callersFunctionsend_message
( kms: Arc<KMS>, owner: &str, operations: Vec<Operation>, )
crate/server/src/tests/hsm/mod.rs:337
↓ 21 callersMethodthen
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 21 callersMethodtoRefractedElement
(s,o,i={})
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 20 callersMethodattributes
Returns the `Attributes` of that object if any, an error otherwise
crate/kmip/src/kmip_2_1/kmip_objects.rs:422
↓ 20 callersFunctioncfg
()
crate/hsm/smartcardhsm/src/tests.rs:21
↓ 20 callersMethodcopyMetaAndAttributes
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 20 callersMethodset_unique_identifier
(&mut self, unique_identifier: &UniqueIdentifier)
crate/clients/clap/src/actions/console.rs:81
↓ 19 callersFunctioncfg
()
crate/hsm/proteccio/src/tests.rs:20
↓ 19 callersFunctioncfg
()
crate/hsm/crypt2pay/src/tests.rs:20
↓ 19 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
↓ 19 callersMethodfetch_element
Fetch the element that will be deserialized next Updates the `at_root` status if the deserializer is at the root
crate/kmip/src/ttlv/kmip_ttlv_deserializer/deserializer.rs:109
← previousnext →101–200 of 10,279, ranked by callers