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
↓ 2 callers
Function
insert_bounded
Insert a CRL in the cache, dropping aged-out entries first and then the oldest entries until both [`CRL_CACHE_MAX_ENTRIES`] and [`CRL_CACHE_MAX_BYTES`
crate/server/src/core/operations/validate.rs:633
↓ 2 callers
Function
instantiate_err
The ONLY place that calls `Database::instantiate` (its signature changes upstream).
crate/server_database/src/core/mod.rs:880
↓ 2 callers
Function
integer_text_to_biguint
(text: &str, alphabet: &Alphabet)
crate/crypto/src/crypto/fpe/kmip_fpe.rs:125
↓ 2 callers
Function
intent_draft
Builds the `audit:intent` draft persisted before a request runs in fail-closed mode. `user` is `None` while the caller is not authenticated yet.
crate/server/src/middlewares/audit/mod.rs:337
↓ 2 callers
Function
interface_name_matches
Compares a caller-supplied `pInterfaceName` against [`PKCS11_INTERFACE_NAME`] without reading more of it than a matching name would occupy. `C_GetInt
crate/clients/pkcs11/module/src/pkcs11.rs:487
↓ 2 callers
Function
interrupt
(o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Method
into_string
(self)
crate/interfaces/src/user_id.rs:50
↓ 2 callers
Method
into_zeroizing
(self)
crate/kmip/src/sensitive.rs:54
↓ 2 callers
Function
invalid_key_length
(len: usize)
crate/crypto/src/crypto/symmetric/mac.rs:270
↓ 2 callers
Function
invalid_request
()
crate/server/src/tests/google_cse/token_validation.rs:64
↓ 2 callers
Function
invalid_tag_length
()
crate/server/src/core/operations/encrypt.rs:652
↓ 2 callers
Function
invalid_ticket
()
crate/server/src/core/operations/login.rs:88
↓ 2 callers
Method
invalidate_if
(&self, predicate: F)
crate/server_database/src/core/rotate_name_cache.rs:212
↓ 2 callers
Function
invokeFunc
(o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
io_failure
()
crate/clients/client/src/error/result.rs:54
↓ 2 callers
Function
isAbsoluteUrl
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
isArray
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
isArrayLike
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
isArrayOfFile
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
isAssociative
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
isJSONSchema
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
isMap
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
isNativeSmoothScrollEnabledOn
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
isOpenAPI30
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
isPlainObj
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
isSeq
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
isSet
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
isSpecificValue
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
isValidEntityCode
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
isWhitespace
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
isWindows
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
is_FLOW_INDICATOR
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Method
is_always_sensitive
(&self)
crate/clients/pkcs11/module/src/traits/key_protection.rs:30
↓ 2 callers
Function
is_blocked_ipv4
Returns `true` if `v4` belongs to an IPv4 range that must never be reachable via a CRL Distribution Point fetch: private (RFC 1918), loopback, link-lo
crate/server/src/core/certificate/mod.rs:15
↓ 2 callers
Function
is_dotted_oid
Returns `true` when `s` looks like a dotted-decimal OID (starts with a digit, contains only ASCII digits and `.`).
crate/crypto/src/openssl/x509_extensions.rs:397
↓ 2 callers
Function
is_due_for_rotation
Determine whether a key object (already known to have `rotate_interval > 0`) is past its scheduled rotation time. The next rotation time is computed
crate/server_database/src/stores/sql/locate_query.rs:711
↓ 2 callers
Method
is_enabled
(&self)
crate/server/src/config/command_line/auth_verifier_config.rs:77
↓ 2 callers
Function
is_encryption_algorithm_supported
(algorithm: HsmEncryptionAlgorithm)
crate/hsm/base_hsm/src/session/session_impl.rs:240
↓ 2 callers
Function
is_exempt_server_kek
Is `uid`, the wrapping key UID recorded in a stored key block, the server `key_encryption_key` (or its `_pk` public key), usable by every user (stored
crate/server/src/core/wrapping/unwrap.rs:199
↓ 2 callers
Function
is_expired
Whether a component created at `created_at` is past the Key Expiration Time of its self-signature `sig` (RFC 9580 Section 5.2.3.13: absent or zero mea
crate/crypto/src/crypto/openpgp/mod.rs:367
↓ 2 callers
Function
is_follower_region
Whether this node belongs to a follower region of a multi-region deployment. The job locks of [`run_with_cluster_lock`] live in the node's own databa
crate/server/src/cron.rs:19
↓ 2 callers
Method
is_human_readable
TTLV is a binary, non-human-readable format.
crate/kmip/src/ttlv/kmip_ttlv_serializer.rs:181
↓ 2 callers
Method
is_import
Returns `true` when the request carries key material (import mode): a symmetric value `k`, a private exponent `d`, or a full RSA public key (`n` and `
crate/server/src/routes/jose/models.rs:55
↓ 2 callers
Function
is_issued_by
`true` when `cert` names `ca_cert` as issuer and carries a valid signature from its key.
crate/server/src/routes/enrollment.rs:472
↓ 2 callers
Method
is_keyset_latest
Returns `true` if `attrs` represents the latest generation in its named keyset.
crate/server/src/core/operations/rekey/common.rs:71
↓ 2 callers
Function
is_live
(state: State)
crate/server_database/src/stores/redis/redis_with_findex.rs:79
↓ 2 callers
Function
is_not_forgeable_cross_origin
CSRF guard for ambient cookies: a safe method, or a body whose Content-Type is not CORS-safelisted (`text/plain`, form types, or none at all), so that
crate/server/src/middlewares/mod.rs:97
↓ 2 callers
Function
is_pqc_algorithm
Returns `true` for algorithms whose keys have no OpenSSL representation and must skip the OpenSSL round-trip on export: PQC (ML-KEM, ML-DSA, Hybrid KE
crate/server/src/core/operations/export_get.rs:1142
↓ 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:486
↓ 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:1108
↓ 2 callers
Method
is_set
(&self)
crate/clients/clap/src/actions/shared/rotation_policy_args.rs:45
↓ 2 callers
Function
is_supported_version
Protocol versions served: the majors advertised by Discover Versions, with any minor. A request with a supported major and a different minor is proces
crate/server/src/routes/kmip/handlers.rs:309
↓ 2 callers
Function
is_ticket_value_placeholder
Whether a Ticket Value is the vector's `$TICKET_VALUE` placeholder for the ticket issued by its Login (random, server-generated). The XML parser decod
crate/clients/clap/src/tests/xml/request.rs:12
↓ 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:571
↓ 2 callers
Function
isolate_backend_openssl_env
()
crate/hsm/base_hsm/src/hsm_lib.rs:791
↓ 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_jwe_decrypt_body
`POST /v1/crypto/decrypt` body for an A256GCM JWE under `cek`: fresh IV, AAD = ASCII(`protected`).
crate/clients/clap/src/actions/bench/jose.rs:107
↓ 2 callers
Function
jose_protected_header
Base64url JWE protected header `{"alg":<alg>,"enc":"A256GCM","kid":<kid>}`.
crate/clients/clap/src/actions/bench/jose.rs:81
↓ 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:48
↓ 2 callers
Function
jose_try_create_okp_kp
(rt: &Runtime, client: &KmsClient)
crate/clients/clap/src/actions/bench/jose.rs:142
↓ 2 callers
Function
jose_wrap_new_cek
Fresh random A256GCM CEK and its RSA-OAEP wrap under `public_key`, with `hash` for both OAEP and MGF1.
crate/clients/clap/src/actions/bench/jose.rs:91
↓ 2 callers
Function
js_to_cryptographic_parameters
Sign requests
crate/clients/wasm/src/wasm.rs:1555
↓ 2 callers
Function
jsonPointerToArray
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
json_request
( method: actix_test::TestRequest, uri: &str, body: &serde_json::Value, )
crate/server/src/tests/hsm/ssh_ca.rs:128
↓ 2 callers
Function
jwks_server
Serve `bodies[i]` to the i-th request (the last one afterwards); returns the URL.
crate/server/src/middlewares/auth_verifier/token.rs:565
↓ 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
jwt_conf_with_token_in_secret_store
Store the JWT accepted by the JWT-authenticated server as a secret object of the plain server, and return the path of a client config for the JWT serv
crate/clients/ckms/src/tests/secret_backend_tests.rs:24
↓ 2 callers
Function
kb
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
kem_decapsulate
( pkey: &PKeyRef<T>, ciphertext: &[u8], label: &str, )
crate/crypto/src/crypto/pqc/ml_kem.rs:152
↓ 2 callers
Function
kem_encapsulate
( pkey: &PKeyRef<T>, label: &str, )
crate/crypto/src/crypto/pqc/ml_kem.rs:80
↓ 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:150
↓ 2 callers
Function
key
()
crate/crypto/src/openssl/tsa.rs:403
↓ 2 callers
Function
key
(kvs: impl Iterator<Item = &'a KeyValue>)
crate/server/src/core/otel_metrics.rs:926
↓ 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:327
↓ 2 callers
Function
key_bytes
(object: &Object)
crate/server/src/tests/hsm/kek_wrap_modes.rs:246
↓ 2 callers
Function
key_bytes_from_object
Extract raw key bytes (SPKI DER) from a KMS `Object`.
crate/clients/cng/src/backend.rs:710
↓ 2 callers
Method
key_count
Total number of non-destroyed keys.
crate/server_database/src/stores/redis/objects_db.rs:43
↓ 2 callers
Function
key_created_response
Build a transit key creation response with default values.
crate/server/src/routes/spire/transit.rs:444
↓ 2 callers
Method
key_deactivation_dates
`DeactivationDate` of every `PreActive`/`Active` key across all registered stores.
crate/server_database/src/core/mod.rs:451
↓ 2 callers
Method
key_id
(&self)
crate/clients/clap/src/actions/fpe/mod.rs:78
↓ 2 callers
Method
key_inventory
Key inventory across all registered stores, with the counts of identical buckets summed (e.g. the same algorithm in the database and on an HSM).
crate/server_database/src/core/mod.rs:437
↓ 2 callers
Method
key_length_in_bits
(self)
crate/interfaces/src/hsm/interface.rs:81
↓ 2 callers
Function
key_ops_from_alg
Derive `key_ops` strings from a JOSE algorithm.
crate/server/src/routes/jose/keys.rs:1358
↓ 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:1832
↓ 2 callers
Function
key_to_array
(key: &[u8])
crate/crypto/src/crypto/fpe/kmip_fpe.rs:93
↓ 2 callers
Function
key_type
(id: &[u8])
crate/server/src/core/operations/certify/hsm_subject_tests.rs:71
↓ 2 callers
Function
key_type
(key_id: &[u8], key: &FakeKey)
crate/server/src/tests/hsm/fake_hsm_authz.rs:83
↓ 2 callers
Function
key_wrapping_specification
Determine the `KeyWrappingSpecification`
crate/clients/client_utils/src/export_utils.rs:304
← previous
next →
3,401–3,500 of 16,000, ranked by callers