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
↓ 24 callers
Method
bits
(self)
crate/server/src/config/command_line/kmip_policy_config.rs:101
↓ 24 callers
Function
clone
(o)
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
Method
exec
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 24 callers
Method
get_attributes
This operation requests one or more attributes associated with a Managed Object. The object is specified by its Unique Identifier, and the attributes
crate/server/src/core/kms/kmip.rs:353
↓ 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:101
↓ 24 callers
Function
test_object_id
A fresh, unique `CKA_ID` for an object created by these shared tests.
crate/hsm/base_hsm/src/tests_shared.rs:221
↓ 24 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
↓ 23 callers
Method
context
(self, context: &str)
crate/clients/clap/src/error/result.rs:31
↓ 23 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
↓ 23 callers
Function
getNoTTLVRequest
(path: string, serverUrl: string)
ui/src/utils/utils.ts:207
↓ 23 callers
Function
hsm_clap_config
(owner: &str, kek_id: Option<Uuid>)
crate/server/src/tests/hsm/mod.rs:172
↓ 23 callers
Method
load
Load the configuration from a toml file. # Errors Return an error if the configuration file is not found or if the file is not a valid toml file.
crate/clients/ckms/src/config.rs:40
↓ 23 callers
Function
normalize_ttlv
Post-serialization normalization pass. See prior implementation notes in serializer.
crate/kmip/src/ttlv/normalize.rs:49
↓ 23 callers
Method
run_with_writer
Run the export, writing output to the provided writer. For stdout call `run_with_writer(&mut std::io::stdout().lock())`. For tests pass `&mut Vec::ne
crate/clients/clap/src/actions/audit.rs:239
↓ 23 callers
Method
serial_number
(&self)
crate/clients/pkcs11/provider/src/pkcs11_certificate.rs:89
↓ 23 callers
Method
toArray
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 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:168
↓ 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
Function
certify
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:102
↓ 22 callers
Method
content_type
HTTP `Content-Type` header value for this transport.
crate/clients/clap/src/actions/bench/transport.rs:127
↓ 22 callers
Method
destroy
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
↓ 22 callers
Function
destroy_key
(client: &KmsClient, uid: &str)
crate/test_kms_server/src/pgp_gnupg_tests.rs:324
↓ 22 callers
Method
get
(&self, attribute_type: AttributeType)
crate/clients/pkcs11/module/src/core/attribute.rs:427
↓ 22 callers
Function
hash
(body: Json<HashRequest>)
crate/server/src/routes/tokenize/mod.rs:55
↓ 22 callers
Method
is_success
(&self)
crate/access/src/audit/event.rs:78
↓ 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:59
↓ 22 callers
Method
resume
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:812
↓ 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:415
↓ 22 callers
Method
state
(&self)
crate/interfaces/src/stores/object_with_metadata.rs:83
↓ 22 callers
Method
subject_name
(&self)
crate/server/src/core/operations/certify/issuer.rs:53
↓ 22 callers
Function
to_cef_line
(event: &AuditEvent, kms_version: &str)
crate/access/src/audit/cef.rs:41
↓ 22 callers
Function
tv
(tag: &str, value: TTLValue)
crate/kmip/src/ttlv/normalize.rs:1069
↓ 22 callers
Function
useComponent
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 21 callers
Function
compute_row_hash
(event: &AuditEvent)
crate/access/src/audit/hash.rs:110
↓ 21 callers
Method
create
Create the given Object in the database. A new UUID will be created if none is supplier. This method will fail if an ` uid ` is supplied and an object
crate/server_database/src/core/database_objects.rs:200
↓ 21 callers
Method
create
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:158
↓ 21 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
↓ 21 callers
Method
headers
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 21 callers
Function
isReferenceLikeElement
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 21 callers
Method
last
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 21 callers
Function
make_draft
()
crate/server/src/core/audit/store.rs:307
↓ 21 callers
Function
make_event
(result: AuditResult)
crate/access/src/audit/cef.rs:182
↓ 21 callers
Method
query
This operation is used by the client to interrogate the server to determine its capabilities and/or protocol mechanisms. The Query operation SHOULD be
crate/server/src/core/kms/kmip.rs:565
↓ 21 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
↓ 21 callers
Method
set_unique_identifier
(&mut self, unique_identifier: &UniqueIdentifier)
crate/clients/clap/src/actions/console.rs:81
↓ 21 callers
Method
toRefractedElement
(s,o,i={})
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 21 callers
Method
update_object
This method updates the specified object identified by its `uid` in the database. If the `tags` parameter is `None`, the tags will not be updated. #
crate/server_database/src/core/database_objects.rs:377
↓ 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
basic_auth
(user: &str, password: &str)
crate/server/src/tests/enrollment_tests.rs:282
↓ 20 callers
Method
copyMetaAndAttributes
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 20 callers
Function
create_rsa_key_pair
( cli_conf_path: &str, options: &RsaKeyPairOptions, )
crate/clients/ckms/src/tests/rsa/create_key_pair.rs:24
↓ 20 callers
Method
reader
Returns a reader connection using round-robin distribution.
crate/server_database/src/stores/sql/sqlite.rs:483
↓ 20 callers
Function
revoke
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:121
↓ 20 callers
Function
scoped
Run `test` on the test slot, then destroy only the objects it created.
crate/hsm/luna/src/tests.rs:46
↓ 20 callers
Method
sign
Sign data using the specified key and algorithm
crate/hsm/base_hsm/src/session/session_impl.rs:1760
↓ 20 callers
Method
slug
Filename-safe slug for output files (e.g. `"benchmarks_kmip-json.json"`).
crate/clients/clap/src/actions/bench/types.rs:141
↓ 20 callers
Method
verify
Verify `signature` over the provided data (or accumulated `C_VerifyUpdate` payload if data is not provided). A cryptographically invalid signature sur
crate/clients/pkcs11/module/src/sessions.rs:820
↓ 19 callers
Function
downloadFile
(data: string | Uint8Array, filename: string, mimeType: string)
ui/src/utils/utils.ts:255
↓ 19 callers
Method
events_page
Fetches up to one page of events for `(instance_id, generation)` with `id > after_id`, in ascending order. Returns an empty `Vec` once the generation
crate/server_database/src/stores/audit/pgsql.rs:931
↓ 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:114
↓ 19 callers
Method
find
( &self, _slot_id: usize, _object_filter: HsmObjectFilter, )
crate/server/src/core/operations/certify/hsm_subject_tests.rs:147
↓ 19 callers
Method
get
(&self, endpoint: &str)
crate/clients/clap/src/actions/google/gmail_client/client_builder.rs:83
↓ 19 callers
Function
none_if_empty
Converts an `Option<String>` containing an empty or whitespace-only value to `None`. This guards against UI form fields that produce `""` when cleare
crate/clients/wasm/src/wasm.rs:103
↓ 19 callers
Method
output
(&self)
crate/crypto/src/crypto/fpe/ff1.rs:291
↓ 19 callers
Function
submitAndWaitForDownload
( page: Page, timeoutMs: number = UI_RESPONSE_TIMEOUT, )
ui/tests/e2e/helpers.ts:92
↓ 18 callers
Function
app
()
crate/server/src/tests/google_cse/crypto_paths.rs:37
↓ 18 callers
Method
atomic
Perform an atomic set of operations on the database. This function executes a series of operations (typically in a transaction) atomically. It assume
crate/server_database/src/core/database_objects.rs:737
↓ 18 callers
Function
create
(flags: CK_FLAGS)
crate/clients/pkcs11/module/src/sessions.rs:1018
↓ 18 callers
Function
create_ca
Create a self-signed CA keypair + certificate using `build_certify_request` with `generate_key_pair = true` and no issuer.
crate/test_kms_server/src/certify_tests.rs:69
↓ 18 callers
Function
create_gpg_home
()
crate/test_kms_server/src/pgp_gnupg_tests.rs:91
↓ 18 callers
Function
encrypt_request
( key_id: UniqueIdentifier, block_cipher_mode: BlockCipherMode, data: Vec<u8>, )
crate/server/src/tests/bulk_encrypt_decrypt_tests.rs:170
↓ 18 callers
Method
enqueue
Enqueues one or more draft events for writing. Non-blocking: if the channel is full an event is dropped and the `dropped_count` counter is incremente
crate/server/src/core/audit/store.rs:202
↓ 18 callers
Function
est_enroll
( app: &S, csr: &X509Req, auth: Option<(&str, String)>, )
crate/server/src/tests/enrollment_tests.rs:402
↓ 18 callers
Function
export_object
Export an Object from the KMS # Arguments `kms_rest_client` - The KMS client connector `object_id_or_tags` - The KMS object id or tags `params` - Exp
crate/clients/client/src/export_utils.rs:64
↓ 18 callers
Function
f
(o,i,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 18 callers
Function
generate_aes_key
(slot: &Arc<SlotManager>)
crate/hsm/base_hsm/src/tests_shared.rs:266
↓ 18 callers
Function
gpg_bin
()
crate/test_kms_server/src/pgp_gnupg_tests.rs:42
↓ 18 callers
Function
j
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 18 callers
Function
kmip_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
↓ 18 callers
Method
list_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:79
↓ 18 callers
Function
make_event
(id: i64, prev_hash: [u8; 32])
crate/server_database/src/stores/audit/pgsql.rs:990
↓ 18 callers
Method
owner
(&self)
crate/interfaces/src/stores/object_with_metadata.rs:72
↓ 18 callers
Function
params_with
( digital_signature_algorithm: Option<DigitalSignatureAlgorithm>, cryptographic_algorithm: Opt
crate/interfaces/src/crypto_oracle.rs:842
↓ 18 callers
Method
post_no_ttlv
( &self, endpoint: &str, data: Option<&O>, )
crate/clients/client/src/kms_rest_client.rs:922
↓ 18 callers
Method
private_key
(&self)
crate/crypto/src/crypto/mod.rs:67
↓ 18 callers
Function
random_nonce
Generate a random nonce for the given symmetric cipher.
crate/crypto/src/crypto/symmetric/symmetric_ciphers.rs:435
↓ 18 callers
Function
resolve
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 18 callers
Function
run_gpg
Runs gpg inside an isolated, 0700 temp GNUPGHOME with `--batch --yes --no-tty --pinentry-mode loopback --passphrase ""`.
crate/test_kms_server/src/pgp_gnupg_tests.rs:56
↓ 18 callers
Method
to_bytes
Serialize the data to encrypt to bytes
crate/kmip/src/data_to_encrypt.rs:26
↓ 18 callers
Method
write
(&mut self, buf: &[u8])
crate/server/src/core/operations/message.rs:665
↓ 17 callers
Function
auth_verifier_token
An Auth Verifier-shaped JWT; signatures are not checked in test builds.
crate/server/src/middlewares/auth_verifier/token.rs:344
↓ 17 callers
Function
build_certify_request
Build a KMIP `Certify` request. # Errors Returns an error if the number of days is out of range, if a subject name cannot be parsed, or if the tags o
crate/clients/client_utils/src/certificate_utils.rs:199
↓ 17 callers
Function
decrypt_request
( algorithm: &str, encrypted_data_encryption_key: String, wrapped_private_key: String, )
crate/server/src/tests/google_cse/crypto_paths.rs:360
↓ 17 callers
Function
delete_key
(key_uid: &str, owner: &str, kms: &Arc<KMS>)
crate/server/src/tests/hsm/mod.rs:347
↓ 17 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
↓ 17 callers
Method
encrypt
( &'a self, _slot_id: usize, _key_id: &'a [u8], _algorithm: CryptoAlgorithm,
crate/server/src/tests/hsm/fake_hsm_authz.rs:171
↓ 17 callers
Function
generate_crl_der
Call `generate_crl` and return the DER bytes.
crate/server/src/tests/crl_tests.rs:214
↓ 17 callers
Function
grant_ops
Helper: grant operations on an HSM key
crate/server/src/tests/hsm/permissions.rs:60
↓ 17 callers
Function
parse_uid_with_prefix
Parse the `uid` into a `(slot_id, key_id)` pair, stripping the given prefix.
crate/interfaces/src/hsm/hsm_store.rs:1602
← previous
next →
201–300 of 12,829, ranked by callers