MCPcopy Create free account

hub / github.com/Cosmian/kms / functions

Functions16,000 in github.com/Cosmian/kms

↓ 2 callersFunctionget_cert_path
Get the absolute path to a certificate file in the `test_data` directory
crate/server/src/tests/mtls_db.rs:184
↓ 2 callersMethodget_certificate_file
(&self)
crate/clients/clap/src/actions/certificates/import_certificate.rs:318
↓ 2 callersFunctionget_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:338
↓ 2 callersFunctionget_constraints
Executes Get Constraints: returns the server constraint set as set.
crate/server/src/core/operations/constraints.rs:188
↓ 2 callersMethodget_crypto_officer_activation_by
( &self, user: &str, )
crate/server_database/src/stores/sql/mysql.rs:1555
↓ 2 callersFunctionget_default_ui_dist_path
()
crate/server/src/config/command_line/ui_config.rs:12
↓ 2 callersFunctionget_export_key_format_type
( key_format: &ExportKeyFormat, )
crate/clients/client_utils/src/export_utils.rs:132
↓ 2 callersFunctionget_function_list
()
crate/clients/pkcs11/module/src/tests.rs:575
↓ 2 callersFunctionget_hash_algorithm
(algorithm: &str)
crate/server/src/routes/google_cse/operations.rs:135
↓ 2 callersFunctionget_hsm_password
()
crate/server/src/tests/hsm/test_helpers.rs:6
↓ 2 callersFunctionget_hsm_slot_id
()
crate/server/src/tests/hsm/test_helpers.rs:19
↓ 2 callersFunctionget_interface_list
crate/hsm/base_hsm/tests/fixtures/fips_gcm_hsm.c:397
↓ 2 callersFunctionget_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:64
↓ 2 callersMethodget_key_metadata
( &self, _slot_id: usize, key_id: &[u8], )
crate/server/src/core/operations/certify/hsm_subject_tests.rs:186
↓ 2 callersFunctionget_key_metadata_handler
( key_name: String, user: UserId, kms: Data<Arc<KMS>>, )
crate/server/src/routes/azure_ekm/handlers.rs:63
↓ 2 callersFunctionget_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 callersMethodget_key_type
( &self, _slot_id: usize, key_id: &[u8], )
crate/server/src/core/operations/certify/hsm_subject_tests.rs:178
↓ 2 callersMethodget_key_type
(&self, uid: &str)
crate/interfaces/src/hsm/hsm_store.rs:1078
↓ 2 callersMethodget_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:4126
↓ 2 callersFunctionget_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:253
↓ 2 callersFunctionget_kms_disk_encryption_data_objects_async
( kms_rest_client: &KmsClient, vendor_id: &str, disk_encryption_tag: &str, )
crate/clients/pkcs11/provider/src/kms_object.rs:380
↓ 2 callersMethodget_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:336
↓ 2 callersFunctionget_message_digest
Map `HashingAlgorithm` to OpenSSL `MessageDigest` for PBKDF2
crate/server/src/core/operations/derive_key.rs:1006
↓ 2 callersMethodget_object_uid
(&self)
crate/interfaces/src/stores/objects_store.rs:55
↓ 2 callersMethodget_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:127
↓ 2 callersFunctionget_pgsql
To run local tests with a Postgres in Docker, run docker run --name postgres -e POSTGRES_USER=kms -e POSTGRES_PASSWORD=kms -e POSTGRES_DB=kms -p 5432:
crate/server_database/src/tests/mod.rs:65
↓ 2 callersFunctionget_rotation_policy
Get the rotation policy for a symmetric key via the CLI.
crate/clients/ckms/src/tests/symmetric/rotation_policy.rs:42
↓ 2 callersFunctionget_rsa_key_metadata_from_public_key
Extract RSA public key metadata (modulus and exponent)
crate/server/src/routes/utils.rs:15
↓ 2 callersMethodget_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 callersMethodget_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:423
↓ 2 callersFunctionget_system32_dll_path
()
crate/clients/cng/src/registry.rs:285
↓ 2 callersMethodget_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:82
↓ 2 callersMethodget_using_id
(&self, id: &str)
crate/clients/pkcs11/module/src/objects_store.rs:75
↓ 2 callersFunctiongj
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctiongmac_mechanism
`CK_MECHANISM` for `CKM_AES_GMAC` over `params`, which must outlive it.
crate/clients/pkcs11/module/src/core/mechanism.rs:712
↓ 2 callersMethodgoogle_cse_routes_enabled
Whether the HTTP server mounts the Google CSE routes.
crate/server/src/config/params/server_params.rs:577
↓ 2 callersFunctiongoogle_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:422
↓ 2 callersFunctiongrant_operations
( kms: &KMS, address: &str, user: &str, operations: &[KmipOperation], )
crate/server/src/tests/hsm/fake_hsm_rotation.rs:1725
↓ 2 callersFunctionha
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctionhandleProps
(s,o,i,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctionhandleRefreshRow
(uid: string)
ui/src/components/common/Locate.tsx:655
↓ 2 callersFunctionhandle_api_token
Validate the `Bearer` token in the request against the configured API token.
crate/server/src/middlewares/api_token/api_token_auth.rs:57
↓ 2 callersFunctionhandle_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:241
↓ 2 callersFunctionhandle_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:320
↓ 2 callersFunctionhandle_ttlv_bytes_inner
( user: &UserId, ttlv_bytes: &[u8], request_ttlv: Option<TTLV>, major: i32, minor: i32,
crate/server/src/routes/kmip/handlers.rs:659
↓ 2 callersFunctionhandle_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:584
↓ 2 callersFunctionhasElementSourceMap
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctionhasExample
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctionhasIterator
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersMethodhash
(self)
crate/clients/clap/src/actions/bench/cek_switch.rs:63
↓ 2 callersFunctionhashString
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctionhash_alg_from_digest_len
Infer hashing algorithm from digest byte length (fallback heuristic).
crate/clients/cng/src/provider.rs:1355
↓ 2 callersFunctionheader
(major: i32, minor: i32)
crate/server/src/tests/ttlv_tests/certify_1_4.rs:50
↓ 2 callersMethodheader_block
Builds the 16-byte FF1 header block P (NIST SP 800-38G §6 step 5).
crate/crypto/src/crypto/fpe/ff1.rs:427
↓ 2 callersFunctionhealthMarker
(status: string)
ui/src/utils/health.ts:111
↓ 2 callersMethodhealth_check
(&self)
crate/server_database/src/core/mod.rs:366
↓ 2 callersFunctionhelpers_isInteger
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctionhh
(s,o,i,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctionhighlight
(s,o,i,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctionhighlightAuto
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctionhmac_final
(ctx: &mut MdCtx)
crate/server/src/core/operations/mac.rs:542
↓ 2 callersFunctionhmac_init
(key: &[u8], algorithm: HashingAlgorithm)
crate/server/src/core/operations/mac.rs:533
↓ 2 callersFunctionhmac_sha256
(key: &[u8], message: &[u8])
crate/server/src/routes/aws_xks/sigv4.rs:324
↓ 2 callersFunctionhmac_sha256
(key: &[u8], data: &[u8])
crate/secret_backends/src/aws.rs:96
↓ 2 callersFunctionhsm_cipher_params
AES-CBC on a token that generates no AES-GCM IV: a FIPS build refuses AES-GCM there, and the permission scenarios must still run on a cipher the HSM a
crate/server/src/tests/hsm/permissions.rs:127
↓ 2 callersFunctionhsm_key_not_found
`Item_Not_Found` for an HSM key that is missing, or hidden from a caller without any grant.
crate/server/src/core/operations/rekey/hsm.rs:442
↓ 2 callersFunctionhsm_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:260
↓ 2 callersFunctionhsm_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 callersFunctionhsm_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:565
↓ 2 callersFunctionhtml_results
()
crate/clients/clap/src/actions/bench/load.rs:1703
↓ 2 callersFunctioni64_to_f64
`i64` → nearest `f64` (round-to-nearest-even, identical to `as f64`).
crate/crypto/src/crypto/float_conv.rs:7
↓ 2 callersFunctionib
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctionidFromPathMethodLegacy
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctionidemia_simulator_is_fips
()
crate/test_kms_server/src/vector_runner.rs:5253
↓ 2 callersFunctionidentity_body
(key_pair_id: &str)
crate/clients/clap/src/tests/google_cmd/gmail_api.rs:70
↓ 2 callersMethodignoreMatch
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctionignore_sessions
()
crate/clients/pkcs11/module/src/sessions.rs:1110
↓ 2 callersFunctionij
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctionimport_activated
Same import attributes as `ckms keys import`: activated now, usage mask from `--key-usage` (explicit per object type: `Unrestricted` authorizes no ope
crate/server/src/tests/hsm/hybrid_kem_dek.rs:535
↓ 2 callersFunctionimport_aes_mac_key_bytes
Import the AES key `key` carrying the MAC Generate / MAC Verify usage bits.
crate/clients/ckms/src/tests/mac.rs:31
↓ 2 callersFunctionimport_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:183
↓ 2 callersFunctionimport_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:132
↓ 2 callersFunctionimport_mac_kat_key
Import an AES key of known value, with the MAC Generate / MAC Verify usage bits; returns its UID.
crate/clients/pkcs11/provider/src/tests.rs:1565
↓ 2 callersFunctionimport_object
( kms: &Arc<KMS>, owner: &str, object_id: &str, object: &Object, object_type: ObjectType,
crate/server/src/tests/hsm/mod.rs:384
↓ 2 callersFunctionimport_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:314
↓ 2 callersFunctionimport_unwrapped
`Import` the object, asking the server to unwrap it, as `user`.
crate/server/src/tests/hsm/fake_hsm_authz.rs:451
↓ 2 callersMethodincrement_active_connections
Increment active connections
crate/server/src/core/otel_metrics.rs:601
↓ 2 callersFunctionindexOf
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctionindex_browser_assign
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctioninferType
(s,o=new WeakSet)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctioninfer_hmac_hashing_algorithm
Infer the `HashingAlgorithm` from the key's `KeyBlock` or `Attributes`.
crate/server/src/core/operations/mac.rs:602
↓ 2 callersFunctioninit
( log_name: &str, level: Option<Level>, log_home: Option<String>, )
crate/clients/pkcs11/provider/src/logging.rs:23
↓ 2 callersFunctioninit_ckm_rsa_pkcs_decryption_context
( priv_key: &PKey<Private>, )
crate/crypto/src/crypto/rsa/ckm_rsa_pkcs.rs:113
↓ 2 callersFunctioninit_ckm_rsa_pkcs_encryption_context
( pub_key: &PKey<Public>, )
crate/crypto/src/crypto/rsa/ckm_rsa_pkcs.rs:55
↓ 2 callersFunctioninit_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 callersFunctioninit_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 callersFunctioninit_optional_provider_once
( cell: &std::sync::OnceLock<Option<T>>, load: impl FnOnce() -> Result<Option<T>, E>, )
crate/server/src/openssl_providers.rs:387
↓ 2 callersFunctioninitial_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:102
↓ 2 callersFunctioninitialize
()
crate/crypto/src/lib.rs:149
↓ 2 callersMethodinput_bytes
(&self)
crate/clients/clap/src/actions/fpe/mod.rs:82
← previousnext →3,301–3,400 of 16,000, ranked by callers