Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Cosmian/kms
/ functions
Functions
12,829 in github.com/Cosmian/kms
⨍
Functions
12,829
◇
Types & classes
2,591
↓ 47 callers
Function
load_client_config
Load a client config template from `test_data/configs/client/{template}`, patch the `server_url` port to match the running test server, resolve relati
crate/clients/ckms/src/tests/utils/config.rs:35
↓ 47 callers
Method
parse
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 47 callers
Function
serializers_value
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 46 callers
Function
p
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 46 callers
Method
with_context
(self, op: O)
crate/clients/clap/src/error/result.rs:35
↓ 45 callers
Method
update
(&mut self, bytes: &[u8])
crate/crypto/src/crypto/symmetric/symmetric_ciphers.rs:869
↓ 44 callers
Method
has
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 44 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
↓ 44 callers
Function
post_json_raw
Post `body` as JSON to `uri` and return the HTTP status together with the parsed JSON reply (`Value::Null` if the reply is empty or not JSON), whateve
crate/server/src/tests/test_utils.rs:701
↓ 44 callers
Method
seeded_csrng
A `ChaCha12` generator seeded with 256 bits from the private DRBG. For third-party APIs that require an infallible `rand_core` 0.6 `CryptoRngCore` an
crate/crypto/src/crypto/rng/mod.rs:168
↓ 44 callers
Method
set_tags
Set the tags on the attributes
crate/kmip/src/kmip_2_1/extra/tagging.rs:65
↓ 44 callers
Function
setup_app
`log_init(None)` + `test_app` combo — cuts 2-line boilerplate to 1 per test.
crate/server/src/tests/test_utils.rs:207
↓ 43 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
↓ 43 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:336
↓ 43 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
↓ 42 callers
Function
read_bytes_from_file
Read all bytes from a file # Errors If the file cannot be opened or read, an error is returned.
crate/clients/client/src/file_utils.rs:23
↓ 42 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:674
↓ 41 callers
Method
run
(&self, kms_rest_client: KmsClient)
crate/clients/clap/src/actions/rng.rs:34
↓ 40 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
↓ 40 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
↓ 40 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
↓ 40 callers
Method
object_type
(&self)
crate/kmip/src/kmip_2_1/kmip_objects.rs:381
↓ 40 callers
Function
time_normalize
()
crate/kmip/src/time_utils.rs:18
↓ 39 callers
Function
https_clap_config
()
crate/server/src/tests/test_utils.rs:40
↓ 38 callers
Function
cloneDeep
(s,o={})
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 38 callers
Method
get_user
Get the user from the request depending on the authentication method.
crate/server/src/core/kms/permissions.rs:345
↓ 38 callers
Function
make_kms
Start a KMS with the enrollment endpoints configured, create the CA (owned by `default_username`) and delegate it to the enrollment service identity.
crate/server/src/tests/enrollment_tests.rs:126
↓ 38 callers
Method
public_key
(&self)
crate/crypto/src/crypto/mod.rs:73
↓ 38 callers
Method
push
(&mut self, v: T)
crate/kmip/src/ttlv/kmip_ttlv_serializer.rs:43
↓ 37 callers
Method
retrieve_object
Retrieve a single object from the database. This method retrieves an object identified by its `uid` and applies user and state filters to determine i
crate/server_database/src/core/database_objects.rs:286
↓ 36 callers
Function
get_tmp_sqlite_path
()
crate/server/src/tests/test_utils.rs:181
↓ 36 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:386
↓ 36 callers
Method
pop
(&mut self)
crate/kmip/src/ttlv/kmip_ttlv_serializer.rs:47
↓ 36 callers
Method
remove
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 36 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
↓ 35 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
↓ 35 callers
Function
encode
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 35 callers
Method
flush
Awaits until every event enqueued before this call has been written by the writer task (and, for the real `File` sink, `fsync`'d). Unlike `enqueue`, t
crate/server/src/core/audit/store.rs:236
↓ 35 callers
Function
get_key_uid
( key_id: Option<&String>, tags: Option<&Vec<String>>, argument_name: &str, )
crate/clients/clap/src/actions/shared/get_key_uid.rs:5
↓ 35 callers
Method
get_tags
(&self, vendor_id: &str)
crate/kmip/src/kmip_2_1/extra/tagging.rs:52
↓ 35 callers
Method
insert
Insert or update a cached object.
crate/server_database/src/core/object_cache.rs:136
↓ 35 callers
Function
open
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 35 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:31
↓ 35 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
↓ 34 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:144
↓ 34 callers
Method
extensions
(&self)
crate/server/src/core/operations/certify/subject.rs:112
↓ 34 callers
Function
rsa_key
(bits: u32)
crate/server/src/tests/enrollment_tests.rs:248
↓ 34 callers
Function
test_init
()
crate/clients/pkcs11/module/src/tests.rs:299
↓ 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
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
↓ 33 callers
Method
is_hsm
(self)
crate/interfaces/src/object_handle.rs:37
↓ 33 callers
Function
start
()
crate/test_kms_server/src/mock_gmail.rs:55
↓ 33 callers
Method
then
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 33 callers
Function
w
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 32 callers
Method
clear
Remove all object handles from the cache.
crate/hsm/base_hsm/src/slots.rs:126
↓ 32 callers
Function
export_key
(params: ExportKeyParams)
crate/clients/ckms/src/tests/shared/export.rs:60
↓ 32 callers
Function
send_message
( kms: Arc<KMS>, owner: &str, operations: Vec<Operation>, )
crate/server/src/tests/hsm/mod.rs:408
↓ 31 callers
Function
now
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 30 callers
Method
build
(self)
crate/clients/clap/src/actions/google/gmail_client/client_builder.rs:35
↓ 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
revoke
This operation requests the server to revoke a Managed Cryptographic Object or an Opaque Object. The request contains a reason for the revocation (e.g
crate/server/src/core/kms/kmip.rs:789
↓ 30 callers
Function
set_var
(key: &str, value: &Path)
crate/server/src/config/command_line/clap_config.rs:984
↓ 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:116
↓ 29 callers
Function
cfg
()
crate/hsm/softhsm2/src/tests.rs:21
↓ 29 callers
Method
cleanup
(&self, client: &KmsClient)
crate/test_kms_server/src/certify_tests.rs:40
↓ 29 callers
Function
get_certificate_der
Retrieve DER bytes of a certificate object.
crate/test_kms_server/src/certify_tests.rs:57
↓ 29 callers
Method
public_key
(&self)
crate/server/src/core/operations/certify/subject.rs:95
↓ 28 callers
Function
audit_url
Live audit database URL. Defaults to the repository's dedicated `docker-compose` `postgres-audit` service (see `.mise/lib/test_slots.sh`'s `KMS_AUDIT_
crate/server_database/src/stores/audit/pgsql.rs:978
↓ 28 callers
Function
certify
(cli_conf_path: &str, certify_op: CertifyOp)
crate/clients/ckms/src/tests/certificates/certify.rs:66
↓ 28 callers
Function
create_symmetric_key
(client: &SocketClient, name: &str)
crate/server/src/tests/ttlv_tests/create_1_4.rs:34
↓ 28 callers
Method
post
( &self, endpoint: &str, content: String, )
crate/clients/clap/src/actions/google/gmail_client/client_builder.rs:92
↓ 28 callers
Method
read
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 28 callers
Method
read
(&mut self, buf: &mut [u8])
crate/server/src/socket_server.rs:392
↓ 28 callers
Function
unique_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:986
↓ 27 callers
Function
cfg
()
crate/hsm/crypt2pay/src/tests.rs:20
↓ 27 callers
Function
pqc_keygen
( algorithm_name: &str, rng: Option<&KmsRng>, propquery: Option<&str>, )
crate/crypto/src/crypto/pqc/mod.rs:236
↓ 27 callers
Method
toValue
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 27 callers
Function
useAuth
()
ui/src/contexts/useAuth.ts:4
↓ 27 callers
Method
values
()
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
cfg
()
crate/hsm/proteccio/src/tests.rs:20
↓ 26 callers
Function
csr
(key: &PKey<Private>, cn: &str)
crate/server/src/tests/enrollment_tests.rs:252
↓ 26 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
↓ 26 callers
Function
https_clap_config_opts
(kms_public_url: Option<String>)
crate/server/src/tests/test_utils.rs:75
↓ 26 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
↓ 25 callers
Method
append
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 25 callers
Function
cfg
()
crate/hsm/aws_cloudhsm/src/tests.rs:24
↓ 25 callers
Function
cfg
()
crate/hsm/utimaco/src/tests.rs:19
↓ 25 callers
Function
cfg
()
crate/hsm/smartcardhsm/src/tests.rs:21
↓ 25 callers
Method
concat
(mut a: Self, mut b: Self)
crate/crypto/src/crypto/fpe/ff1.rs:573
↓ 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:124
↓ 25 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/clients/client/src/kms_rest_client.rs:177
↓ 25 callers
Method
delete
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 25 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:298
↓ 25 callers
Function
import_object_request
Build an ` Import ` request for a generic Object
crate/kmip/src/kmip_2_1/requests/import.rs:16
↓ 25 callers
Function
split_key
Split `key_uid` into `total_parts` XOR shares; return share UIDs.
crate/server/src/tests/key_ceremony_tests.rs:141
↓ 25 callers
Function
timed_group
Create a criterion benchmark group and (re)start its per-group timer.
crate/clients/clap/src/actions/bench/transport.rs:80
↓ 25 callers
Function
useFn
(s=void 0)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 24 callers
Function
bench_ko
Record a benchmark name as skipped/unsupported (for compact output).
crate/clients/clap/src/actions/bench/types.rs:14
← previous
next →
101–200 of 12,829, ranked by callers