MCPcopy Create free account

hub / github.com/Cosmian/kms / functions

Functions16,000 in github.com/Cosmian/kms

↓ 2 callersMethodupsert_crl
Persist (or replace) the most recently generated CRL for `issuer_id`.
crate/server_database/src/core/database_permissions.rs:153
↓ 2 callersFunctionuri_evaluate
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersMethodurl
Target endpoint URL for this transport.
crate/clients/clap/src/actions/bench/transport.rs:120
↓ 2 callersFunctionurl_cwd
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctionusage_mask_from_flags
Map PKCS#11 usage attributes to a KMIP usage mask for an AES or RSA key. `CKA_SIGN`/`CKA_VERIFY` on a secret key mean MAC generation/verification. EC
crate/interfaces/src/hsm/hsm_store.rs:1291
↓ 2 callersFunctionuseLevel
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctionuseMacOptions
()
ui/src/actions/MAC/macParams.ts:23
↓ 2 callersFunctionuse_pin_as_access_token
Returns `true` when the OIDC-pin mode is active: the `pPin` passed to `C_Login` is treated as a bearer token for every subsequent KMS request.
crate/clients/pkcs11/module/src/traits/backend.rs:267
↓ 2 callersMethodused
(&self)
crate/server/src/core/operations/key_ops/multi_part.rs:165
↓ 2 callersMethoduser_has_granted_operation
Shared authorization tail: does `user` hold an explicit grant for `operation` on the object `uid` (honoring the `Get` wildcard for non-HSM keys)? Own
crate/server/src/core/operations/key_ops/crypto_op.rs:814
↓ 2 callersFunctionutf8Slice
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctionutf8ToBytes
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctionutil_merge
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctionutils_memoizeN
(s,o=list)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctionv14
(response: &ResponseMessage, index: usize)
crate/server/src/tests/ttlv_tests/message_1_4.rs:51
↓ 2 callersFunctionv2_list
(major: u8, minor: u8)
crate/clients/clap/src/actions/pkcs11/verify.rs:981
↓ 2 callersFunctionv2_only_function_list_3_0
A `CK_FUNCTION_LIST_3_0` holding only the legacy entries of `legacy`; every v3.0 entry is absent. Used for a library without a v3.x table, so that all
crate/clients/clap/src/actions/pkcs11/verify.rs:424
↓ 2 callersMethodvalidate
Enforce the header rules of the JWKS-keyed authenticators: - `alg` and `kid` must be present and non-blank (the key is always selected from the config
crate/server/src/middlewares/jwt/jwt_config.rs:232
↓ 2 callersFunctionvalidate_api_version
Validate API version for all requests
crate/server/src/routes/azure_ekm/mod.rs:38
↓ 2 callersFunctionvalidate_block_cipher_mode_typed
( mode: BlockCipherMode, whitelist: Option<&HashSet<BlockCipherMode>>, )
crate/server/src/core/operations/algorithm_policy.rs:896
↓ 2 callersFunctionvalidate_ca_key_algorithm
(key: &PKey<Private>)
crate/server/src/routes/ssh/certificate.rs:487
↓ 2 callersFunctionvalidate_classic_params
crate/hsm/base_hsm/tests/fixtures/fips_gcm_hsm.c:84
↓ 2 callersFunctionvalidate_client_identity_parameters
( identity_path: Option<&str>, identity_password: Option<&str>, )
crate/server_database/src/stores/sql/mysql.rs:65
↓ 2 callersFunctionvalidate_cryptographic_parameters_for_mac
Like [`validate_cryptographic_parameters`] but uses [`validate_hashing_algorithm_for_mac`] so that HMAC-SHA-1 and HMAC-SHA-224 are accepted in MAC/MAC
crate/server/src/core/operations/algorithm_policy.rs:1075
↓ 2 callersFunctionvalidate_idp_token
Validate an end-user authentication token against the identity providers and return its claims. `resource_name` is set on the privileged endpoints: a
crate/server/src/routes/google_cse/jwt.rs:283
↓ 2 callersFunctionvalidate_kek_algorithm
Validate the head of a key lineage (the kek) against the requested wrap algorithm. Shared by the wrap and unwrap handlers. Returns the cryptographic
crate/server/src/routes/azure_ekm/handlers.rs:249
↓ 2 callersFunctionvalidate_mask_generator_typed
( mgf: MaskGenerator, whitelist: Option<&HashSet<MaskGenerator>>, )
crate/server/src/core/operations/algorithm_policy.rs:922
↓ 2 callersFunctionvalidate_message_mechanism
crate/hsm/base_hsm/tests/fixtures/fips_gcm_hsm.c:102
↓ 2 callersFunctionvalidate_message_params
crate/hsm/base_hsm/tests/fixtures/fips_gcm_hsm.c:112
↓ 2 callersMethodvalidate_no_crypto_param_change
Validate that the request attributes do not attempt to change cryptographic parameters. Per KMIP §4.4 / §4.5, a rekey operation must preserve the alg
crate/kmip/src/kmip_2_1/kmip_attributes.rs:1968
↓ 2 callersFunctionvalidate_object_path
`objectName` becomes a file path under the pod volume: it must be relative and must not escape the volume.
crate/clients/k8s/csi_provider/src/service.rs:219
↓ 2 callersFunctionvalidate_padding_method_typed
( padding: PaddingMethod, whitelist: Option<&HashSet<PaddingMethod>>, )
crate/server/src/core/operations/algorithm_policy.rs:909
↓ 2 callersFunctionvalidate_principals
(principals: &[String])
crate/server/src/routes/ssh/types.rs:74
↓ 2 callersFunctionvalidate_role_name
(name: &str)
crate/server/src/routes/ssh/mod.rs:323
↓ 2 callersFunctionvalidate_subject_name
Reject an empty or malformed subject, returning the parsed name.
crate/server/src/core/operations/generate_csr.rs:96
↓ 2 callersFunctionvalidate_tag
crate/hsm/base_hsm/tests/fixtures/fips_gcm_hsm.c:137
↓ 2 callersFunctionvalidate_user_tags
Validate that every tag in `tags` is non-empty and does not start with `_`.
crate/server/src/routes/jose/tags.rs:97
↓ 2 callersFunctionvalidating_app_with_privileged_users
A validating app whose `google_cse_privileged_users` is `privileged_users`.
crate/server/src/tests/google_cse/token_validation.rs:101
↓ 2 callersFunctionvalueEncoder
(s,o=!1)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersMethodvalue_readable
(&self)
crate/clients/pkcs11/module/src/traits/key_protection.rs:37
↓ 2 callersFunctionvb
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctionverified_issuers
The certificates above the leaf of a TLS connection's client certificate chain. This is the chain OpenSSL verified. Session resumption is off on ever
crate/server/src/middlewares/tls_auth.rs:72
↓ 2 callersFunctionverify
(dll: &Path)
crate/clients/clap/src/actions/cng.rs:204
↓ 2 callersFunctionverify_auth_verifier_jwt
( _jwks_manager: &Arc<JwksManager>, token: &str, )
crate/server/src/middlewares/auth_verifier/token.rs:175
↓ 2 callersFunctionverify_crls
Verifies the Certificate Revocation Lists (CRLs) for a given list of certificates. This function iterates over the provided certificates and performs
crate/server/src/core/operations/validate.rs:944
↓ 2 callersMethodverify_mac_with_metadata
Verify a MAC using the given key in the HSM, resolving the HSM-specific MAC mechanism from the key's own on-HSM metadata within the SAME checked-out P
crate/interfaces/src/hsm/interface.rs:610
↓ 2 callersFunctionverify_signature
Perform the actual signature verification. # Arguments `verification_key` - The public key to use for verification. `data` - The data that was signe
crate/server/src/core/operations/signature_verify.rs:345
↓ 2 callersFunctionverify_signature
Verify a signature on a pre-hashed digest using a public key in the KMS. Returns `true` if the signature is valid, `false` otherwise.
crate/clients/cng/src/backend.rs:440
↓ 2 callersFunctionverify_sigv4_request
Verifies the `SigV4` `Authorization` header of `request` against the XKS credentials, region and service in `params`. The returned error explains the
crate/server/src/routes/aws_xks/sigv4.rs:43
↓ 2 callersMethodverify_with_classic_mechanism
Verifies with `C_VerifyInit`/`C_Verify` only, never through a persistent message context (see [`Self::sign_with_classic_mechanism`]).
crate/hsm/base_hsm/src/session/session_impl.rs:2623
↓ 2 callersMethodverify_with_mechanism
( &self, key_handle: CK_OBJECT_HANDLE, mechanism: &mut CK_MECHANISM, data: &[u
crate/hsm/base_hsm/src/session/session_impl.rs:2608
↓ 2 callersMethodverify_with_simple_mechanism
Verify using a mechanism with no parameters (`pParameter = NULL`).
crate/hsm/base_hsm/src/session/session_impl.rs:2575
↓ 2 callersFunctionversion
(req_http: HttpRequest, kms: Data<Arc<KMS>>)
crate/server/src/routes/ms_dke/mod.rs:88
↓ 2 callersMethodversion
This operation requests the version of the server
crate/clients/client/src/kms_rest_client.rs:831
↓ 2 callersFunctionversioned_update_op
Update the object only if its stored version still equals the one in `owm`; stores without versions use the unconditional update.
crate/server/src/core/operations/rekey/common.rs:721
↓ 2 callersFunctionvictim_key
A key of `VICTIM`, wrapped at rest by the server KEK: its stored (wrapped) object, and the key bytes `VICTIM` reads back.
crate/server/src/tests/hsm/fake_hsm_authz.rs:809
↓ 2 callersMethodvisit_bool
(self, v: bool)
crate/server/src/middlewares/jwt/jwt_config.rs:122
↓ 2 callersMethodvisit_i64
(self, v: i64)
crate/kmip/src/ttlv/interval.rs:99
↓ 2 callersFunctionwaitForEnrichedRow
(cells: Locator)
ui/tests/e2e/locate-attributes.spec.ts:38
↓ 2 callersFunctionwait_for_server_to_start
Wait for the server to start by reading the version
crate/test_kms_server/src/test_server.rs:1239
↓ 2 callersFunctionwebsite_classification
How every `kmip/website` XML file is used: run (the cn01 Test Cases notes, and each draft test case that has no run counterpart, once), or accounted f
crate/clients/clap/src/tests/xml/kmip.rs:179
↓ 2 callersFunctionwholeSlice
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctionwire_spock_bidirectional
Wire bidirectional Spock logical replication between two pgEdge `PostgreSQL` nodes, for live 2-node multi-region integration tests. Idempotent (checks
crate/server/src/tests/test_utils.rs:894
↓ 2 callersMethodwith_cached_key_scan
Read the cached key snapshot through `read`, bootstrapping it with a full scan when no reconcile has run yet.
crate/server_database/src/stores/redis/redis_with_findex.rs:372
↓ 2 callersFunctionwith_cleanup
Run `test`, then destroy only the objects it created on `slot`, even when it panics.
crate/hsm/luna/src/tests.rs:38
↓ 2 callersFunctionwith_debug
Run `f` with a DEBUG-level subscriber so `debug!` arguments are evaluated.
crate/clients/cng/src/key.rs:498
↓ 2 callersFunctionwith_fips_ec_masks
(mut req: CreateKeyPair)
crate/clients/clap/src/actions/bench/helpers.rs:154
↓ 2 callersFunctionwith_fips_rsa_masks
(mut req: CreateKeyPair)
crate/clients/clap/src/actions/bench/helpers.rs:141
↓ 2 callersFunctionwith_session_aes_key
Run `f` on a session AES key of known value, destroyed afterwards even when `f` fails.
crate/hsm/base_hsm/src/tests_shared.rs:746
↓ 2 callersFunctionwithout_system_tags
Drop the system tags (starting with `_`): only the server sets them.
crate/server/src/core/operations/import.rs:269
↓ 2 callersMethodwrap_aes_key_with_rsa_oaep
( &self, wrapping_key_handle: CK_OBJECT_HANDLE, aes_key_handle: CK_OBJECT_HANDLE,
crate/hsm/base_hsm/src/session/rsa.rs:244
↓ 2 callersFunctionwrap_in_request_message
Wrap a bare KMIP operation TTLV-JSON in a `RequestMessage` envelope. Transforms `{ "tag": "Create", "value": [...] }` into a full `RequestMessage` wi
crate/test_kms_server/src/vector_runner.rs:342
↓ 2 callersFunctionwrap_unwrap_byte_string_pair
ByteString-only asymmetric keys (`ConfigurableKEM`, native hybrid KEM) have no OpenSSL representation: they must wrap/unwrap as raw bytes (`NoEncoding
crate/crypto/src/crypto/wrap/tests.rs:758
↓ 2 callersFunctionwrap_with_local_key
Wrap with an already authorized, Active software key, including an unpublished replacement. Callers must check ownership/grants and lifecycle state b
crate/server/src/core/wrapping/wrap.rs:707
↓ 2 callersFunctionwrapped_by
A copy of the wrapped `object` whose key wrapping data names `unwrapping_key_uid`.
crate/server/src/core/lint_cleanup_characterization_tests.rs:1016
↓ 2 callersMethodwrite
(&self, ser: &mut Serializer)
crate/server_database/src/stores/redis/permissions.rs:110
↓ 2 callersFunctionwriteNode
(s,o,i,u,_,w,x)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctionwrite_benchmark
(dir: &std::path::Path)
crate/clients/clap/src/actions/bench/output.rs:658
↓ 2 callersFunctionwrite_checkpoint
Signs `head`, timestamps the signature when a TSA is configured, and appends the event.
crate/server/src/core/audit/checkpoint.rs:169
↓ 2 callersFunctionwrite_conf
(dir: &std::path::Path)
crate/clients/ckms/tests/lint_cleanup_characterization_tests.rs:5
↓ 2 callersFunctionwrite_draft_to_chain
Writes one draft and advances the chain head only on success. If the sink reports that the requested slot was already durably occupied by a valid link
crate/server/src/core/audit/writer.rs:166
↓ 2 callersFunctionwrite_events
(path: &Path, operations: &[&str])
crate/server/src/core/audit/store.rs:551
↓ 2 callersFunctionwrite_events
Writes `events` to `path` as JSONL.
crate/clients/ckms/src/tests/audit.rs:42
↓ 2 callersFunctionwrite_length
Write a length as a 4-byte big-endian integer
crate/kmip/src/ttlv/wire/ttlv_bytes_serializer.rs:40
↓ 2 callersFunctionwrite_output_bytes
(output_file: Option<&PathBuf>, output: &[u8])
crate/clients/clap/src/actions/fpe/mod.rs:159
↓ 2 callersFunctionwrite_packet
Append a new-format packet (`tag`, `body`) to `out`.
crate/clients/client_utils/src/openpgp_format.rs:162
↓ 2 callersFunctionwrite_recovery_sentinel
Writes a recovery sentinel, advancing the chain only after a successful sync. This synchronous path runs before the sink is resumed.
crate/server/src/core/audit/file_sink.rs:58
↓ 2 callersFunctionwrite_type
Write a type as a 1-byte integer
crate/kmip/src/ttlv/wire/ttlv_bytes_serializer.rs:34
↓ 2 callersFunctionxc
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctionxks_json_error_handler
Custom error handler for JSON deserialization errors
crate/server/src/routes/aws_xks/error.rs:235
↓ 2 callersFunctiony
(s,o,i,u,_)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctionyc
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctionyh
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersMethodzeroize
Zero all sensitive key material contained in this `Object`. Only key-bearing variants carry sensitive data; certificate and opaque variants are left
crate/kmip/src/kmip_2_1/kmip_objects.rs:376
↓ 2 callersFunctionzeroize_map
Wipe every key and string held by `map`, recursively, and empty it.
crate/server/src/routes/kv/types.rs:27
↓ 2 callersFunctionzeroize_value
Wipe every string held by `value`, recursively. Numbers have no wipeable storage.
crate/server/src/routes/kv/types.rs:35
↓ 2 callersFunctionzi
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunction$b
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunction$h
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunction$i
(s,o,i,u,_)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
← previousnext →4,101–4,200 of 16,000, ranked by callers