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
get_or_fetch
Return the key material, calling `fetch` exactly once if not yet loaded. Thread-safe: concurrent calls are serialised by `OnceLock`; the loser's fetch
crate/clients/pkcs11/provider/src/kms_object.rs:118
↓ 2 callers
Method
get_parameter
Read a value from the `parameters` table by name, or `None` if absent.
crate/server_database/src/stores/sql/sqlite.rs:491
↓ 2 callers
Method
get_query
Get the SQL query by name using the loader # Errors If the query can't be found
crate/server_database/src/stores/sql/database.rs:16
↓ 2 callers
Function
get_redis_url
()
crate/server/src/tests/migrate/redis_tests.rs:30
↓ 2 callers
Function
get_rotation_policy
Get the rotation policy for a symmetric key via the CLI.
crate/clients/ckms/src/tests/symmetric/rotation_policy.rs:42
↓ 2 callers
Function
get_rsa_key_metadata_from_public_key
Extract RSA public key metadata (modulus and exponent)
crate/server/src/routes/utils.rs:15
↓ 2 callers
Method
get_secret_bytes
Retrieve the raw secret bytes for a KMS object UID. Supports `SecretData`, `SymmetricKey`, and any object whose `KeyBlock` exposes `key_bytes()`. Th
crate/clients/k8s/operator/src/kms.rs:27
↓ 2 callers
Method
get_supported_oaep_hash
Retrieve the hash algorithms supported for RSA OAEP encryption by the HSM. This function determines which hashing algorithms can be used in combinati
crate/hsm/base_hsm/src/session/session_impl.rs:363
↓ 2 callers
Function
get_system32_dll_path
()
crate/clients/cng/src/registry.rs:301
↓ 2 callers
Method
get_ui_index_html_folder
Get the UI distribution folder path, resolving the default if not set
crate/server/src/config/command_line/ui_config.rs:80
↓ 2 callers
Method
get_using_id
(&self, id: &str)
crate/clients/pkcs11/module/src/objects_store.rs:77
↓ 2 callers
Method
get_with_query
Send an HTTP GET request with query parameters serialized from `query`. # Errors Returns an error if the request fails.
crate/clients/client/src/http_client/client.rs:450
↓ 2 callers
Function
gj
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
google_cse_rsa_private_der
The PKCS#1 DER of the server's `google_cse_rsa` private key (the KACLS migration key).
crate/server/src/tests/google_cse/utils.rs:383
↓ 2 callers
Function
ha
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
handleProps
(s,o,i,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
handle_ocsp_request
Process a DER-encoded OCSP request and return a signed OCSP response. Flow: 1. Check `ocsp_enabled` — 404 when disabled. 2. Parse request; verify iss
crate/server/src/routes/ocsp/handler.rs:234
↓ 2 callers
Function
handle_ttlv
Handle input TTLV requests Process the TTLV-serialized input request and returns the TTLV-serialized response. The input request could be either a s
crate/server/src/routes/kmip/handlers.rs:201
↓ 2 callers
Function
handle_ttlv_bytes_parsed
Handle KMIP requests in TTLV binary format. `request_ttlv` is `ttlv_bytes` already decoded by the caller, if any, so it is not decoded twice. Returns
crate/server/src/routes/kmip/handlers.rs:364
↓ 2 callers
Function
hasElementSourceMap
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
hasExample
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
hasIterator
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
hashString
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
hash_alg_from_digest_len
Infer hashing algorithm from digest byte length (fallback heuristic).
crate/clients/cng/src/provider.rs:1416
↓ 2 callers
Function
header
(major: i32, minor: i32)
crate/server/src/tests/ttlv_tests/certify_1_4.rs:50
↓ 2 callers
Method
health_check
(&self)
crate/server_database/src/core/mod.rs:315
↓ 2 callers
Function
helpers_isInteger
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
hh
(s,o,i,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
highlight
(s,o,i,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
highlightAuto
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
hmac_sha256
(key: &[u8], data: &[u8])
crate/server/src/config/command_line/secret_backends/aws.rs:85
↓ 2 callers
Function
hsm_rsa_pkcs1v15_encrypt_params
RSA PKCS#1 v1.5 encrypt (`CryptoAlgorithm::RsaPkcsV15` on the HSM oracle). Not gated by `non-fips` like the software `rsa_pkcs15_params()` below: the
crate/clients/clap/src/actions/bench/helpers.rs:227
↓ 2 callers
Function
hsm_rsa_pkcs1v15_sign_params
RSA PKCS#1 v1.5 sign, hash-and-sign in one HSM call (`SigningAlgorithm::Sha1WithRsa`/`Sha256WithRsa`/`Sha384WithRsa`/ `Sha512WithRsa` on the oracle, s
crate/clients/clap/src/actions/bench/helpers.rs:241
↓ 2 callers
Function
hsm_slot_id
Read the `HSM_SLOT_ID` env var (same value used by the test server). Returns `None` when the variable is absent so callers can skip the test.
crate/clients/ckms/src/tests/hsm/rekey.rs:23
↓ 2 callers
Function
hsm_uid
Build a fresh HSM-resident unique identifier, `<hsm_prefix>::<label>_<uuid>`, for the key-creation benchmarks, which create many keys and cannot reuse
crate/clients/clap/src/actions/bench/helpers.rs:546
↓ 2 callers
Function
ib
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
idFromPathMethodLegacy
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
identity_body
(key_pair_id: &str)
crate/clients/clap/src/tests/google_cmd/gmail_api.rs:70
↓ 2 callers
Method
ignoreMatch
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
ignore_sessions
()
crate/clients/pkcs11/module/src/sessions.rs:1010
↓ 2 callers
Function
ij
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
import
Import a new object
crate/server/src/core/operations/import.rs:68
↓ 2 callers
Function
import_activated
Same import attributes as `ckms keys import`: activated now, usage mask from `--key-usage`.
crate/server/src/tests/hsm/hybrid_kem_dek.rs:487
↓ 2 callers
Function
import_forgery_and_copy
Import a forgery and an exact copy of `genuine`, both linked to `ca_id`; returns their ids.
crate/server/src/tests/revocation_authority_tests.rs:181
↓ 2 callers
Function
import_google_cse_key_file_with_access
Import the KMIP JSON TTLV symmetric key stored in `key_file` as the `google_cse` key and grant everyone the operations the CSE endpoints need.
crate/server/src/tests/google_cse/mod.rs:119
↓ 2 callers
Function
import_object
( kms: &Arc<KMS>, owner: &str, object_id: &str, object: &Object, object_type: ObjectType,
crate/server/src/tests/hsm/mod.rs:311
↓ 2 callers
Function
import_rsa_private_key
Import an RSA private key (PKCS#8 DER) into the KMS and return `(private_uid, public_uid)`. Used by `NCryptImportKey` with the `RSAFULLPRIVATEBLOB` b
crate/clients/cng/src/backend.rs:300
↓ 2 callers
Function
import_unwrapped
`Import` the object, asking the server to unwrap it, as `user`.
crate/server/src/tests/hsm/fake_hsm_authz.rs:367
↓ 2 callers
Method
increment_active_connections
Increment active connections
crate/server/src/core/otel_metrics.rs:542
↓ 2 callers
Function
indexOf
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
index_browser_assign
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
inferType
(s,o=new WeakSet)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
init
( log_name: &str, level: Option<Level>, log_home: Option<String>, )
crate/clients/pkcs11/provider/src/logging.rs:20
↓ 2 callers
Function
init_ckm_rsa_pkcs_decryption_context
( priv_key: &PKey<Private>, )
crate/crypto/src/crypto/rsa/ckm_rsa_pkcs.rs:113
↓ 2 callers
Function
init_ckm_rsa_pkcs_encryption_context
( pub_key: &PKey<Public>, )
crate/crypto/src/crypto/rsa/ckm_rsa_pkcs.rs:55
↓ 2 callers
Function
init_ckm_rsa_pkcs_oaep_decryption_context
( priv_key: &PKey<Private>, oaep_hash_fn: HashingAlgorithm, mgf1_hash_fn: HashingAlgorithm, la
crate/crypto/src/crypto/rsa/ckm_rsa_pkcs_oaep.rs:175
↓ 2 callers
Function
init_ckm_rsa_pkcs_oaep_encryption_context
( pub_key: &PKey<Public>, oaep_hash_fn: HashingAlgorithm, mgf1_hash_fn: HashingAlgorithm, labe
crate/crypto/src/crypto/rsa/ckm_rsa_pkcs_oaep.rs:85
↓ 2 callers
Function
init_optional_provider_once
( cell: &std::sync::OnceLock<Option<T>>, load: impl FnOnce() -> Result<Option<T>, E>, )
crate/server/src/openssl_providers.rs:384
↓ 2 callers
Function
initial_state
Initial lifecycle state of an imported or registered object (KMIP 2.1 §3.1.7): `Active` if `ActivationDate` is present and `<= now`, `PreActive` other
crate/server/src/core/operations/import.rs:53
↓ 2 callers
Function
initialize
()
crate/crypto/src/lib.rs:201
↓ 2 callers
Method
input_bytes
(&self)
crate/clients/clap/src/actions/fpe/mod.rs:82
↓ 2 callers
Method
insert
Caches the unwrapped version of the given object under this UID. The fingerprint of the wrapped object is stored alongside the unwrapped object to en
crate/server_database/src/core/unwrapped_cache.rs:159
↓ 2 callers
Function
integer_text_to_biguint
(text: &str, alphabet: &Alphabet)
crate/crypto/src/crypto/fpe/kmip_fpe.rs:110
↓ 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:447
↓ 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
Function
invalid_request
()
crate/server/src/tests/google_cse/token_validation.rs:63
↓ 2 callers
Method
invalidate_if
(&self, predicate: F)
crate/server_database/src/core/rotate_name_cache.rs:212
↓ 2 callers
Method
invalidate_rotate_name_cache
Invalidate every cached `find_by_rotate_name` entry for keyset `name` (all owners, all generation filters). Call this after a rotation (rekey) create
crate/server_database/src/core/database_objects.rs:687
↓ 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
Function
is_blocked_ip
Returns `true` if `ip` must never be reached by a server-side fetch: the IPv4 ranges of [`is_blocked_ipv4`], IPv6 loopback, unspecified, unique-local
crate/server/src/core/certificate/mod.rs:19
↓ 2 callers
Method
is_configured
(&self)
crate/access/src/access.rs:291
↓ 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:382
↓ 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:681
↓ 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:184
↓ 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:176
↓ 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
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:469
↓ 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:91
↓ 2 callers
Function
is_live
(state: State)
crate/server_database/src/stores/redis/redis_with_findex.rs:63
← previous
next →
2,501–2,600 of 12,829, ranked by callers