MCPcopy Create free account

hub / github.com/Cosmian/kms / functions

Functions16,000 in github.com/Cosmian/kms

↓ 6 callersMethodserialize
(&self, serializer: S)
crate/kmip/src/ttlv/interval.rs:65
↓ 6 callersMethodsession_handle
Get the PKCS#11 session handle
crate/hsm/base_hsm/src/session/session_impl.rs:358
↓ 6 callersFunctionset_attribute
(kms: &Arc<KMS>, uid: &str, attribute: Attribute)
crate/server/src/tests/test_set_attribute.rs:75
↓ 6 callersMethodset_attribute
( &self, kms_rest_client: &KmsClient, id: &str, attribute: Attribute, )
crate/clients/clap/src/actions/attributes/set.rs:220
↓ 6 callersMethodset_db_state
(&self, state: DbState)
crate/server_database/src/stores/migrate.rs:277
↓ 6 callersMethodsign
( &mut self, data: Option<&[u8]>, p_signature: CK_BYTE_PTR, p_signature_len: C
crate/clients/pkcs11/module/src/sessions.rs:678
↓ 6 callersFunctionspire_token_middleware
Creates the SPIRE app-token authentication middleware for KMS SPIRE-compatible scopes. Middleware order (last `.wrap()` runs first): - Reads `X-Vault
crate/server/src/middlewares/spire_token.rs:370
↓ 6 callersFunctionstart_default_test_kms_server_with_hsm_and_kek_for_vectors
Start an HSM + KEK test server for use by the vector runner. Unlike [`start_default_test_kms_server_with_hsm_and_kek`], this function returns a `Resu
crate/test_kms_server/src/test_server.rs:818
↓ 6 callersFunctionstart_kms_server
Starts the Key Management System (KMS) server based on the provided configuration. The server is started using one of three methods: 1. Plain HTTP, 2
crate/server/src/start_kms_server.rs:538
↓ 6 callersFunctionstateEnumToName
(v: unknown)
ui/src/components/common/Locate.tsx:108
↓ 6 callersFunctionstripHtml
(text: string)
ui/src/utils/utils.ts:14
↓ 6 callersFunctionsummarize
Computes throughput and latency percentiles from a batch of samples.
crate/clients/clap/src/actions/pkcs11/bench/load.rs:308
↓ 6 callersFunctionsvid_claim
A SPIFFE JWT-SVID claim set: `spiffe://` subject, no `email`, with an audience.
crate/server/src/middlewares/jwt/jwt_token_auth.rs:307
↓ 6 callersFunctiontest_private_key_conversion_sec1
(private_key: &PKey<Private>, id: Id, key_size: u32)
crate/crypto/src/openssl/private_key.rs:620
↓ 6 callersFunctiontid
(id: string)
ui/tests/e2e/kv-secrets-flow.spec.ts:18
↓ 6 callersMethodtoAncestorLineage
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 6 callersMethodto_signed_bytes_be
(&self)
crate/kmip/src/ttlv/kmip_big_int.rs:64
↓ 6 callersFunctionunauthorized
(basic_allowed: bool)
crate/server/src/routes/est/enroll.rs:112
↓ 6 callersFunctionuseBranding
()
ui/src/contexts/useBranding.ts:5
↓ 6 callersFunctionvalidate_algorithm
( alg: CryptographicAlgorithm, whitelist: Option<&HashSet<CryptographicAlgorithm>>, )
crate/server/src/core/operations/algorithm_policy.rs:935
↓ 6 callersFunctionvalidate_path_length
Reject paths that would produce a KV tag too long for SQL backends.
crate/server/src/routes/kv/metadata.rs:91
↓ 6 callersMethodvalidate_signed_token
( &self, token: &str, validate_subject: bool, )
crate/server/src/middlewares/jwt/jwt_config.rs:331
↓ 6 callersFunctionvector_paths
Sorted `*.xml` files of a vector directory.
crate/clients/clap/src/tests/xml/runner.rs:37
↓ 6 callersFunctionverify_token
Verifies a DER `TimeStampToken` over `imprint` (SHA-256) and returns its `genTime` (`YYYYMMDDHHMMSSZ`). With a non-empty `trusted_cas` the token sign
crate/crypto/src/openssl/tsa.rs:235
↓ 6 callersMethodvisit_u32
(self, v: u32)
crate/kmip/src/ttlv/interval.rs:87
↓ 6 callersFunctionwait_for_migration_lock
Poll without blocking the runtime; attempts may borrow a dedicated mutable backend connection.
crate/server_database/src/stores/migrate.rs:134
↓ 6 callersMethodwith_context
(self, op: O)
crate/clients/client/src/error/result.rs:25
↓ 6 callersFunctionwrap_ok
Wraps `dek` through `key`, expects 200 and returns the base64url wrapped value.
crate/server/src/tests/azure_ekm/routes_tests.rs:158
↓ 6 callersFunctionwrite_output
Copy `data` into `pb_output/cb_output` and write the actual size to `*pcb_result`. If `pb_output` is null, only fill `*pcb_result`.
crate/clients/cng/src/provider.rs:127
↓ 6 callersFunctionx25519_key_agreement
( private_key_bytes: &[u8], peer_public_key_bytes: &[u8], )
crate/crypto/src/crypto/elliptic_curves/operation.rs:325
↓ 6 callersFunctionz
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 5 callersFunctionAc
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 5 callersFunctionIndexedSeq
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 5 callersFunctionKa
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 5 callersFunctionKeyedIterable
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 5 callersFunctionKk
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 5 callersFunctionMap
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 5 callersFunctionPg
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 5 callersFunctionTg
(s,o,i,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 5 callersFunctionYf
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 5 callersFunction_defineProperty
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 5 callersMethodacquire_migration_lock
(&self)
crate/server_database/src/stores/migrate.rs:586
↓ 5 callersMethodactivate
( &self, request: Activate, user: &UserId, )
crate/server/src/core/kms/kmip.rs:27
↓ 5 callersMethodadd_vendor_attribute
Add a vendor attribute to the list of vendor attributes.
crate/kmip/src/kmip_2_1/kmip_attributes.rs:563
↓ 5 callersFunctionaes
(length: i32, group: Option<&str>)
crate/server/src/core/operations/constraints.rs:215
↓ 5 callersFunctionaes_gmac_vectors
AES-GMAC vectors: OpenSSL (NIST, IEEE 802.1AE), and the empty-plaintext AES-GCM vectors.
crate/crypto/src/kat_vectors.rs:541
↓ 5 callersFunctionaes_key
(key_value: &[u8])
crate/kmip/src/ttlv/tests/kmip_2_1_tests.rs:69
↓ 5 callersFunctionalphabet_check
(plaintext: &str, alphabet: &Alphabet, non_alphabet_chars: &str)
crate/crypto/src/crypto/fpe/tests.rs:31
↓ 5 callersMethodand
(&self, vi: Self)
crate/kmip/src/kmip_2_1/kmip_types.rs:1966
↓ 5 callersMethodapply_on_date
Applies the selected noise method on a given date string. # Arguments `date_str` - - A date string in the RFC3339 format. # Returns The resulting
crate/crypto/src/crypto/anonymization/noise.rs:262
↓ 5 callersFunctionapprole_login
Login to the KMS SPIRE/Vault-compatible API using an `AppRole` identity. Sends `POST {server_url}/v1/auth/approle/login` with a JSON body of `{"role_
crate/clients/client/src/http_client/login.rs:693
↓ 5 callersFunctionassert_destroyed
(cli_conf_path: &str, key_id: &str, _remove: bool)
crate/clients/ckms/src/tests/shared/destroy.rs:53
↓ 5 callersFunctionassert_issued_by
(cert: &X509, ca: &X509)
crate/server/src/tests/enrollment_tests.rs:306
↓ 5 callersFunctionatomic
(db: &DB)
crate/server_database/src/tests/database_tests.rs:116
↓ 5 callersMethodatomic
( &self, user: &UserId, operations: &[AtomicOperation], )
crate/server_database/src/stores/redis/redis_with_findex.rs:1228
↓ 5 callersMethodaudit_fail_closed
Whether `--audit-fail-closed` is set: operations whose audit record cannot be durably stored are refused.
crate/server/src/config/params/server_params.rs:572
↓ 5 callersFunctionbase_event
()
crate/access/src/audit/hash.rs:357
↓ 5 callersFunctionbind_stored_objects
Startup backfill of the row binding (see [`bind_to_row`]): wrap again, bound to their row, the objects wrapped by the server `key_encryption_key` befo
crate/server/src/core/wrapping/wrap.rs:222
↓ 5 callersFunctionbuild_ec_ecdh_es_request
Build the JWE flattened-JSON decrypt request body (as `serde_json::Value`) for an EC ECDH-ES sender simulation, and return it alongside the plaintext
crate/server/src/tests/jose/ecdh.rs:100
↓ 5 callersFunctionbuild_jwe_aad
Construct the JWE AAD bytes per RFC 7516 §5.1 step 14. - No external `aad`: `ASCII(protected_b64)` - With external `aad`: `ASCII(protected_b64 + "."
crate/server/src/routes/jose/encrypt.rs:423
↓ 5 callersFunctionbuild_private_key_from_der_bytes
( key_format_type: KeyFormatType, bytes: Zeroizing<Vec<u8>>, )
crate/clients/client_utils/src/import_utils.rs:101
↓ 5 callersFunctionbuild_revoke_key_request
Build a `Revoke` request to revoke the key identified by `unique_identifier`
crate/kmip/src/kmip_2_1/requests/revoke.rs:8
↓ 5 callersFunctioncall
(kms: &Arc<KMS>, body: &Value)
crate/server/src/routes/spire/pki.rs:736
↓ 5 callersFunctioncall
(realm: Option<&str>, request: test::TestRequest)
crate/server/src/middlewares/auth_verifier/middleware.rs:163
↓ 5 callersFunctioncert_der_with_serial
Build a minimal self-signed X.509 certificate DER with an explicit serial number.
crate/server_database/src/core/database_objects.rs:1411
↓ 5 callersFunctioncertificate
Self-signed certificate; returns `(certificate_uid, public_key_uid)`.
crate/server/src/tests/wrap_certificate_usage_mask.rs:30
↓ 5 callersFunctioncertify
Certify `subject`, self-signed when `issuer` is `None`; returns the certificate id.
crate/server/src/tests/revocation_authority_tests.rs:62
↓ 5 callersFunctioncertify_ml_kem_ca_issued
Issue a certificate with a KEM algorithm using the given CA.
crate/clients/ckms/src/tests/certificates/certify_pqc.rs:139
↓ 5 callersFunctioncerts_only_der
Build a degenerate (certs-only) CMS `SignedData` carrying `certs` (RFC 5652 §5.1, RFC 7030 §4.1.3, RFC 8894 §4.2.1.2). # Errors Fails when OpenSSL ca
crate/crypto/src/openssl/scep_cms.rs:127
↓ 5 callersFunctioncfg
()
crate/hsm/aws_cloudhsm/src/tests.rs:24
↓ 5 callersFunctioncfg
()
crate/hsm/smartcardhsm/src/tests.rs:19
↓ 5 callersFunctioncheck
OpenSSL `TS_*` functions return 1 on success.
crate/crypto/src/openssl/tsa.rs:91
↓ 5 callersFunctioncheck_ecc_mask_algorithm_compliance
Check that - `algorithm` is among `allowed` algorithms. - `algorithm` is compliant with usage mask provided for private and public key components. Fo
crate/crypto/src/crypto/elliptic_curves/operation.rs:84
↓ 5 callersFunctioncheck_role
Apply the global role policy (as the KMIP dispatcher does) for `operation`.
crate/server/src/routes/kv/mod.rs:169
↓ 5 callersFunctionciphertext
(resp: &Value)
crate/server/src/routes/spire/transit_encryption.rs:704
↓ 5 callersFunctionckm_rsa_aes_key_unwrap
Asymmetrically unwrap keys referring to PKCS#11 `CKM_RSA_AES_KEY_WRAP` available at <http://docs.oasis-open.org/pkcs11/pkcs11-curr/v2.40/cos01/pkcs11-
crate/crypto/src/crypto/rsa/ckm_rsa_aes_key_wrap.rs:69
↓ 5 callersFunctioncleanup_sealed_files
Removes every `*.corrupt.<ext>` sibling of `path` left behind by a test.
crate/server/src/core/audit/store.rs:1071
↓ 5 callersMethodcloseNode
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 5 callersFunctioncng_key_tag
(name: &str)
crate/clients/cng/src/backend.rs:47
↓ 5 callersFunctionco_grant_access
Helper to grant access (CO operation)
crate/clients/ckms/src/tests/rbac_tests.rs:101
↓ 5 callersMethodcontext
(self, context: &str)
crate/clients/pkcs11/provider/src/error/result.rs:14
↓ 5 callersFunctioncopy
({className:s=null,width:o=15,height:i=16,...u})
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 5 callersFunctioncopy_to_output_buffer
( data: &[u8], p_out: CK_BYTE_PTR, pul_len: CK_ULONG_PTR, )
crate/clients/pkcs11/module/src/sessions.rs:161
↓ 5 callersFunctioncreate
Returns the (private, public) key identifiers
crate/server/src/tests/configurable_kem_tests.rs:57
↓ 5 callersFunctioncreateNamespace
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 5 callersFunctioncreate_ec_pair
Returns `(private_key_uid, public_key_uid)` of a new EC P-256 key pair.
crate/server/src/core/lint_cleanup_characterization_tests.rs:74
↓ 5 callersFunctioncreate_fpe_key
Create an FPE key via the CLI and return its unique identifier.
crate/clients/ckms/src/tests/fpe/create_key.rs:11
↓ 5 callersFunctioncreate_kek_and_target_for_export
(app: &S)
crate/server/src/tests/kmip_policy/e2e_export_wrapping.rs:36
↓ 5 callersFunctioncreate_rsa_key_pair
Create an RSA key pair via KMIP and return `(private_kid, public_kid)`.
crate/server/src/tests/jose/unwrap.rs:16
↓ 5 callersFunctioncreate_sym_key
(key_uid: &str, owner: &str, kms: &Arc<KMS>)
crate/server/src/tests/hsm/mod.rs:292
↓ 5 callersFunctioncreate_test_ca
Helper: generate a self-signed CA certificate for testing.
crate/crypto/src/openssl/crl.rs:499
↓ 5 callersFunctioncreate_x25519_key_pair
( vendor_id: &str, private_key_uid: &str, public_key_uid: &str, cryptographic_algorithm: &Cryp
crate/crypto/src/crypto/elliptic_curves/operation.rs:297
↓ 5 callersFunctioncsr
(key: &PKey<Private>, digest: MessageDigest)
crate/server/src/tests/kmip_policy/certify.rs:13
↓ 5 callersFunctioncsr_with_challenge_password
SAFETY: OpenSSL FFI; justified at each unsafe block
crate/crypto/src/openssl/csr_attrs.rs:21
↓ 5 callersMethodcurrent_tag
Get the current tag
crate/kmip/src/ttlv/kmip_ttlv_serializer.rs:130
↓ 5 callersFunctiondata_points
Value of every data point of an i64 gauge or u64 counter in the last exported batch, keyed by its sorted attributes.
crate/server/src/core/otel_metrics.rs:922
↓ 5 callersFunctiondecodeURI
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 5 callersFunctiondecrypt_fpe
( key: &[u8], data: &[u8], additional_data: Option<&[u8]>, tweak: Option<&[u8]>, )
crate/crypto/src/crypto/fpe/kmip_fpe.rs:232
↓ 5 callersFunctiondecrypt_inner
( _req_http: HttpRequest, request: DecryptRequest, key_id_or_tags: String, kms: &Arc<KMS>, )
crate/server/src/routes/aws_xks/encrypt_decrypt/decrypt_.rs:168
↓ 5 callersFunctiondecrypt_with
(kms: &KMS, uid_str: &str, ciphertext: &[u8])
crate/server/src/tests/hsm/fake_hsm_rotation.rs:762
← previousnext →1,201–1,300 of 16,000, ranked by callers