MCPcopy Create free account

hub / github.com/Cosmian/kms / functions

Functions12,829 in github.com/Cosmian/kms

↓ 3 callersFunctionexecute_rekey
Execute the full rotation pipeline using a [`RekeyOperation`] implementor. This orchestrator drives the 8-step rotation flow in order: validate → det
crate/server/src/core/operations/rekey/common.rs:502
↓ 3 callersFunctionexport_public_key_spki
Export the public key associated with a key-pair (SPKI DER). For RSA and EC key pairs the KMS returns the public key in PKCS#8 (SPKI) format when `Ke
crate/clients/cng/src/backend.rs:263
↓ 3 callersFunctionexport_unwrapped
`Export` the key `uid` unwrapped (`KeyWrapType::NotWrapped`), as `user`.
crate/server/src/tests/hsm/fake_hsm_authz.rs:561
↓ 3 callersMethodexternalDocs
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionextractAllUuids
(text: string)
ui/tests/e2e/helpers.ts:37
↓ 3 callersFunctionextract_all_uids
Parse all "Unique identifier: <uid>" lines from CLI output. Used to collect multiple share UIDs from `ckms sym keys create-split-key` output.
crate/clients/ckms/src/tests/rbac_tests.rs:662
↓ 3 callersFunctionextract_batch_audit_contexts
Extracts per-`BatchItem` audit context from a `RequestMessage` TTLV. For each `BatchItem` in the message, extracts: `operation` — the KMIP operation
crate/server/src/routes/kmip/audit.rs:73
↓ 3 callersFunctionextract_object_uid
Extracts the `UniqueIdentifier` for audit purposes from a single-operation TTLV. `is_response = false` — looks for `UniqueIdentifier` as a **direct c
crate/server/src/routes/kmip/audit.rs:130
↓ 3 callersFunctionextract_serial_hex_from_object
Extract the X.509 serial number as an uppercase hex string from a KMS `Object`. Returns `None` if the object is not a certificate or DER parsing fail
crate/server_database/src/core/database_objects.rs:808
↓ 3 callersFunctionfb
(s,o,i,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionfield
(body: &Value, name: &str)
crate/server/src/tests/google_cse/token_validation.rs:144
↓ 3 callersMethodfill_missing_fields
Fill missing (`None`) fields in `self` from `source`. Every `Option` field that is `None` in `self` gets overwritten with the corresponding value fro
crate/kmip/src/kmip_2_1/kmip_types.rs:1580
↓ 3 callersMethodfind
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionfind_all_fields_in_json
Collect ALL leaf values for a given tag name in the TTLV JSON tree.
crate/test_kms_server/src/vector_runner.rs:596
↓ 3 callersMethodfind_all_with_options
Same as [`Self::find_all`], restricted by `options`, which each object store applies to its own result: with several stores, callers must still cap th
crate/server_database/src/core/database_objects.rs:524
↓ 3 callersMethodfind_by_rotate_name
Find objects by their `x-rotate-name` vendor attribute. Queries all registered object stores and returns matching `(uid, attributes)` pairs. Backed
crate/server_database/src/core/database_objects.rs:643
↓ 3 callersMethodfind_by_rotate_name_uncached
Same as [`Self::find_by_rotate_name`], but always queries the object stores, bypassing (and not populating) the [`crate::core::RotateNameCache`].
crate/server_database/src/core/database_objects.rs:663
↓ 3 callersFunctionfind_ca_issued_certificates
Find, per serial number, the stored certificates that count for the revocation data (CRL, OCSP) of the CA certificate `ca` (`ca_x509`), among the cert
crate/server/src/core/certificate/find.rs:53
↓ 3 callersMethodfind_certificate_state_by_der
Find a certificate object by an exact match on its DER-encoded bytes. It does **not** require a known issuer UID: it scans every certificate object a
crate/server_database/src/core/database_objects.rs:554
↓ 3 callersFunctionfind_init_container
Returns the init-container `Value` from the patches list. The `initContainers` patch value is either `[init]` or `init` directly.
crate/clients/k8s/operator/src/webhook.rs:337
↓ 3 callersMethodfind_object_handles
Search for and retrieve object handles that match the provided attribute template. This function queries the HSM to find all objects in the current s
crate/hsm/base_hsm/src/session/session_impl.rs:449
↓ 3 callersFunctionfind_sealed_file
Finds the `*.corrupt.<ext>` sibling file sealed next to `path`, if any.
crate/server/src/core/audit/store.rs:812
↓ 3 callersFunctionfind_ttlv_recursive
Depth-first search for the first `TTLV` node with the given tag. Used for response-side extraction where the layout is well-defined.
crate/server/src/routes/kmip/audit.rs:108
↓ 3 callersMethodfind_with_options
Same as [`Self::find`], restricted by `options`, which each object store applies to its own result: with several stores, callers must still cap the co
crate/server_database/src/core/database_objects.rs:470
↓ 3 callersFunctionfind_with_options_test
Verify the Locate listing queries (`find_with_options` / `find_all_with_options`): - a tag search returns the objects carrying *all* the searched tags
crate/server_database/src/tests/database_tests.rs:752
↓ 3 callersMethodfind_wrapped_by
Return (uid, state, attributes) for every object wrapped by the given wrapping key.
crate/server_database/src/core/database_objects.rs:597
↓ 3 callersMethodfingerprint
Compute a fingerprint of `object`. Streams `object` serialized as JSON directly into the hasher, avoiding intermediate TTLV tree allocations and temp
crate/server_database/src/core/fingerprinter.rs:57
↓ 3 callersMethodfingerprint
(&self)
crate/server_database/src/core/unwrapped_cache.rs:41
↓ 3 callersMethodfinish_key_pair_creation
Finish a key pair creation: apply this policy (when set) to the private key, which is the keyset anchor, print `message` with `tags` and both key ids,
crate/clients/clap/src/actions/shared/rotation_policy_args.rs:100
↓ 3 callersFunctionflatten
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionflow
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersMethodfor_replacement
Create replacement attributes for a new key based on these (old) attributes. Per KMIP 1.4 §4.4 Table 173 / §4.5 Table 177 / §4.8 Table 187: - Copies
crate/kmip/src/kmip_2_1/kmip_attributes.rs:1996
↓ 3 callersFunctionforce_save_kms_cli_config
(ctx: &TestsContext)
crate/clients/ckms/src/tests/utils/config.rs:133
↓ 3 callersMethodforget_message_context
Marks the family's context closed without any FFI call (the token already ended it).
crate/hsm/base_hsm/src/session/message_context.rs:164
↓ 3 callersMethodforget_session
Stop trusting the cached session of `token`, e.g. once the KMS logout revoked it.
crate/server/src/middlewares/auth_verifier/session.rs:132
↓ 3 callersFunctionformat
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionfpe_decrypt
( cli_conf_path: &str, input_file: &str, key_id: &str, data_type: &str, alphabet: Option<&
crate/clients/ckms/src/tests/fpe/encrypt_decrypt.rs:55
↓ 3 callersFunctionfpe_encrypt
( cli_conf_path: &str, input_file: &str, key_id: &str, data_type: &str, alphabet: Option<&
crate/clients/ckms/src/tests/fpe/encrypt_decrypt.rs:13
↓ 3 callersFunctiong
(o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersMethodgen
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctiongenerate_cek
Generate a random CEK of the appropriate size for the given `enc` algorithm. The returned key is wrapped in `Zeroizing` so it is wiped on drop.
crate/server/src/routes/jose/aes_gcm.rs:37
↓ 3 callersFunctiongenerate_csr
( cli_conf_path: &str, private_key_id: &str, subject_name: &str, output_file: &std::path::Path
crate/clients/ckms/src/tests/certificates/generate_csr.rs:24
↓ 3 callersFunctiongenerate_csr_args
`ckms certificates generate-csr <args>`: returns stdout, or stderr as an error.
crate/clients/ckms/src/tests/certificates/generate_csr.rs:51
↓ 3 callersFunctiongenerate_ephemeral_ec
Generate a fresh ephemeral EC key pair on `nid` and return `(private_scalar_bytes, x_b64, y_b64)`.
crate/server/src/tests/jose/ecdh.rs:52
↓ 3 callersFunctiongenerate_key_pair
Generate a key pair and the corresponding system tags. Generate FIPS-140-3 compliant Key Pair for key agreement and digital signature. Sources: - NIS
crate/server/src/core/operations/create_key_pair.rs:221
↓ 3 callersFunctiongenerate_pqc_seed
Generate deterministic seed bytes for PQC key generation. Returns `seed_len` random bytes from `KmsRng`, in a zeroizing buffer. When `rng` is suppli
crate/crypto/src/crypto/pqc/mod.rs:84
↓ 3 callersFunctiongenerate_serial_number
Generate a fresh random certificate serial number (RFC 5280 §4.1.2.2). The serial must be unique per issuer. It used to be SHA-1(SPKI) of the subject
crate/server/src/core/operations/certify/build_certificate.rs:469
↓ 3 callersFunctiongetDefaultRequestBodyValue
(s,o,i,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 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 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_attributes
(kms: &Arc<KMS>, uid: &str, tag: Tag)
crate/server/src/tests/test_modify_attribute.rs:72
↓ 3 callersFunctionget_attributes
( kms_rest_client: &KmsClient, id_or_tags: &str, attribute_tags: &[Tag], attribute_link_types:
crate/clients/clap/src/actions/attributes/get.rs:114
↓ 3 callersMethodget_attributes_from_args
(&self)
crate/clients/clap/src/actions/attributes/set.rs:152
↓ 3 callersMethodget_crl
Retrieve the persisted CRL DER bytes and generation timestamp for `issuer_id`.
crate/server_database/src/core/database_permissions.rs:167
↓ 3 callersFunctionget_crypto_algorithms
()
crate/clients/wasm/src/wasm.rs:305
↓ 3 callersMethodget_key_metadata
Get the metadata for a key
crate/hsm/base_hsm/src/session/session_impl.rs:3579
↓ 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:3892
↓ 3 callersMethodget_key_wrapping_data
(&self)
crate/kmip/src/kmip_2_1/kmip_data_structures.rs:1039
↓ 3 callersFunctionget_kms_object_attributes
( kms_client: &KmsClient, object_id: &str, )
crate/clients/pkcs11/provider/src/kms_object.rs:1450
↓ 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:181
↓ 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 Reads
crate/hsm/base_hsm/src/session/session_impl.rs:3917
↓ 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:3899
↓ 3 callersFunctionget_subject
Determine the subject of the issued certificate. The subject can be recovered from different sources: - a public key and a subject name - a certificat
crate/server/src/core/operations/certify/resolve_subject.rs:169
↓ 3 callersMethodget_supported_algorithms
( &self, _slot_id: usize, )
crate/interfaces/src/hsm/interface.rs:663
↓ 3 callersFunctiongh
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctiongmail_api_conf
(base: &str, token_path: &str)
crate/test_kms_server/src/mock_gmail.rs:100
↓ 3 callersFunctiongoogle_cse_auth
( proxy_params: Option<&ProxyParams>, )
crate/server/src/tests/google_cse/utils.rs:359
↓ 3 callersMethodgoogle_cse_status
This operation requests `google_cse` status of the server
crate/clients/client/src/kms_rest_client.rs:835
↓ 3 callersFunctiongroup_over_budget
Returns `true` once the current group has exhausted its time budget.
crate/clients/clap/src/actions/bench/transport.rs:91
↓ 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 callersFunctionhighlight_objectSpread
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 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:52
↓ 3 callersFunctionhybrid_request
(tag: &str)
crate/server/src/tests/configurable_kem_tests.rs:44
↓ 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:554
↓ 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:627
↓ 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:598
↓ 3 callersFunctionimport_ttlv_request
( unique_identifier: Option<String>, key_bytes: Vec<u8>, key_format: &str, public_key_id: Opti
crate/clients/wasm/src/wasm.rs:1782
↓ 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:104
↓ 3 callersFunctioninit_openssl_providers
Initialize OpenSSL providers for production KMS server. For FIPS mode: loads the FIPS provider. For non-FIPS mode with OpenSSL >= 3.0: loads the lega
crate/server/src/openssl_providers.rs:414
↓ 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:250
↓ 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:279
↓ 3 callersFunctionintersect_all_refs
(sets: &'a Vec<HashSet<&'a IndexedValue>>)
crate/server_database/src/stores/redis/redis_with_findex.rs:97
↓ 3 callersFunctioninvalid_response_message
According to the specs, when a Request Message is invalid, the KMIP server must return a Response message containing a header and a Batch Item without
crate/server/src/routes/kmip/handlers.rs:111
↓ 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
← previousnext →1,601–1,700 of 12,829, ranked by callers