MCPcopy Create free account

hub / github.com/Cosmian/kms / functions

Functions16,000 in github.com/Cosmian/kms

↓ 3 callersMethodgetIndex
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctiongetIterator
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctiongetMenuItems
(options?: { enableCovercrypt?: boolean; pqcLabel?: string; isFips?: boolean; features?: UiFea
ui/src/menuItems.tsx:443
↓ 3 callersFunctiongetObjectLabel
(type: ObjectType)
ui/src/utils/utils.ts:329
↓ 3 callersMethodgetStore
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctiongetType
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctiongetValueByPointer
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionget_aead_and_key
( owm: &'a ObjectWithMetadata, request: &Decrypt, )
crate/server/src/core/operations/decrypt.rs:840
↓ 3 callersMethodget_algorithms
Retrieve the list of supported cryptographic algorithms for a given HSM slot. This function queries the specified slot to determine which algorithms
crate/hsm/base_hsm/src/base_hsm.rs:275
↓ 3 callersFunctionget_attributes
(kms: &Arc<KMS>, uid: &str, tag: Tag)
crate/server/src/tests/test_modify_attribute.rs:70
↓ 3 callersMethodget_attributes_from_args
(&self)
crate/clients/clap/src/actions/attributes/set.rs:152
↓ 3 callersFunctionget_crypto_algorithms
()
crate/clients/wasm/src/wasm.rs:314
↓ 3 callersMethodget_db_state
(&self)
crate/server_database/src/stores/migrate.rs:270
↓ 3 callersFunctionget_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:867
↓ 3 callersFunctionget_key_attributes
Fetch key attributes from the KMS.
crate/clients/cng/src/backend.rs:247
↓ 3 callersMethodget_key_type
Get the type of an HSM key. For EC-family keys, this also validates `CKA_EC_PARAMS` against supported curves.
crate/hsm/base_hsm/src/session/session_impl.rs:4214
↓ 3 callersMethodget_key_wrapping_data
(&self)
crate/kmip/src/kmip_2_1/kmip_data_structures.rs:1053
↓ 3 callersFunctionget_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:352
↓ 3 callersFunctionget_kms_object_attributes
( kms_client: &KmsClient, object_id: &str, )
crate/clients/pkcs11/provider/src/kms_object.rs:1561
↓ 3 callersMethodget_max_crl_number
Return the highest `crl_number` across all stored CRLs, or `None` when none exist. Called once during [`KMS::instantiate`] to seed the CRL sequence c
crate/server_database/src/core/database_permissions.rs:182
↓ 3 callersMethodget_object_id
Get the Object id # Arguments `object_handle` - The object handle # Returns `Result<Option<Vec<u8>>>` - The key object id if the object exists A publ
crate/hsm/base_hsm/src/session/session_impl.rs:4243
↓ 3 callersMethodget_response
Send a GET request to `endpoint`, with `data` as query parameters.
crate/clients/client/src/kms_rest_client.rs:913
↓ 3 callersMethodget_signing_key_metadata
Get only the key type and optional curve required to resolve an HSM signing algorithm.
crate/hsm/base_hsm/src/session/session_impl.rs:4221
↓ 3 callersMethodget_supported_algorithms
( &self, _slot_id: usize, )
crate/interfaces/src/hsm/interface.rs:708
↓ 3 callersFunctiongh
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctiongmac_iv
The IV of an AES-GMAC MAC value (`IV || tag`). # Errors Returns an error if `mac` is not exactly [`GMAC_MAC_LENGTH`] bytes long.
crate/crypto/src/crypto/symmetric/mac.rs:260
↓ 3 callersFunctiongmac_mechanism
`CKM_AES_GMAC` mechanism over `params`, which must outlive the returned value.
crate/hsm/base_hsm/src/session/session_impl.rs:110
↓ 3 callersFunctiongmac_params
`CKM_AES_GMAC` parameter (PKCS#11 v3.0 §2.13.4): a `CK_GCM_PARAMS` with the 12-byte IV, no AAD (the message is the `pData` of `C_Sign`/`C_Verify`) and
crate/hsm/base_hsm/src/session/session_impl.rs:98
↓ 3 callersFunctiongmail_api_conf
(base: &str, token_path: &str)
crate/test_kms_server/src/mock_gmail.rs:100
↓ 3 callersMethodgoogle_cse_status
This operation requests `google_cse` status of the server
crate/clients/client/src/kms_rest_client.rs:836
↓ 3 callersFunctiongrant
(kms: &Arc<KMS>, uid: &str, user: &str, ops: &[KmipOperation])
crate/server/src/tests/azure_ekm/routes_tests.rs:220
↓ 3 callersFunctiongroup_over_budget
Returns `true` once the current group has exhausted its time budget.
crate/clients/clap/src/actions/bench/transport.rs:92
↓ 3 callersFunctionhandle_jwt
Core JWT authentication logic Extracts the JWT token from the request, validates it, and checks for required claims (specifically email). # Paramete
crate/server/src/middlewares/jwt/jwt_token_auth.rs:213
↓ 3 callersFunctionhandle_ttlv_bytes
Handle KMIP requests in TTLV binary format: socket server entry point; audits the request. `client_ip` is the peer address of the TLS connection. In
crate/server/src/routes/kmip/handlers.rs:503
↓ 3 callersFunctionhasExceededMaxProperties
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionhash
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionheader
( batch_count: i32, batch_error_continuation_option: Option<BatchErrorContinuationOption>, )
crate/server/src/tests/ttlv_tests/message_1_4.rs:30
↓ 3 callersFunctionhexToBytes
(hex: string)
ui/src/actions/MAC/macParams.ts:36
↓ 3 callersFunctionhighlight_objectSpread
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionhmac_algorithm_to_hashing
Map a `CryptographicAlgorithm` HMAC variant to its `HashingAlgorithm`.
crate/server/src/core/operations/mac.rs:584
↓ 3 callersFunctionhsm_model_from_prefix
Resolve a human-readable HSM model label from a routing prefix. Searches the configured `hsm_instances` for an entry whose `prefix` matches the given
crate/server/src/core/uid_utils.rs:54
↓ 3 callersFunctionhsm_rsa_encrypt_variants
RSA encrypt variants benchmarked against an HSM, as `(label, parameters)`. A FIPS build keeps only RSA-OAEP-SHA256: the FIPS HSM support check refuse
crate/clients/clap/src/actions/bench/helpers.rs:242
↓ 3 callersFunctionhybrid_request
(tag: &str)
crate/server/src/tests/configurable_kem_tests.rs:44
↓ 3 callersFunctionimport_aes_mac_key
Import a random AES key of `bytes` bytes carrying the MAC Generate / MAC Verify usage bits (keys from `sym keys create` do not have them).
crate/clients/ckms/src/tests/mac.rs:24
↓ 3 callersFunctionimport_private_x25519_key
( kms: &Arc<KMS>, owner: &UserId, uid: &str, public_key_uid: &str, private_key_bytes: &[u8
crate/server/src/tests/derive_key_tests.rs:960
↓ 3 callersFunctionimport_public_key_for_private
After importing a private key, derive its public key (SPKI DER), import it as a separate `PublicKey` object with UID `{private_key_uid}_pk`, and set u
crate/server/src/routes/jose/keys.rs:725
↓ 3 callersFunctionimport_public_x25519_key
( kms: &Arc<KMS>, owner: &UserId, uid: &str, private_key_uid: &str, public_key_bytes: &[u8
crate/server/src/tests/derive_key_tests.rs:1004
↓ 3 callersFunctionimport_ttlv_request
(key_bytes: &[u8], options: JsValue)
crate/clients/wasm/src/wasm.rs:1877
↓ 3 callersMethodindex
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersMethodindex
(self)
crate/clients/pkcs11/module/src/profiling.rs:43
↓ 3 callersFunctionindexedSeqFromValue
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctioninherit
(s,...o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctioninit_findex_redis
( findex_key: &Secret<FINDEX_KEY_LENGTH>, redis_url: &str, )
crate/server_database/src/stores/redis/redis_with_findex.rs:203
↓ 3 callersFunctioninject_audit_request
Injects audit extensions into the request. Batch** (`RequestMessage`): injects `KmipBatchOperations` with one entry per `BatchItem`. The middleware f
crate/server/src/routes/kmip/audit.rs:365
↓ 3 callersFunctioninject_response_uid
Backfills `KmipObjectUid` from the response TTLV for `Create` / `CreateKeyPair`, where the UID is server-generated and absent from the request. For *
crate/server/src/routes/kmip/audit.rs:457
↓ 3 callersMethodinsert_metadata
Insert cached signing key metadata for the specified handle.
crate/hsm/base_hsm/src/slots.rs:86
↓ 3 callersFunctioninteger_item
Build a minimal valid Integer item encoded in TTLV binary format. Layout: [tag 3B][type 1B][length 4B][value 4B][padding 4B] = 16 bytes total. Uses
crate/kmip/src/ttlv/tests/wire_edge_cases.rs:24
↓ 3 callersFunctionintersect_all_refs
(sets: &'a Vec<HashSet<&'a IndexedValue>>)
crate/server_database/src/stores/redis/redis_with_findex.rs:196
↓ 3 callersMethodinvalidate_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:889
↓ 3 callersFunctionisEmptyValue
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionisFile
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionisFn
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersMethodisFrozen
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionisHttpUrl
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionisImmutable
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionisInstance
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionisIterator
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionisOpenAPI31
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionisPatch
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionisPrintable
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionisRecord
(value: unknown)
ui/src/utils/health.ts:42
↓ 3 callersFunctionisSpecial
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionis_EOL
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionis_WHITE_SPACE
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionis_blocked_ip
Returns `true` if `ip` must never be reached by a server-side fetch: the IPv4 ranges of [`is_blocked_ipv4`], the IPv6 ranges of [`is_blocked_ipv6`] (l
crate/server/src/core/certificate/mod.rs:55
↓ 3 callersFunctionis_compromise
Whether the revocation reason is a key or CA compromise.
crate/server/src/core/operations/revoke.rs:386
↓ 3 callersMethodis_configured
(&self)
crate/access/src/access.rs:294
↓ 3 callersMethodis_crypto_officer_activated_by
Returns `true` if `user` has their own active Crypto Officer ceremony record. Other users in `crypto_officer_users` may simultaneously be active COs
crate/server_database/src/core/database_permissions.rs:125
↓ 3 callersFunctionis_enrollment_issued
`true` when `certificate` carries the [`ENROLLED_CERTIFICATE_POLICY_OID`] stamped on certificates issued through EST / SCEP. Fails closed when the cer
crate/server/src/middlewares/tls_auth.rs:146
↓ 3 callersMethodis_extractable
(&self)
crate/clients/pkcs11/module/src/traits/key_protection.rs:20
↓ 3 callersMethodis_extractable
Read the `CKA_EXTRACTABLE` attribute of a key object. Returns `Ok(None)` if the object cannot be found or the attribute cannot be read (e.g. the HSM
crate/hsm/base_hsm/src/session/session_impl.rs:4307
↓ 3 callersFunctionis_key_type
(object_type: ObjectType)
crate/server_database/src/stores/redis/redis_with_findex.rs:88
↓ 3 callersFunctionis_last_state_sync_batch
Whether a batch of `len` rows is the last one (shorter than [`STATE_SYNC_BATCH`]).
crate/server_database/src/stores/migrate.rs:40
↓ 3 callersFunctionis_message_unsupported_rv
Whether a return code from a message-family init means "use the classic API instead".
crate/hsm/base_hsm/src/session/message_context.rs:111
↓ 3 callersMethodis_multi_node
`true` when several KMS nodes or regions share the data.
crate/server/src/config/wizard/profile_wizard.rs:51
↓ 3 callersMethodis_never_extractable
(&self)
crate/clients/pkcs11/module/src/traits/key_protection.rs:25
↓ 3 callersMethodis_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:794
↓ 3 callersFunctionis_pg_retryable_error
(msg: &str)
crate/server_database/src/stores/sql/pgsql.rs:55
↓ 3 callersMethodis_sensitive
(&self)
crate/clients/pkcs11/module/src/traits/key_protection.rs:15
↓ 3 callersFunctionis_server_kek
Is `uid`, the wrapping key UID of a stored key block, the server `key_encryption_key` or its `_pk` public key? Literal match only: the key a UID resol
crate/server/src/core/wrapping/mod.rs:30
↓ 3 callersFunctionis_server_vendor_attribute
Whether a custom attribute is server-owned: KMIP 1.x `y-` names (KMIP 2.1 §4.46) and the Cosmian split-key bookkeeping that `JoinSplitKey` trusts. The
crate/server/src/core/operations/attributes/policy.rs:71
↓ 3 callersFunctionis_signing_algorithm_supported
(algorithm: HsmSigningAlgorithm)
crate/hsm/base_hsm/src/session/session_impl.rs:269
↓ 3 callersMethodis_tls_enabled
(&self)
crate/server/src/config/command_line/tls_config.rs:94
↓ 3 callersMethodis_ui_session_revoked
Whether the Web UI session `sid` was revoked by any KMS instance.
crate/server_database/src/core/database_permissions.rs:204
↓ 3 callersFunctionis_wrapped_by_server_kek
Is `object` wrapped by the server `key_encryption_key`?
crate/server/src/core/wrapping/mod.rs:38
↓ 3 callersFunctionissued_certificate_uid
UID of the stored certificate with `serial_hex` issued by the enrollment CA.
crate/server/src/tests/enrollment_tests.rs:1493
↓ 3 callersMethodjose_encrypt
Encrypt data via the JOSE REST endpoint. This is a convenience wrapper around `POST /v1/crypto/encrypt`.
crate/clients/client/src/jose.rs:197
↓ 3 callersFunctionjose_oaep_hashes
Return `(oaep_hash, mgf1_hash)` for an RSA-OAEP key management algorithm. Per RFC 7518 §4.3: - `RSA-OAEP` → SHA-1 + MGF1-SHA-1 - `RSA-OAEP-256`
crate/server/src/routes/jose/algorithm.rs:402
↓ 3 callersFunctionjose_rsa_oaep_decrypt_body
Build a `POST /v1/crypto/decrypt` body for a JWE made client-side (like a producer application): fresh CEK + IV, `RSA-OAEP-256` CEK wrap under `public
crate/clients/clap/src/actions/bench/jose.rs:132
↓ 3 callersFunctionjose_try_create_rsa_kp
( rt: &Runtime, client: &KmsClient, alg: &'static str, bits: usize, )
crate/clients/clap/src/actions/bench/jose.rs:64
← previousnext →2,201–2,300 of 16,000, ranked by callers