Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Cosmian/kms
/ functions
Functions
10,279 in github.com/Cosmian/kms
⨍
Functions
10,279
◇
Types & classes
2,373
↓ 38 callers
Function
cloneDeep
(s,o={})
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 38 callers
Method
key_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 callers
Function
post_json_with_uri
(app: &S, operation: O, uri: &str)
crate/server/src/tests/test_utils.rs:438
↓ 37 callers
Method
attributes_mut
Returns the `Attributes` of that object if any, an error otherwise
crate/kmip/src/kmip_2_1/kmip_objects.rs:427
↓ 37 callers
Method
get_tags
(&self, vendor_id: &str)
crate/kmip/src/kmip_2_1/extra/tagging.rs:34
↓ 37 callers
Method
get_user
Get the user from the request depending on the authentication method.
crate/server/src/core/kms/permissions.rs:343
↓ 36 callers
Function
create_ec_key_pair_request
Build a `CreateKeyPairRequest` for an elliptic curve
crate/kmip/src/kmip_2_1/requests/create_key_pair.rs:178
↓ 36 callers
Method
push
(&mut self, v: T)
crate/kmip/src/ttlv/kmip_ttlv_serializer.rs:42
↓ 35 callers
Method
to_der
(&self)
crate/clients/pkcs11/provider/src/pkcs11_certificate.rs:69
↓ 34 callers
Method
create_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 callers
Method
get
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 callers
Method
object_type
(&self)
crate/kmip/src/kmip_2_1/kmip_objects.rs:381
↓ 34 callers
Function
run_ckms_expect_error
Run a ckms command expecting failure, return the stderr message.
crate/clients/ckms/src/tests/utils/run.rs:39
↓ 33 callers
Function
extract_uid
Extract the `key_uid` (prefixed by a pattern) from a text
crate/clients/ckms/src/tests/utils/extract_uids.rs:4
↓ 33 callers
Method
key_block_mut
Returns the `KeyBlock` of that object if any, an error otherwise
crate/kmip/src/kmip_2_1/kmip_objects.rs:432
↓ 33 callers
Function
read
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 33 callers
Function
time_normalize
()
crate/kmip/src/time_utils.rs:18
↓ 33 callers
Function
w
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 32 callers
Function
export_key
(params: ExportKeyParams)
crate/clients/ckms/src/tests/shared/export.rs:60
↓ 32 callers
Function
make_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 callers
Function
now
()
crate/server/src/core/operations/auto_rotate.rs:398
↓ 32 callers
Method
open_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 callers
Method
pop
(&mut self)
crate/kmip/src/ttlv/kmip_ttlv_serializer.rs:46
↓ 32 callers
Method
run
(&self, kms_rest_client: KmsClient)
crate/clients/clap/src/actions/rng.rs:34
↓ 31 callers
Method
set_tags
Set the tags on the attributes
crate/kmip/src/kmip_2_1/extra/tagging.rs:47
↓ 31 callers
Function
time_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 callers
Method
clear
Remove all object handles from the cache.
crate/hsm/base_hsm/src/slots.rs:84
↓ 30 callers
Method
enter
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 30 callers
Method
find
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 30 callers
Method
insert
Insert or update a cached object.
crate/server_database/src/core/object_cache.rs:103
↓ 30 callers
Method
public_key
(&self)
crate/crypto/src/crypto/mod.rs:67
↓ 29 callers
Function
assert_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 callers
Method
cleanup
(&self, client: &KmsClient)
crate/test_kms_server/src/certify_tests.rs:38
↓ 29 callers
Function
get_certificate_der
Retrieve DER bytes of a certificate object.
crate/test_kms_server/src/certify_tests.rs:55
↓ 29 callers
Function
replace_dollars_with_qn
(sql: &str)
crate/server_database/src/stores/sql/sqlite.rs:360
↓ 28 callers
Function
create_symmetric_key
(client: &SocketClient, name: &str)
crate/server/src/tests/ttlv_tests/create_1_4.rs:34
↓ 28 callers
Method
delete
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 28 callers
Method
extensions
(&self)
crate/server/src/core/operations/certify/subject.rs:109
↓ 28 callers
Function
test_init
()
crate/clients/pkcs11/module/src/tests.rs:235
↓ 27 callers
Method
certify
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 callers
Function
retrieve_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 callers
Method
set_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 callers
Method
toValue
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 27 callers
Function
x
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 26 callers
Function
certify
(cli_conf_path: &str, certify_op: CertifyOp)
crate/clients/ckms/src/tests/certificates/certify.rs:66
↓ 26 callers
Function
useAuth
()
ui/src/contexts/useAuth.ts:4
↓ 25 callers
Function
create_key
Create a `PreActive` symmetric key owned by `owner` and return its UID.
crate/server/src/tests/key_ceremony_tests.rs:127
↓ 25 callers
Method
exec
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 25 callers
Method
execute
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 callers
Method
grant_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 callers
Method
post
( &self, endpoint: &str, content: String, )
crate/clients/clap/src/actions/google/gmail_client/client_builder.rs:91
↓ 25 callers
Function
split_key
Split `key_uid` into `total_parts` XOR shares; return share UIDs.
crate/server/src/tests/key_ceremony_tests.rs:144
↓ 25 callers
Function
useFn
(s=void 0)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 24 callers
Function
create_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 callers
Function
get
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 callers
Function
import_object_request
Build an ` Import ` request for a generic Object
crate/kmip/src/kmip_2_1/requests/import.rs:16
↓ 24 callers
Function
pqc_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 callers
Method
values
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 23 callers
Method
concat
(mut a: Self, mut b: Self)
crate/crypto/src/crypto/fpe/ff1.rs:573
↓ 23 callers
Function
encode
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 23 callers
Method
encrypt
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 callers
Function
kmip_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 callers
Function
normalize_ttlv
Post-serialization normalization pass. See prior implementation notes in serializer.
crate/kmip/src/ttlv/normalize.rs:49
↓ 23 callers
Function
set_var
(key: &str, value: &Path)
crate/server/src/config/command_line/clap_config.rs:854
↓ 23 callers
Method
toArray
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 23 callers
Method
write
(&self, ser: &mut Serializer)
crate/server_database/src/stores/redis/permissions.rs:104
↓ 22 callers
Function
assert_chain_valid
Validate a chain expressed as a slice of cert IDs. Asserts `Valid`.
crate/server/src/tests/test_validate.rs:177
↓ 22 callers
Function
bench_ko
Record a benchmark name as skipped/unsupported (for compact output).
crate/clients/clap/src/actions/bench/types.rs:14
↓ 22 callers
Method
bits
(self)
crate/server/src/config/command_line/kmip_policy_config.rs:101
↓ 22 callers
Function
ceremony_kms
Build a `KMS` configured for ceremony mode with the given CO users.
crate/server/src/tests/key_ceremony_tests.rs:87
↓ 22 callers
Method
decrypt
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 callers
Method
encrypt
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 callers
Function
getNoTTLVRequest
(path: string, serverUrl: string)
ui/src/utils/utils.ts:194
↓ 22 callers
Method
import
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 callers
Function
read_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 callers
Method
reader
Returns a reader connection using round-robin distribution.
crate/server_database/src/stores/sql/sqlite.rs:304
↓ 22 callers
Method
record
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 callers
Function
start_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 callers
Method
text
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 callers
Function
tv
(tag: &str, value: TTLValue)
crate/kmip/src/ttlv/normalize.rs:1067
↓ 22 callers
Function
useComponent
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 21 callers
Function
cfg
()
crate/hsm/softhsm2/src/tests.rs:20
↓ 21 callers
Method
context
(self, context: &str)
crate/clients/clap/src/error/result.rs:31
↓ 21 callers
Function
create_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 callers
Function
encrypt_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 callers
Function
get_tmp_sqlite_path
()
crate/server/src/tests/test_utils.rs:175
↓ 21 callers
Function
https_clap_config_opts
(kms_public_url: Option<String>)
crate/server/src/tests/test_utils.rs:69
↓ 21 callers
Function
isReferenceLikeElement
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 21 callers
Function
pqc_keygen
(algorithm_name: &str)
crate/crypto/src/crypto/pqc/mod.rs:198
↓ 21 callers
Function
send_message
( kms: Arc<KMS>, owner: &str, operations: Vec<Operation>, )
crate/server/src/tests/hsm/mod.rs:337
↓ 21 callers
Method
then
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 21 callers
Method
toRefractedElement
(s,o,i={})
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 20 callers
Method
attributes
Returns the `Attributes` of that object if any, an error otherwise
crate/kmip/src/kmip_2_1/kmip_objects.rs:422
↓ 20 callers
Function
cfg
()
crate/hsm/smartcardhsm/src/tests.rs:21
↓ 20 callers
Method
copyMetaAndAttributes
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 20 callers
Method
set_unique_identifier
(&mut self, unique_identifier: &UniqueIdentifier)
crate/clients/clap/src/actions/console.rs:81
↓ 19 callers
Function
cfg
()
crate/hsm/proteccio/src/tests.rs:20
↓ 19 callers
Function
cfg
()
crate/hsm/crypt2pay/src/tests.rs:20
↓ 19 callers
Function
decrypt_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 callers
Method
fetch_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
← previous
next →
101–200 of 10,279, ranked by callers