Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Cosmian/kms
/ functions
Functions
16,000 in github.com/Cosmian/kms
⨍
Functions
16,000
◇
Types & classes
2,898
↓ 4 callers
Function
verify_signature
( key: &PKey<Public>, algorithm: SshSignatureAlgorithm, payload: &[u8], signature: &[u8], )
crate/server/src/routes/ssh/certificate.rs:395
↓ 4 callers
Method
visit_str
(self, v: &str)
crate/kmip/src/ttlv/deserialize.rs:29
↓ 4 callers
Function
with_private_key_uid
Set the private key identifier of a key pair request built without one; the server derives the public key identifier as `<uid>_pk`.
crate/clients/clap/src/actions/bench/helpers.rs:370
↓ 4 callers
Function
wrapWithTryCatch
(s,{logErrors:o=!0}={})
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callers
Function
wrap_policy_error
Keep the KMIP error envelope: KMIP/invalid-request errors pass through, others become `Cryptographic_Failure`. No object UIDs in the message (EST retu
crate/server/src/core/operations/algorithm_policy.rs:156
↓ 4 callers
Function
wrapping_key_link_test
Verify the `wrapping_key_id` write path and `find_wrapped_by` query across every backend: a wrapped object must be discoverable by its wrapping key, w
crate/server_database/src/tests/database_tests.rs:1252
↓ 4 callers
Method
write
(&mut self, buf: &[u8])
crate/server_database/src/core/fingerprinter.rs:34
↓ 4 callers
Method
write_event_atomic
( &mut self, event: &AuditEvent, )
crate/server/src/core/audit/store.rs:1326
↓ 4 callers
Function
zero
()
crate/clients/k8s/operator/src/controller.rs:505
↓ 4 callers
Function
zeroized_copy
What a Destroy leaves behind: the same object with empty key material.
crate/server_database/src/tests/mod.rs:303
↓ 3 callers
Function
$f
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callers
Function
$g
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callers
Function
Bh
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callers
Function
Cc
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callers
Function
Ch
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callers
Function
Eh
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callers
Function
Hj
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callers
Function
Ie
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callers
Function
Ik
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callers
Function
IndexedIterable
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callers
Function
Iterable
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callers
Function
Jg
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callers
Function
K
(s,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callers
Function
Kb
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callers
Function
Lg
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callers
Function
Mh
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callers
Function
Ne
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callers
Function
Nh
(s,o,i,u,_,w)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callers
Function
Qg
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callers
Function
SetIterable
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callers
Function
SetRef
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callers
Function
SetSeq
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callers
Function
Sg
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callers
Function
Sh
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callers
Function
Th
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callers
Function
Tr
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callers
Function
Wc
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callers
Function
Xa
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callers
Function
_arity
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callers
Function
_assertThisInitialized
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callers
Function
_curry1
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callers
Function
_highlight
(s,o,u,x)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callers
Function
_map
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callers
Method
_update_length
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callers
Function
accept_tls
Run the TLS handshake within `timeout` (total, not per `recv`), then switch the socket to the [`SOCKET_IO_TIMEOUT`] idle timeout.
crate/server/src/socket_server.rs:448
↓ 3 callers
Function
access_policy_from_attributes
Extract an `Covercrypt` Access policy from attributes
crate/crypto/src/crypto/mod.rs:128
↓ 3 callers
Function
add_attributes
(client: &SocketClient, key_id: &str)
crate/server/src/tests/ttlv_tests/add_attribute_2_1.rs:38
↓ 3 callers
Function
admin_kms
A test KMS whose `default_username` is `admin`.
crate/server/src/middlewares/ensure_auth.rs:132
↓ 3 callers
Function
aead_decrypt
( key: &SymmetricKey<{ Aes256Gcm::KEY_LENGTH }>, ctx: &[u8], ad: Option<&[u8]>, )
crate/crypto/src/crypto/cover_crypt/decryption.rs:184
↓ 3 callers
Function
aes256_ecb_block
Encrypt a single 128-bit block with AES-256-ECB via OpenSSL (no padding). The key and block lengths are invariants enforced by the call sites; an Ope
crate/crypto/src/crypto/fpe/ff1.rs:19
↓ 3 callers
Function
aes_cmac
One-shot AES-CMAC of `data` under `key`. # Errors Returns an error if the key length is not an AES key length or OpenSSL fails.
crate/crypto/src/crypto/symmetric/mac.rs:240
↓ 3 callers
Function
aes_gcm_decrypt
AES-GCM decrypt using the recovered CEK. Returns the plaintext on success, or an error if the authentication tag does not verify.
crate/server/src/routes/jose/aes_gcm.rs:92
↓ 3 callers
Function
aes_gcm_known_answers
AES-GCM on the token against the OpenSSL/NIST vectors (no AAD, the HSM path has none): the token decrypts the known ciphertext, and the IV it returns
crate/hsm/base_hsm/src/tests_shared.rs:840
↓ 3 callers
Function
aes_gcm_vectors
AES-GCM vectors: OpenSSL, NIST CAVP, Wycheproof.
crate/crypto/src/kat_vectors.rs:546
↓ 3 callers
Function
aes_key_wrap
AES-KW and AES-KWP round-trip; on the `C_WrapKey` path, wrapping needs `CKA_WRAP`.
crate/hsm/base_hsm/src/tests_shared.rs:899
↓ 3 callers
Function
aes_mac_known_answers
Known answers of `CKM_AES_CMAC` (SP 800-38B) and `CKM_AES_GMAC` (IEEE 802.1AE) on the token, for the mechanisms it lists; the keys are session objects
crate/hsm/base_hsm/src/tests_shared.rs:772
↓ 3 callers
Function
ah
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callers
Function
aj
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callers
Method
algorithm
(&self)
crate/clients/pkcs11/module/src/traits/certificate.rs:12
↓ 3 callers
Function
allowed_origins_cors
CORS policy for the scopes that accept session cookies (KMIP, `/v1/crypto`, `/tokenize`): same-origin plus the configured `cors_allowed_origins`, with
crate/server/src/start_kms_server.rs:2353
↓ 3 callers
Method
allows_variable_nonce
(&self)
crate/crypto/src/crypto/symmetric/symmetric_ciphers.rs:401
↓ 3 callers
Function
anchored
(pattern: &str)
crate/server/src/core/operations/certify/template.rs:117
↓ 3 callers
Function
append_bounded
Append `data` to a multi-part input buffer within the per-operation, per-user and global byte budgets (`Server Limit Exceeded` otherwise).
crate/server/src/core/operations/key_ops/multi_part.rs:240
↓ 3 callers
Function
applyPatch
(s,o,i,u,_)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callers
Method
apply_str
Applies the chosen hash method to the input data. # Arguments `data` - input string to be hashed. # Returns The base64-encoded hash string.
crate/crypto/src/crypto/anonymization/hash.rs:74
↓ 3 callers
Function
approle_admin_url
Build an auth-verifier `AppRole` **admin** endpoint URL. The admin API is served **directly** by the auth-verifier under `/auth/approle` — never unde
crate/clients/clap/src/actions/vault/approle.rs:138
↓ 3 callers
Function
arb_protocol_version
()
crate/kmip/src/ttlv/tests/proptest_roundtrip.rs:26
↓ 3 callers
Function
armored
(public: &SignedPublicKey)
crate/crypto/src/crypto/openpgp/mod.rs:1273
↓ 3 callers
Function
arrCopy
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callers
Function
assert_backend_unreachable
(err: &str)
crate/clients/cng/src/key.rs:794
↓ 3 callers
Function
assert_cron_lock_exclusion
Two servers sharing one database (or two nodes of one cluster) must never run the same job at the same time. `cancel_frees_lock` is false for TTL leas
crate/server_database/src/core/mod.rs:759
↓ 3 callers
Function
assert_evicted_with_secret
The object, rotate-name and unwrapped (plaintext key) cache entries of `uid` are gone.
crate/server_database/src/core/database_objects.rs:2092
↓ 3 callers
Function
assert_fixture_preserved
( pool: &SqlitePool, path: &Path, original: &[TableRows; 3], )
crate/server_database/src/tests/sqlite_migration_tests.rs:267
↓ 3 callers
Function
assert_heartbeats
(database: &Database)
crate/server_database/src/core/mod.rs:671
↓ 3 callers
Function
assert_injected
(result: crate::error::DbResult<impl std::fmt::Debug>)
crate/server_database/src/core/database_objects.rs:2104
↓ 3 callers
Function
assert_lock_released
(path: &Path)
crate/server_database/src/tests/sqlite_migration_tests.rs:139
↓ 3 callers
Function
assert_not_bound
(result: KResult<Zeroizing<Vec<u8>>>, uid: &str)
crate/server/src/tests/row_binding_tests.rs:65
↓ 3 callers
Function
assert_pqc_export_raw_roundtrip
Generate a PQC key pair, export the private and public keys as Raw bytes, then export them again in default (PKCS#8) format and locally convert to Raw
crate/test_kms_server/src/pqc_export_tests.rs:41
↓ 3 callers
Function
assert_reason
(result: &KResult<T>, reason: ErrorReason)
crate/server/src/tests/hsm/rotation.rs:91
↓ 3 callers
Function
assert_recovers_into_generation_1
Shared post-corruption assertions for seal-and-roll recovery: `resume()` must succeed (not fail closed), generation 0 must be byte-for-byte unchanged
crate/server_database/src/stores/audit/pgsql.rs:1075
↓ 3 callers
Function
assert_refused_with
(result: &KResult<T>, fragment: &str)
crate/server/src/tests/hsm/rotation.rs:98
↓ 3 callers
Function
assert_revoked
(cli_conf_path: &str, key_id: &str)
crate/clients/ckms/src/tests/shared/revoke.rs:46
↓ 3 callers
Function
assert_roundtrip
(kms: &Arc<KMS>, owner: &str, pk: &str, sk: &str)
crate/server/src/tests/hsm/hybrid_kem_dek.rs:274
↓ 3 callers
Function
assert_route_denied
(app: &S, uri: &str, body: &Value, expected: &str)
crate/server/src/tests/kmip_policy/routes.rs:120
↓ 3 callers
Function
assert_state_synced
The 5.30.0 `StoredStateSync` contract for one `(object, attributes)` row: the attributes carry the state the read path reports, the embedded attribute
crate/server_database/src/tests/sqlite_migration_tests.rs:676
↓ 3 callers
Function
assert_success
Assert that the response indicates success. For `ResponseMessage` envelopes, checks `ResultStatus` == "Success". For bare operation responses (e.g. `
crate/test_kms_server/src/vector_runner.rs:889
↓ 3 callers
Function
at
(s: &Sample)
crate/clients/clap/src/actions/bench/cek_switch.rs:211
↓ 3 callers
Function
attrs
(object: &Object)
crate/server_database/src/core/database_objects.rs:2255
↓ 3 callers
Function
audit_conf
()
crate/server/src/config/params/server_params.rs:2072
↓ 3 callers
Function
authz_token
An authorization token issued by the local identity provider.
crate/server/src/tests/google_cse/utils.rs:205
↓ 3 callers
Function
bad_request
(message: &str)
crate/server/src/routes/scep/mod.rs:43
↓ 3 callers
Function
base64_response
Build a `200 OK` response whose body is the base64 encoding of `der` (RFC 7030 §4.1.3 / §4.2.3 `Content-Transfer-Encoding: base64`).
crate/server/src/routes/est/mod.rs:30
↓ 3 callers
Function
batch_count_header
Build a minimal well-formed TTLV binary `RequestMessage` with a specific `BatchCount` field value and a given number of actual batch item payloads (he
crate/clients/clap/src/tests/serialization/batch_abuse.rs:59
↓ 3 callers
Function
begin_oidc_login
`GET /login_flow`: the `state`, `nonce` and `code_challenge` sent to the `IdP`, and the flow cookie sealing them.
crate/server/src/routes/ui_auth.rs:1685
↓ 3 callers
Function
benchmark_key_uid
(delegated: bool, hsm_slot: usize, name: &str)
crate/clients/clap/src/actions/pkcs11/bench/setup.rs:147
↓ 3 callers
Method
bind_text
(&mut self, value: impl Into<String>)
crate/server_database/src/stores/sql/locate_query.rs:290
↓ 3 callers
Function
bl
(s,o,i,u,_,w,x,C,j)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callers
Function
budget
()
crate/server/src/socket_server.rs:976
↓ 3 callers
Method
buffer
An empty input buffer charged to `user`, for operations that need the whole message.
crate/server/src/core/operations/key_ops/multi_part.rs:342
↓ 3 callers
Function
buildCreateSplitKeyRequest
(keyId: string, n: number)
ui/src/utils/splitKeyUtils.ts:10
← previous
next →
1,901–2,000 of 16,000, ranked by callers