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
Function
extract_user_claim
Attempts to extract and validate a user claim from a JWT token Tries each provided JWT configuration until one successfully validates the token or al
crate/server/src/middlewares/jwt/jwt_token_auth.rs:48
↓ 2 callers
Function
fa
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
fail_next
(library: &Library, mode: CK_ULONG)
crate/hsm/base_hsm/src/session/message_signature_tests.rs:72
↓ 2 callers
Function
failing_resolver
Resolver that fails with a non-`NotSupported` error: the trait defaults must return `NotSupported` without ever invoking it.
crate/interfaces/src/hsm/interface.rs:816
↓ 2 callers
Function
fd
(s,o,i,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
feed_canonical
Builds the deterministic, NUL-delimited binary representation of `event` that is fed into the SHA-256 digest. Layout (concatenation without length pr
crate/access/src/audit/hash.rs:47
↓ 2 callers
Function
fi
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
field_bytes
(v: &Value, field: &str)
crate/server/src/tests/jose/cek_kid.rs:35
↓ 2 callers
Function
file_uri
Build a `file://` URI for an absolute path (three slashes: scheme + empty authority + absolute path), matching `SR-CRL-10`'s convention. This URI is
crate/server/src/tests/test_validate.rs:1417
↓ 2 callers
Method
filterByFormat
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
filter_due_for_rotation
Keep the `(uid, owner)` of the `(uid, owner, attributes)` rows that are due for rotation at `now` (see [`is_due_for_rotation`]).
crate/server_database/src/stores/sql/locate_query.rs:703
↓ 2 callers
Function
filter_on
(algorithm: &str)
crate/clients/clap/src/actions/pkcs11/bench/load.rs:1211
↓ 2 callers
Method
final_sync
(&mut self)
crate/server/src/core/audit/file_sink.rs:271
↓ 2 callers
Method
finalize
Finalize the PKCS#11 library. This method calls `C_Finalize` to properly close the PKCS#11 library connection.
crate/hsm/base_hsm/src/hsm_lib.rs:446
↓ 2 callers
Method
finalize_directory
Transform a relative path to `root_data_path` to an absolute path and ensure that the directory exists. An absolute path is left unchanged. # Argumen
crate/server/src/config/command_line/workspace.rs:65
↓ 2 callers
Function
find
Resolves a benchmark key by its KMIP unique identifier (`CKA_ID` then `CKA_LABEL`; KMIP uids are unique per object, so no class filter is needed).
crate/clients/clap/src/actions/pkcs11/bench/ops.rs:65
↓ 2 callers
Method
find_all
( &self, researched_attributes: Option<&Attributes>, state: Option<State>, ven
crate/interfaces/src/hsm/hsm_store.rs:731
↓ 2 callers
Method
find_all_certificates
(&self)
crate/clients/pkcs11/provider/src/backend.rs:277
↓ 2 callers
Method
find_all_public_keys
(&self)
crate/clients/pkcs11/provider/src/backend.rs:374
↓ 2 callers
Function
find_handles_by_class
Runs the standard `C_FindObjectsInit`/`C_FindObjects`/`C_FindObjectsFinal` sequence for a single object class and returns every matching object handle
crate/clients/clap/src/actions/pkcs11/verify.rs:686
↓ 2 callers
Function
find_link_in_public_key
( link_type: LinkType, public_key_id: &LinkedObjectIdentifier, operation_type: KmipOperation,
crate/server/src/core/certificate/find.rs:418
↓ 2 callers
Function
fips_hsm_gcm_encrypt
Drives `Session::encrypt` against `tests/fixtures/fips_gcm_hsm.c`, an HSM in FIPS mode that rejects any caller-chosen GCM nonce and returns the IV it
crate/hsm/base_hsm/src/session/session_impl.rs:4115
↓ 2 callers
Function
fire
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
fl
(s,o,i,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
flipFactory
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
foldType
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Method
forEach
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
formatError
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
formatKeyValue
(s,o,i=!1)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
forwarded_for
Every `X-Forwarded-For` line of a request as one comma-separated list. A proxy may append its own line instead of extending the client's, so reading o
crate/server/src/middlewares/audit/client_ip.rs:44
↓ 2 callers
Function
free_key
(dll: &KspDll, h_provider: usize, h_key: usize)
crate/clients/clap/src/actions/cng_verify.rs:606
↓ 2 callers
Function
fromCodePoint
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
fromJS
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
fromJSOrdered
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Method
full_base_uid
(&self)
crate/interfaces/src/object_handle.rs:183
↓ 2 callers
Function
gb
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
generateError
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
generateNextLine
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
generate_aes_key
FFI into the dlopen'ed PKCS#11 provider (#1166)
crate/clients/clap/src/actions/pkcs11/capabilities.rs:1325
↓ 2 callers
Method
generate_aes_key_internal
Helper for AES key generation with an explicit `CKA_EXTRACTABLE` but no `CKA_SENSITIVE` (AWS `CloudHSM` rejects any explicit value for the latter).
crate/hsm/base_hsm/src/session/aes.rs:20
↓ 2 callers
Function
generate_crl
( owner_client_conf_path: &str, issuer_certificate_id: &str, output_file: &Path, )
crate/clients/ckms/src/tests/certificates/certify.rs:269
↓ 2 callers
Function
generate_dek
Generate a random Data Encryption Key (DEK) with the appropriate size for the given data encryption algorithm.
crate/clients/clap/src/actions/symmetric/cipher_io.rs:52
↓ 2 callers
Function
generate_ephemeral_x25519
Generate a fresh ephemeral X25519 key pair and return `(private_raw, x_b64)`.
crate/server/src/tests/jose/ecdh.rs:531
↓ 2 callers
Function
generate_google_jwt
()
crate/clients/clap/src/tests/google_cmd/using_hsm.rs:52
↓ 2 callers
Function
generate_load_json_output
Write `target/criterion/load_{protocol_slug}.json` — one JSON object per line. Each line: `{"protocol":"…","operation":"…","concurrency":N,"throughpu
crate/clients/clap/src/actions/bench/load.rs:1211
↓ 2 callers
Function
generate_owner_conf_from_opts
Generate owner client config from the new [`TestClientOptions`].
crate/test_kms_server/src/test_server.rs:1549
↓ 2 callers
Function
generate_s
Compute the S byte-string per NIST SP 800-38G §6.1 step 8. S = R || `CIPH_K`(R XOR \[1\]_16) || `CIPH_K`(R XOR \[2\]_16) || ... truncated to `d` byte
crate/crypto/src/crypto/fpe/ff1.rs:302
↓ 2 callers
Function
generate_user_conf_from_opts
Generate user client config from the new [`TestClientOptions`].
crate/test_kms_server/src/test_server.rs:1634
↓ 2 callers
Function
getAzureByokFilename
(wrappedKeyId: string, byokFile?: string)
ui/src/utils/azureByok.ts:49
↓ 2 callers
Function
getCommonExtensions
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Method
getCurrentPlugin
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
getEnrichAttributeKeys
()
ui/src/components/common/Locate.tsx:46
↓ 2 callers
Function
getErrorsWithPaths
(s,o=[])
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Method
getFn
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
getHash
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
getIngredientWithProp
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
getInlineLineNumber
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
getIteratorFn
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
getLevel
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
getMenuItems
(options?: { enableCovercrypt?: boolean; pqcLabel?: string; isFips?: boolean })
ui/src/menuItems.tsx:388
↓ 2 callers
Method
getMutationsForPlugin
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
getObjectLabel
(type: ObjectType)
ui/src/utils/utils.ts:336
↓ 2 callers
Method
getParamKey
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Method
getPluginHistory
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Method
getPluginName
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
getProtocol
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
getRecord
(value: unknown)
ui/tests/integration/kms-key-flows.test.ts:22
↓ 2 callers
Function
getTags
(attributes: Map<string, never>)
ui/src/utils/azureByok.ts:1
↓ 2 callers
Function
getTopWithEdgeOffset
(o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Method
getValue
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Method
getValue
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Method
getWrappedAndBoundActions
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callers
Function
get_aead_and_key
( owm: &'a ObjectWithMetadata, request: &Decrypt, )
crate/server/src/core/operations/decrypt.rs:612
↓ 2 callers
Function
get_and_validate_kek_algorithm
Retrieve and validate a wrapping/unwrapping key from KMS (the kek) Simply refactored because we need it in both wrap and unwrap handlers Returns the
crate/server/src/routes/azure_ekm/handlers.rs:159
↓ 2 callers
Function
get_attribute_list_with_protocol_version
( kms: &KMS, request: GetAttributeList, user: &UserId, protocol_version: Option<ProtocolVersio
crate/server/src/core/operations/attributes/get_list.rs:61
↓ 2 callers
Function
get_attributes
Get attributes of a KMS object and return the parsed JSON output.
crate/clients/ckms/src/tests/attributes/test_set_attribute.rs:34
↓ 2 callers
Function
get_attributes_ttlv_request_with_options
( unique_identifier: String, force_tags: bool, )
crate/clients/wasm/src/wasm.rs:2366
↓ 2 callers
Function
get_cert_der
(kms: &Arc<KMS>, owner: &UserId, cert_id: &str)
crate/server/src/tests/test_validate.rs:1428
↓ 2 callers
Function
get_cert_path
Get the absolute path to a certificate file in the `test_data` directory
crate/server/src/tests/mtls_db.rs:184
↓ 2 callers
Method
get_certificate_file
(&self)
crate/clients/clap/src/actions/certificates/import_certificate.rs:304
↓ 2 callers
Function
get_certificate_identifiers
Extracts the subject key identifier and authority key identifier from an X509 certificate. # Arguments `certificate` - A reference to an `X509` cert
crate/server/src/core/operations/validate.rs:283
↓ 2 callers
Function
get_default_ui_dist_path
()
crate/server/src/config/command_line/ui_config.rs:20
↓ 2 callers
Function
get_export_key_format_type
( key_format: &ExportKeyFormat, )
crate/clients/client_utils/src/export_utils.rs:133
↓ 2 callers
Function
get_function_list
()
crate/clients/pkcs11/module/src/tests.rs:366
↓ 2 callers
Function
get_hash_algorithm
(algorithm: &str)
crate/server/src/routes/google_cse/operations.rs:131
↓ 2 callers
Function
get_hsm_model
()
crate/server/src/tests/hsm/test_helpers.rs:36
↓ 2 callers
Function
get_hsm_password
()
crate/server/src/tests/hsm/test_helpers.rs:5
↓ 2 callers
Function
get_hsm_slot_id
()
crate/server/src/tests/hsm/test_helpers.rs:18
↓ 2 callers
Function
get_interface_list
crate/hsm/base_hsm/tests/fixtures/fips_gcm_hsm.c:102
↓ 2 callers
Function
get_issuer
Determine the issuer of the issued certificate. The issuer can be recovered from different sources or be self-signed.
crate/server/src/core/operations/certify/resolve_issuer.rs:66
↓ 2 callers
Function
get_json_raw
GET `uri` and return the HTTP status together with the parsed JSON reply (`Value::Null` if the reply is empty or not JSON), whatever the status.
crate/server/src/tests/test_utils.rs:726
↓ 2 callers
Function
get_key_and_cipher
( request: &Encrypt, owm: &'a ObjectWithMetadata, )
crate/server/src/core/operations/encrypt.rs:527
↓ 2 callers
Function
get_key_attributes
Fetch key attributes from the KMS.
crate/clients/cng/src/backend.rs:245
↓ 2 callers
Function
get_key_metadata_inner
( _req_http: HttpRequest, _request: GetKeyMetadataRequest, key_id: String, kms: &Arc<KMS>, )
crate/server/src/routes/aws_xks/key_metadata.rs:213
↓ 2 callers
Method
get_key_type
(&self, uid: &str)
crate/interfaces/src/hsm/hsm_store.rs:901
↓ 2 callers
Method
get_key_type_and_curve
Resolve an object handle to its PKCS#11 key type and optional supported EC curve. `CKA_CLASS` and `CKA_KEY_TYPE` are read together. `CKA_EC_PARAMS` i
crate/hsm/base_hsm/src/session/session_impl.rs:3804
↓ 2 callers
Function
get_kms_certificate_objects
Locate and export only `Certificate` objects with the given tags. This adds an `ObjectType=Certificate` filter to the Locate request, preventing false
crate/clients/pkcs11/provider/src/kms_object.rs:198
↓ 2 callers
Function
get_kms_disk_encryption_data_objects
Locate disk-encryption symmetric keys and return them as `KmsObject`s suitable for wrapping as PKCS#11 `CKO_DATA` objects. `VeraCrypt` discovers keyf
crate/clients/pkcs11/provider/src/kms_object.rs:297
↓ 2 callers
Method
get_mechanism_info
Retrieve detailed information about a specific cryptographic mechanism supported by this HSM slot. This function queries the HSM for information abou
crate/hsm/base_hsm/src/slots.rs:335
↓ 2 callers
Method
get_object_uid
(&self)
crate/interfaces/src/stores/objects_store.rs:29
← previous
next →
2,401–2,500 of 12,829, ranked by callers