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
↓ 2 callers
Method
is_owm_authorized_with_get_wildcard
Owner-aware variant of [`Self::is_user_authorized_with_get_wildcard`]. The object owner is read directly from `owm` (already loaded, typically from t
crate/server/src/core/operations/key_ops/crypto_op.rs:683
↓ 2 callers
Function
is_pqc_algorithm
(algo: Option<CryptographicAlgorithm>)
crate/server/src/core/operations/export_get.rs:1059
↓ 2 callers
Method
is_pqc_signature
(&self)
crate/kmip/src/kmip_2_1/kmip_types.rs:227
↓ 2 callers
Function
is_revoked
`true` when a certificate in `state` with these `attributes` is revoked: listed on the CRL, `revoked` for OCSP. A certificate destroyed without ever b
crate/server/src/core/operations/generate_crl.rs:409
↓ 2 callers
Method
is_rsa
(&self)
crate/clients/pkcs11/module/src/traits/key_algorithm.rs:62
↓ 2 callers
Function
is_sealed_audit_evidence_file
Returns whether `path` follows the seal-and-roll evidence naming convention. Sealed files are intentionally not required to form valid chains themsel
crate/clients/clap/src/actions/audit.rs:843
↓ 2 callers
Method
is_set
(&self)
crate/clients/clap/src/actions/shared/rotation_policy_args.rs:45
↓ 2 callers
Function
is_typed_array
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Method
is_valid
(&self, radix: u32)
crate/crypto/src/crypto/fpe/ff1.rs:559
↓ 2 callers
Function
issue_and_respond
(kms: &KMS, csr: &X509Req)
crate/server/src/routes/est/enroll.rs:154
↓ 2 callers
Function
issue_from_csr
Issue a certificate for `csr` from the CA `ca_uid` after enforcing `template`. The certificate is stored under the CA certificate owner.
crate/server/src/routes/enrollment.rs:380
↓ 2 callers
Method
issuer
(&self)
crate/clients/pkcs11/provider/src/pkcs11_certificate.rs:84
↓ 2 callers
Function
iterableClass
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
iterateNodeOrLeaf
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
jd
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
jj
(s,o,i,u,_,w)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
join_split_key
Reconstruct a key from `share_uids` via `ckms sym keys join-split-key`. Returns the reconstructed key UID. `extra_args` are appended after the share
crate/clients/ckms/src/tests/symmetric/split_key.rs:56
↓ 2 callers
Method
jose_decrypt
Decrypt data via the JOSE REST endpoint. This is a convenience wrapper around `POST /v1/crypto/decrypt`.
crate/clients/client/src/jose.rs:204
↓ 2 callers
Function
jose_try_create_ec_kp
( rt: &Runtime, client: &KmsClient, alg: &'static str, crv: &'static str, )
crate/clients/clap/src/actions/bench/jose.rs:35
↓ 2 callers
Function
jose_try_create_okp_kp
(rt: &Runtime, client: &KmsClient)
crate/clients/clap/src/actions/bench/jose.rs:68
↓ 2 callers
Function
jose_try_create_rsa_kp
( rt: &Runtime, client: &KmsClient, alg: &'static str, bits: usize, )
crate/clients/clap/src/actions/bench/jose.rs:51
↓ 2 callers
Function
js_to_cryptographic_parameters
Sign requests
crate/clients/wasm/src/wasm.rs:1489
↓ 2 callers
Function
jsonPointerToArray
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
jws_signing_input
Build the RFC 7515 §2 JWS Signing Input: `ASCII(protected_b64 + "." + payload_b64)`.
crate/server/src/routes/jose/mod.rs:39
↓ 2 callers
Function
jwt_auth_middleware
Creates the JWT authentication middleware. Validates JWT bearer tokens on each request and injects [`AuthenticatedUser`] into the request extensions
crate/server/src/middlewares/jwt/jwt_middleware.rs:26
↓ 2 callers
Function
kb
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
kem_key_components
Return the pre-quantum curve and the post-quantum algorithm of a serialized `ConfigurableKEM` key (public or private), as encoded in the key itself, w
crate/crypto/src/crypto/kem.rs:173
↓ 2 callers
Method
key
(&self)
crate/server/src/core/operations/certify/issuer.rs:46
↓ 2 callers
Function
key_bits_from_alg
Derive the symmetric key size (in bits) from a JOSE algorithm identifier. Returns `None` for non-symmetric algorithms.
crate/server/src/routes/jose/algorithm.rs:336
↓ 2 callers
Function
key_bytes
(object: &Object)
crate/server/src/tests/hsm/kek_wrap_modes.rs:208
↓ 2 callers
Function
key_bytes_from_object
Extract raw key bytes (SPKI DER) from a KMS `Object`.
crate/clients/cng/src/backend.rs:689
↓ 2 callers
Function
key_created_response
Build a transit key creation response with default values.
crate/server/src/routes/spire/transit.rs:463
↓ 2 callers
Function
key_data_to_wrap
Determine the Key data to wrap. The key data is determined based on the encoding. # Arguments `object_key_block` - the key block of the object to wra
crate/crypto/src/crypto/wrap/wrap_key.rs:166
↓ 2 callers
Method
key_id
(&self)
crate/clients/clap/src/actions/fpe/mod.rs:78
↓ 2 callers
Method
key_length_in_bits
(self)
crate/interfaces/src/hsm/interface.rs:85
↓ 2 callers
Function
key_ops_from_alg
Derive `key_ops` strings from a JOSE algorithm.
crate/server/src/routes/jose/keys.rs:1270
↓ 2 callers
Function
key_pair
An Active (able to sign) EC P-256 key pair: `(private key, public key)` UIDs.
crate/server/src/core/operations/message.rs:909
↓ 2 callers
Function
key_to_array
(key: &[u8])
crate/crypto/src/crypto/fpe/kmip_fpe.rs:78
↓ 2 callers
Function
key_type
(id: &[u8])
crate/server/src/core/operations/certify/hsm_subject_tests.rs:71
↓ 2 callers
Function
key_wrapping_specification
Determine the `KeyWrappingSpecification`
crate/clients/client_utils/src/export_utils.rs:305
↓ 2 callers
Function
keyedSeqFromValue
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
keypair_generation
(curve: RecommendedCurve)
crate/crypto/src/crypto/elliptic_curves/operation.rs:1066
↓ 2 callers
Method
keywords
(&self)
crate/server_database/src/stores/redis/objects_db.rs:116
↓ 2 callers
Function
keywords_from_attributes
Extract the keywords from the attributes
crate/server_database/src/stores/redis/objects_db.rs:31
↓ 2 callers
Function
ki
(s,o,i,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
kmip1_get_response_bytes
--------------------------------------------------------------------------- Helper: send KMIP 1.x Get and return the serialized response bytes. ------
crate/server/src/tests/ttlv_tests/attribute_version_gating.rs:45
↓ 2 callers
Function
kmip_decrypt_dek
Pivot: decrypt `data` with the key identified by `key_uid` using KMIP Decrypt. Both `unwrap_with_aes` and `unwrap_with_rsa` share this pattern — they
crate/server/src/routes/azure_ekm/handlers.rs:486
↓ 2 callers
Function
kmip_encrypt_dek
Pivot: encrypt `dek_bytes` with the key identified by `key_uid` using KMIP Encrypt. Both `wrap_with_aes` and `wrap_with_rsa` share this pattern — the
crate/server/src/routes/azure_ekm/handlers.rs:336
↓ 2 callers
Function
kmip_reason_to_crl_reason
Map a KMIP `RevocationReasonCode` to the corresponding RFC 5280 CRL reason code. The three extension codes (`CertificateHold`, `RemoveFromCRL`, `AaCo
crate/server/src/core/operations/generate_crl.rs:530
↓ 2 callers
Function
kmsFetch
(url: string | URL | Request, init?: RequestInit)
ui/tests/e2e/helpers.ts:553
↓ 2 callers
Function
kms_encrypt_async
( kms_rest_client: &KmsClient, encrypt_ctx: &EncryptContext, data: Vec<u8>, require_generated_
crate/clients/pkcs11/provider/src/kms_object.rs:781
↓ 2 callers
Function
kms_error_to_xks_reply
Map a KMS error returned by an XKS encrypt/decrypt operation to its XKS error reply. `operation` (e.g. `"Encrypt"`) only labels the log line emitted
crate/server/src/routes/aws_xks/error.rs:159
↓ 2 callers
Function
kms_seeded_rng
The noise only protects the anonymized data while it cannot be predicted, so its generator is seeded from the *private* DRBG (`fill_bytes`) like every
crate/crypto/src/crypto/anonymization/noise.rs:99
↓ 2 callers
Function
kms_with_db_kek
KMS whose `key_encryption_key` is the database key `kek` owned by `ADMIN`: an AES key, or an RSA private key wrapping with RSA-OAEP.
crate/server/src/tests/hsm/fake_hsm_authz.rs:690
↓ 2 callers
Function
kms_with_fake_hsm_conf
KMS built from `conf` with `FakeHsm` mounted under the `hsm` prefix.
crate/server/src/tests/hsm/fake_hsm_authz.rs:297
↓ 2 callers
Function
l
(s,o,i,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
langRe
(o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Method
latest_hsm_keyset_uid
Find the latest generation UID in a keyset identified by `rotate_name`.
crate/server/src/core/operations/rekey/symmetric/hsm.rs:27
↓ 2 callers
Function
lb
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
legacy_certificate_object
A certificate object with serial `0ABBCC` (hex).
crate/server_database/src/tests/mod.rs:264
↓ 2 callers
Function
legacy_copy
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
lh
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
listNodeFor
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
list_access
List accesses granted on an object
crate/clients/ckms/src/tests/access.rs:122
↓ 2 callers
Function
list_accesses_rights_obtained
List accesses granted
crate/clients/ckms/src/tests/access.rs:156
↓ 2 callers
Function
list_cng_keys
List all CNG KSP key names and their KMS UUIDs.
crate/clients/cng/src/backend.rs:152
↓ 2 callers
Method
list_crl_issuers
List all issuer IDs with their stored `next_update` timestamps.
crate/server_database/src/core/database_permissions.rs:172
↓ 2 callers
Function
list_ec_algorithms
()
crate/clients/wasm/src/wasm.rs:230
↓ 2 callers
Method
list_generations
Lists every `chain_generation` stored for `instance_id`, in ascending order (the order generations were started in). An instance with no rows returns
crate/server_database/src/stores/audit/pgsql.rs:906
↓ 2 callers
Function
list_jwt_configurations
Build one `JwtConfig` per whitelisted external KACLS, each verified only against the keys published at its own `{url}/certs`.
crate/server/src/routes/google_cse/jwt.rs:69
↓ 2 callers
Method
list_object_operations_granted
List all the KMIP operations granted per `user` on the given object This is called by the owner only
crate/server_database/src/core/database_permissions.rs:31
↓ 2 callers
Method
list_owned_objects
Get all the objects owned by a given user (the owner)
crate/server/src/core/kms/permissions.rs:209
↓ 2 callers
Function
list_symmetric_algorithms
()
crate/clients/wasm/src/wasm.rs:199
↓ 2 callers
Method
list_user_operations_on_object
( &self, uid: &str, user: &UserId, no_inherited_access: bool, )
crate/server_database/src/stores/sql/pgsql.rs:1422
↓ 2 callers
Function
load_request_json
Load a TTLV-JSON request payload, substituting `{{variable}}` placeholders with captured values from previous steps, and `{{$ENV_VAR}}` placeholders w
crate/test_kms_server/src/vector_runner.rs:480
↓ 2 callers
Function
load_test_config
()
crate/server/src/tests/ttlv_tests/config.rs:30
↓ 2 callers
Function
load_vector
Load and parse a single JSON vector file.
crate/server/src/tests/jose/jose_vectors.rs:75
↓ 2 callers
Function
locate
( kms: &KMS, request: Locate, state: Option<State>, user: &UserId, )
crate/server/src/core/operations/locate.rs:27
↓ 2 callers
Function
locate_key_by_name
Locate a KMS object by its CNG key name (returns the KMS UUID). Looks for an object carrying the tag `cng-ksp::<name>`.
crate/clients/cng/src/backend.rs:91
↓ 2 callers
Function
locate_objects
( kms_rest_client: &KmsClient, vendor_id: &str, tags: &[String], )
crate/clients/pkcs11/provider/src/kms_object.rs:447
↓ 2 callers
Function
lock_file_path
(path: &Path)
crate/server/src/core/audit/file_sink.rs:310
↓ 2 callers
Method
lock_message_support
(&self)
crate/hsm/base_hsm/src/session/message_context.rs:121
↓ 2 callers
Method
locked_for
Remaining lockout of `client`, if it is locked out.
crate/server/src/routes/enrollment_guard.rs:90
↓ 2 callers
Function
locked_response
`429` for a client that is locked out after repeated failed authentications.
crate/server/src/routes/enrollment.rs:222
↓ 2 callers
Function
log_ca_use_failure
Server-side hint logged when the CA cannot be used by the enrollment service identity.
crate/server/src/routes/enrollment.rs:86
↓ 2 callers
Function
lookup_enum_code_for_tag
(name: &str, tag: &str)
crate/kmip/src/ttlv/enum_lookup.rs:40
↓ 2 callers
Function
mac
(kms: &KMS, request: MAC, user: &UserId)
crate/server/src/core/operations/mac.rs:214
↓ 2 callers
Method
mac
( &self, uid: &str, data: &[u8], cryptographic_parameters: Option<
crate/interfaces/src/hsm/hsm_store.rs:1024
↓ 2 callers
Function
mac_verify
( kms: &KMS, request: MACVerify, user: &UserId, )
crate/server/src/core/operations/mac.rs:219
↓ 2 callers
Method
mac_with_metadata
Compute a MAC over `data` using the given key in the HSM, resolving the HSM-specific MAC mechanism from the key's own on-HSM metadata within the SAME
crate/interfaces/src/hsm/interface.rs:528
↓ 2 callers
Function
main_sampleFromSchemaGeneric
(s,o={},i=void 0,u=!1)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
makeFetchJSON
(s,o={})
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
makeResolve
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
makeResolveSubtree
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
makeStack
(s,o,i,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
make_ca
Self-signed CA; returns `(certificate id, private key id)`.
crate/server/src/tests/revocation_authority_tests.rs:101
↓ 2 callers
Function
make_kms_inner
( est_enabled: bool, scep_enabled: bool, allow_renewal: bool, tweak: impl FnOnce(&mut crate::c
crate/server/src/tests/enrollment_tests.rs:157
↓ 2 callers
Function
make_root
Self-signed root CA; returns `(certificate id, private key id)`.
crate/server/src/tests/sub_ca_tests.rs:71
↓ 2 callers
Function
make_test_client
()
crate/clients/k8s/plugin/src/service.rs:172
↓ 2 callers
Function
map
()
crate/test_kms_server/src/test_env.rs:26
← previous
next →
2,601–2,700 of 12,829, ranked by callers