MCPcopy Create free account

hub / github.com/Cosmian/kms / functions

Functions16,000 in github.com/Cosmian/kms

↓ 1 callersFunctionaes_key_wrap_if_offered
[`aes_key_wrap`] for slots that may legitimately not offer AES key wrap at all (a FIPS-configured token that keeps only approved mechanisms): the step
crate/hsm/base_hsm/src/tests_shared.rs:938
↓ 1 callersFunctionaes_key_wrap_step
AES key wrap is mandatory on a `NON_FIPS` simulator. A `SECURITY_LEVEL=FIPS` simulator offers no AES-KW/KWP, so the step is skipped when the slot's me
crate/hsm/idemia_sphere/src/tests.rs:42
↓ 1 callersFunctionaes_keyset
(kms: &KMS, slot: usize, created: &mut Vec<String>)
crate/server/src/tests/hsm/rotation.rs:299
↓ 1 callersFunctionaes_kw_vectors
AES key wrap (RFC 3394) vectors: NIST ACVP, Wycheproof, OpenSSL.
crate/crypto/src/kat_vectors.rs:591
↓ 1 callersFunctionaes_kwp_vectors
AES key wrap with padding (RFC 5649) vectors: NIST ACVP, Wycheproof, OpenSSL.
crate/crypto/src/kat_vectors.rs:596
↓ 1 callersFunctionaes_mac_round_trip
FFI into the dlopen'ed PKCS#11 provider (#1166)
crate/clients/clap/src/actions/pkcs11/capabilities.rs:1601
↓ 1 callersFunctionaes_round_trip
FFI into the dlopen'ed PKCS#11 provider (#1166)
crate/clients/clap/src/actions/pkcs11/capabilities.rs:1473
↓ 1 callersFunctionaes_xts_params
()
crate/clients/clap/src/actions/bench/helpers.rs:287
↓ 1 callersFunctionaes_xts_vectors
AES-XTS vectors: NIST ACVP (`iv` is the tweak).
crate/crypto/src/kat_vectors.rs:571
↓ 1 callersFunctionafterWrite
(s,o,i,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersMethodafter_commit
Update the Findex index and the counters once the object writes are committed. Index writes are idempotent, so a transient failure is retried in place
crate/server_database/src/stores/redis/redis_with_findex.rs:926
↓ 1 callersFunctionag
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionak
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersMethodalgorithm
(&self)
crate/clients/pkcs11/module/src/sessions.rs:1257
↓ 1 callersFunctionalgorithm_from_spki_oid
ML-DSA algorithm of a key OpenSSL reports under no known `Id`, from its SPKI algorithm.
crate/server/src/core/operations/algorithm_policy.rs:195
↓ 1 callersMethodalgorithm_identifier
(self)
crate/server/src/core/certificate/oracle_signing.rs:132
↓ 1 callersFunctionallow_response
(api_version: &str, uid: &str)
crate/clients/k8s/operator/src/webhook.rs:130
↓ 1 callersFunctionallowed_databases
Databases usable with `profile`, taken from `variants`. `SQLite` supports one node only; Redis-Findex multi-node is not supported.
crate/server/src/config/wizard/profile_wizard.rs:102
↓ 1 callersMethodallows
(&self, data_len: usize)
crate/kmip/src/kmip_2_1/kmip_types.rs:2303
↓ 1 callersMethodallows
(&self, key_uid: &str)
crate/clients/k8s/plugin/src/service.rs:59
↓ 1 callersMethodallows_reason
True when the vector's `expected` Result Reason answered as `actual` is an accepted `REASON_DEVIATIONS` pair at this batch item; logs it with `warn!`.
crate/clients/clap/src/tests/xml/deviations.rs:1120
↓ 1 callersMethodany_san_regex
(&self)
crate/server/src/core/operations/certify/template.rs:382
↓ 1 callersFunctionapidom_ns_openapi_3_1_es_refractor_createRefractor
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionapidom_ns_openapi_3_1_es_refractor_refract
(s,{specPath:o=["visitors","document","objects","OpenApi","$visitor"],plugins:i=[]}={})
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionappend_auth_tag_to_encrypt_response
KMIP 1.1/1.2: concatenate the AE tag into the Encrypt response `data` field, because those versions have no dedicated `authenticated_encryption_tag` f
crate/server/src/routes/kmip/handlers.rs:1060
↓ 1 callersMethodapplication
(&self)
crate/clients/pkcs11/module/src/tests.rs:285
↓ 1 callersFunctionapplyBrandingToDocument
(branding: Branding)
ui/src/utils/branding.ts:114
↓ 1 callersFunctionapplyFilters
(tables, activeLevel, needle)
documentation/docs/javascripts/log_filter.js:46
↓ 1 callersFunctionapplyPropAndMethodDecorators
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionapplyStringConstraints
(s,o={})
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersMethodapply_bytes
Applies the chosen hash method to the input data. # Arguments `data` - input data to be hashed. # Returns The hash bytes.
crate/crypto/src/crypto/anonymization/hash.rs:89
↓ 1 callersFunctionapply_no_rev_avail
RFC 9608 §2–§3 — delegate to [`rfc9608::apply_extensions`].
crate/server/src/core/operations/certify/build_certificate.rs:433
↓ 1 callersMethodapply_on_float
(&self, data: f64)
crate/crypto/src/crypto/anonymization/number.rs:59
↓ 1 callersMethodapply_operation
Fold one operation into the working state of the attempt. Several operations on the same uid build on each other through `UidState::current`.
crate/server_database/src/stores/redis/redis_with_findex.rs:693
↓ 1 callersFunctionapply_owned_ops
( tx: &rusqlite::Transaction<'_>, owner: &str, ops: &[OwnedOp], )
crate/server_database/src/stores/sql/sqlite.rs:2032
↓ 1 callersFunctionapply_pending_steps
( database: &(impl Migrate + ?Sized), recorded: Version, target: Version, )
crate/server_database/src/stores/migrate.rs:502
↓ 1 callersFunctionapply_pqc_key_usage
RFC 9881 §5 / RFC 9909 §6 / RFC 9935 §5 — auto-add the RFC-mandated critical keyUsage extension for fresh PQC key certifications. Dispatches to the p
crate/server/src/core/operations/certify/build_certificate.rs:275
↓ 1 callersMethodapply_step
(&self, step: MigrationStep)
crate/server_database/src/stores/migrate.rs:597
↓ 1 callersMethodapply_update
`UpdateObject` / `UpdateObjectIfVersion`. The version is checked against the object loaded in this attempt; a mismatch is a hard `Conflict`, never a r
crate/server_database/src/stores/redis/redis_with_findex.rs:781
↓ 1 callersMethodapply_upsert
( &self, user: Option<&UserId>, (uid, object, attributes, tags, state): &(
crate/server_database/src/stores/redis/redis_with_findex.rs:869
↓ 1 callersFunctionapply_user_extensions
RFC 5280 §4.2 — apply user-supplied X.509v3 extensions from the vendor attribute CNF. Returns a tuple `(has_cdp, has_key_usage)`: - `has_cdp`: whethe
crate/server/src/core/operations/certify/build_certificate.rs:322
↓ 1 callersFunctionapply_version_label
Transform a raw criterion path ID for version comparison. When `version_label` is set, inserts the label as the second-to-last segment so criterion-t
crate/clients/clap/src/actions/bench/output.rs:154
↓ 1 callersFunctionarb_asymmetric_algorithm
()
crate/kmip/src/ttlv/tests/proptest_roundtrip.rs:54
↓ 1 callersFunctionarb_query_functions
()
crate/kmip/src/ttlv/tests/proptest_roundtrip.rs:82
↓ 1 callersFunctionarb_symmetric_algorithm
()
crate/kmip/src/ttlv/tests/proptest_roundtrip.rs:47
↓ 1 callersFunctionarb_usage_mask
()
crate/kmip/src/ttlv/tests/proptest_roundtrip.rs:72
↓ 1 callersFunctionarrayIndexOf
(s,o,i,u,_)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionarrayLikeToArray_arrayLikeToArray
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionarrayOrEmpty
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersMethodas_bn_ulong
Returns the reason code as an `openssl_sys::BN_ULONG`.
crate/crypto/src/openssl/crl.rs:41
↓ 1 callersMethodas_str
(self)
crate/server/src/config/command_line/hsm_config.rs:42
↓ 1 callersMethodas_str
(self)
crate/server/src/config/command_line/kmip_policy_config.rs:21
↓ 1 callersFunctionasciiSlice
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionasciiWrite
(s,o,i,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionasn1_string_bytes
(s: *const openssl_sys::ASN1_STRING)
crate/crypto/src/openssl/ocsp.rs:831
↓ 1 callersFunctionassertFileExists
(relPathFromUi: string)
ui/tests/unit/wasm-artifacts-present.test.ts:10
↓ 1 callersFunctionassertIsFunction
(s,o="expected a function, instead received "+typeof s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionassert_all_success
Assert that ALL `ResultStatus` fields in a batched response indicate success.
crate/test_kms_server/src/vector_runner.rs:911
↓ 1 callersFunctionassert_binary_encodable
( json: &serde_json::Value, flavor: KmipFlavor, step: usize, op: &str, )
crate/test_kms_server/src/vector_runner.rs:410
↓ 1 callersFunctionassert_create_after_poison
Exercises either creation path with a poisoned map in an isolated child.
crate/clients/pkcs11/module/src/sessions.rs:1144
↓ 1 callersFunctionassert_drbgs_are_fips
Assert the primary, public and private DRBGs are served by the FIPS provider at >= 256 bits.
crate/crypto/tests/fips_rng_provider.rs:35
↓ 1 callersFunctionassert_encrypt_contract
The KEM `Encrypt` contract: no `IVCounterNonce`, and `Data` is the serialized `(shared secret, encapsulation)` tuple, of which only the encapsulation
crate/server/src/tests/hsm/hybrid_kem_dek.rs:236
↓ 1 callersFunctionassert_enrolled_leaf
Refuse a built certificate that is not a plain end-entity enrollment certificate: `basicConstraints` `CA:TRUE`, `keyCertSign` or a missing marker poli
crate/server/src/routes/enrollment.rs:355
↓ 1 callersFunctionassert_imported
(client: &Arc<KmsClient>, name: &str, blob: Vec<u8>)
crate/clients/cng/src/key.rs:995
↓ 1 callersFunctionassert_mechanism_names_covered
(stdout: &str, expected_names: usize)
crate/clients/ckms/src/tests/pkcs11.rs:478
↓ 1 callersFunctionassert_mysql_tls_outcomes
Each case is `(label, url, expected_message)`: `None` expects an encrypted session, `Some(fragment)` expects a refusal whose message contains `fragmen
crate/server_database/src/stores/sql/mysql.rs:2575
↓ 1 callersFunctionassert_no_key_value_attributes
Assert that a `GetResponse` for a KMIP-1.4 `PublicKey` or `PrivateKey` contains **no** attributes inside `KeyValue` (Veeam compatibility). Also verif
crate/server/src/tests/ttlv_tests/integrations/veeam.rs:237
↓ 1 callersFunctionassert_not_decrypted
A wrong key either fails or, for an unauthenticated mode, returns garbage: never `PLAINTEXT`.
crate/server/src/tests/hsm/rotation.rs:109
↓ 1 callersFunctionassert_not_stored_in_clear
Fail if any Redis string value contains `plaintext`.
crate/server_database/src/stores/redis/additional_redis_findex_tests.rs:1287
↓ 1 callersFunctionassert_rejected
A signature that must not verify is answered `Invalid`. Only Kryoptic differs: it fails an RSA verification that does not match with `CKR_DEVICE_ERROR
crate/server/src/tests/hsm/rotation.rs:183
↓ 1 callersFunctionassert_response_fields
Assert that a response TTLV JSON contains the expected field values.
crate/test_kms_server/src/vector_runner.rs:854
↓ 1 callersFunctionassert_section_total
(stdout: &str, section_title: &str, expected_total: usize)
crate/clients/ckms/src/tests/pkcs11.rs:448
↓ 1 callersFunctionassert_sensitive_denied
The error a caller must see when asking for the bytes of a non-extractable HSM key.
crate/server/src/tests/hsm/non_extractable_key_bytes.rs:29
↓ 1 callersFunctionassert_wrapped_by
(object: &Object, kek_uid: &str)
crate/server/src/tests/hsm/hybrid_kem_dek.rs:344
↓ 1 callersFunctionat_least
`stored` unless it parses newer than `floor`: stamps never lower a version.
crate/server_database/src/stores/migrate.rs:450
↓ 1 callersMethodatomic
( &self, user: &UserId, operations: &[AtomicOperation], )
crate/interfaces/src/hsm/hsm_store.rs:456
↓ 1 callersFunctionatomic_
( owner: &str, operations: &[AtomicOperation], tx: &mut Transaction<'_>, )
crate/server_database/src/stores/sql/mysql.rs:2328
↓ 1 callersFunctionattrHelp
(entry: RegistryEntry)
ui/src/actions/Attributes/AttributeValueInput.tsx:40
↓ 1 callersFunctionattrLabel
(value: string, fallback: string)
ui/src/actions/Attributes/AttributeModify.tsx:32
↓ 1 callersFunctionattrLabel
(value: string, fallback: string)
ui/src/actions/Attributes/AttributeSet.tsx:32
↓ 1 callersFunctionattrLabel
(entry: RegistryEntry)
ui/src/actions/Attributes/AttributeValueInput.tsx:39
↓ 1 callersFunctionattrLabel
(value: string, fallback: string)
ui/src/actions/Attributes/AttributeGet.tsx:27
↓ 1 callersFunctionattrLabel
(value: string, fallback: string)
ui/src/actions/Attributes/AttributeDelete.tsx:23
↓ 1 callersFunctionattrPlaceholder
(entry: RegistryEntry)
ui/src/actions/Attributes/AttributeValueInput.tsx:41
↓ 1 callersFunctionattribute
`Attribute ::= SEQUENCE { type OBJECT IDENTIFIER, values SET OF ... }` with the single DER-encoded `value`: a singleton SET OF needs no X.690 §11.6 so
crate/server/src/routes/est/csrattrs.rs:33
↓ 1 callersFunctionattribute_link
(attribute: &mut Attribute)
crate/server/src/core/operations/message.rs:1410
↓ 1 callersFunctionattribute_name_from_tag
(tag: kmip_2_1::kmip_types::Tag)
crate/kmip/src/kmip_1_4/kmip_operations.rs:1042
↓ 1 callersFunctionattributes_links
( attributes: &mut Attributes, )
crate/server/src/core/operations/message.rs:1394
↓ 1 callersMethodattributes_mut
(&mut self)
crate/interfaces/src/stores/object_with_metadata.rs:106
↓ 1 callersFunctionattrs
Sorted `(key, value)` attribute pairs, for comparing data points.
crate/server/src/core/otel_metrics.rs:911
↓ 1 callersFunctionaudit_dependency
Only present when audit logging is enabled.
crate/server/src/routes/health.rs:383
↓ 1 callersFunctionauthorization_response
Answer one request of the `OAuth2` callback server: `GET /authorization?...` forwards its query parameters to the waiting login; anything else is a 40
crate/clients/client/src/http_client/login.rs:306
↓ 1 callersFunctionauthorize_ca_use
Require the caller to hold the KMIP `Certify` permission on the CA private key.
crate/server/src/routes/spire/pki.rs:369
↓ 1 callersFunctionauthorize_destination_uid
Authorize the destination UID that `Certify` will write to. If the object already exists, the caller must own it or have an explicit grant. If the obj
crate/server/src/core/operations/certify/resolve_subject.rs:51
↓ 1 callersFunctionauthorize_role
A role can be used by the users it lists and by active Crypto Officers, which manage roles. A missing role and a denied role get the same answer, so r
crate/server/src/routes/ssh/mod.rs:287
↓ 1 callersFunctionauthorize_unwrap_with
Check that `user` may unwrap caller-supplied data with the key `unwrapping_key_uid`, the server KEK included: the same decision as [`unwrap_object`],
crate/server/src/core/wrapping/unwrap.rs:102
↓ 1 callersFunctionauthorize_write
Writing to an existing path requires the `Import` right on it and, when the path belongs to another identity, an explicit `expected_owner` naming that
crate/server/src/routes/kv/mod.rs:214
↓ 1 callersFunctionauto_rotate_disabled
Return `true` when a Vault `auto_rotate_period` value disables rotation. Vault accepts the interval as either an integer number of seconds or a durat
crate/server/src/routes/spire/transit.rs:361
↓ 1 callersFunctionb64_field
(v: &Value, field: &str)
crate/server/src/tests/hsm/jose_decrypt.rs:53
↓ 1 callersFunctionb64toB64UrlEncoded
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
← previousnext →4,401–4,500 of 16,000, ranked by callers