MCPcopy Create free account

hub / github.com/Cosmian/kms / functions

Functions12,829 in github.com/Cosmian/kms

↓ 2 callersMethodcomponentWillUnmount
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersMethodcomponents
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctioncompose
(...s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersMethodcomposeJsonSchema
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctioncomposeNode
(s,o,i,u,_)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctioncompute_hmac
(key: &[u8], data: &[u8], algorithm: HashingAlgorithm)
crate/server/src/core/operations/mac.rs:230
↓ 2 callersFunctionconfig
(est_enabled: bool, scep_enabled: bool, allow_renewal: bool)
crate/server/src/tests/enrollment_tests.rs:85
↓ 2 callersFunctionconnect_dedicated_session
Opens a single, unpooled `PostgreSQL` session for holding the instance's advisory lock — see the module docs for why this must never share a connectio
crate/server_database/src/stores/audit/pgsql.rs:124
↓ 2 callersFunctionconnect_resume_write_once
Connects, resumes, and writes one event for a single instance, returning `Err` (not panicking) on any failure — used by the concurrent-startup measure
crate/server_database/src/stores/audit/pgsql.rs:2030
↓ 2 callersFunctionconnection_tls_unique
The `tls-unique` channel binding of the request's TLS connection, if any.
crate/server/src/routes/est/enroll.rs:96
↓ 2 callersMethodconsiderAll
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctioncontext_tree_updateNode
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersMethodcount_non_destroyed_keys
(&self)
crate/server_database/src/stores/sql/mysql.rs:970
↓ 2 callersMethodcount_non_destroyed_keys
Count non-destroyed key objects across all HSM slots. All objects present in an HSM are cryptographic key material and are by definition non-destroye
crate/interfaces/src/hsm/hsm_store.rs:699
↓ 2 callersFunctioncreateConverter
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctioncreateDOMPurify
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctioncreateIterResult
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctioncreateLine
(s,w)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctioncreateSubscription
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctioncreate_
( uid: Option<String>, owner: &str, object: &Object, attributes: &Attributes, tags: &HashS
crate/server_database/src/stores/sql/mysql.rs:1210
↓ 2 callersFunctioncreate_base_openssl_acceptor
Create and configure a basic OpenSSL `SslAcceptorBuilder` with common TLS settings This function handles the common configuration shared between HTTP
crate/server/src/tls_config.rs:49
↓ 2 callersFunctioncreate_ecdh_x25519_key_pair_rest
( app: &S, alg: &str, )
crate/server/src/tests/jose/common.rs:235
↓ 2 callersFunctioncreate_ed25519_key_pair
Generate an Ed25519 Key Pair. FIPS 140-3 compliant **for digital signature only**. Sources: - NIST.SP.800-186 - Section 3.1.2 table 2. - NIST.FIPS.18
crate/crypto/src/crypto/elliptic_curves/operation.rs:514
↓ 2 callersFunctioncreate_ed448_key_pair
Generate an Ed448 Key Pair. FIPS 140-3 compliant **for digital signature only**. Sources: - NIST.SP.800-186 - Section 3.1.2 table 2. - NIST.FIPS.186-
crate/crypto/src/crypto/elliptic_curves/operation.rs:564
↓ 2 callersFunctioncreate_hsm_aes_key
Create an AES-256 key on the HSM with the given `sensitive` flag.
crate/server/src/tests/hsm/export_key_bytes.rs:30
↓ 2 callersFunctioncreate_hsm_kek_in_db
Bootstrap a KEK inside the HSM. Mirrors [`create_kek_in_db`] but uses generic HSM configuration and reads the slot from `HSM_SLOT_ID`.
crate/test_kms_server/src/test_server.rs:600
↓ 2 callersFunctioncreate_key_wrapped_by
`Create` a 256-bit AES key wrapped at rest by the HSM key `wrapping_key_uid`, as `user`.
crate/server/src/tests/hsm/fake_hsm_authz.rs:824
↓ 2 callersFunctioncreate_keys
( kms_rest_client: &KmsClient, disk_encryption_tag: &str, )
crate/clients/pkcs11/provider/src/tests.rs:104
↓ 2 callersFunctioncreate_ml_dsa_key_pair
Create an ML-DSA key pair. Supports ML-DSA-44, ML-DSA-65, ML-DSA-87 via OpenSSL 3.4+. When `rng` is supplied, a 32-byte seed is drawn from `KmsRng`
crate/crypto/src/crypto/pqc/ml_dsa.rs:24
↓ 2 callersFunctioncreate_ml_kem_key_pair
Create an ML-KEM key pair. Supports `ML-KEM-512`, `ML-KEM-768`, `ML-KEM-1024` via OpenSSL 3.4+. When `rng` is supplied, a 64-byte seed is drawn from
crate/crypto/src/crypto/pqc/ml_kem.rs:24
↓ 2 callersFunctioncreate_ml_kem_key_pair
Create a ML-KEM key pair using `run_ckms` and return (`private_key_id`, `public_key_id`)
crate/clients/ckms/src/tests/pqc/rotation_policy.rs:9
↓ 2 callersFunctioncreate_msk_object
( vendor_id: &str, msk_bytes: Zeroizing<Vec<u8>>, mut attributes: Attributes, mpk_uid: &str,
crate/crypto/src/crypto/cover_crypt/master_keys.rs:75
↓ 2 callersFunctioncreate_opaque_object_ttlv_request
( object_value: Option<String>, object_id: Option<String>, tags: Vec<String>, _sensitive: bool
crate/clients/wasm/src/wasm.rs:1241
↓ 2 callersFunctioncreate_plain_symmetric_key
Create an AES-256 symmetric key owned by `owner` **without** the `aws-xks` tag, to model a non-XKS key that must remain unreachable from the XKS endpo
crate/server/src/routes/aws_xks/tests.rs:163
↓ 2 callersFunctioncreate_pqc_key_pair
Create a PQC key pair and return the (`private_key_id`, `public_key_id`).
crate/clients/ckms/src/tests/pqc/mod.rs:24
↓ 2 callersFunctioncreate_rsa_gnupg_keypair
( kms_rest_client: &KmsClient, bits: usize, )
crate/clients/pkcs11/provider/src/tests.rs:540
↓ 2 callersFunctioncreate_rsa_key_pair_ttlv_request
( private_key_id: Option<String>, tags: Vec<String>, cryptographic_length: usize, sensitive: b
crate/clients/wasm/src/wasm.rs:807
↓ 2 callersFunctioncreate_self_signed_cert
(owner_client_conf_path: &str)
crate/clients/ckms/src/tests/certificates/certify.rs:907
↓ 2 callersFunctioncreate_signing_key_pair_request
Build the `CreateKeyPair` request of a key pair able to sign, from the algorithm names of `ckms certificates certify --algorithm` (`rsa2048`, `nist-p2
crate/kmip/src/kmip_2_1/requests/create_key_pair.rs:299
↓ 2 callersFunctioncreate_slh_dsa_key_pair
Create an SLH-DSA key pair. Supports all 12 SLH-DSA variants (SHA2/SHAKE × 128/192/256 × s/f) via OpenSSL 3.6+. Key generation calls OpenSSL `EVP_PK
crate/crypto/src/crypto/pqc/slh_dsa.rs:22
↓ 2 callersMethodcreate_split_key
Split a Managed Cryptographic Object into multiple split-key shares. The key is split using XOR-based split knowledge (all shares required). The retu
crate/clients/client/src/kms_rest_client.rs:189
↓ 2 callersMethodcreate_symmetric_key_and_tags
Create a new symmetric key and the corresponding system tags The tags will contain the user tags and the following: - "_kk" - the KMIP cryptographic a
crate/server/src/core/kms/other_kms_methods.rs:108
↓ 2 callersFunctioncreate_test_ca_with_key
Helper: self-signed CA certificate (signed with SHA-256) for `pkey`.
crate/crypto/src/openssl/crl.rs:527
↓ 2 callersFunctioncreate_test_ca_with_key
Self-signed CA certificate (signed with SHA-256) for `pkey`.
crate/crypto/src/openssl/ocsp.rs:1061
↓ 2 callersFunctioncreate_test_meter_provider
No-op provider — cheap, used only where value assertions aren't needed
crate/server/src/core/otel_metrics.rs:665
↓ 2 callersFunctioncreate_transit_key_impl
( req: HttpRequest, kms: Data<Arc<KMS>>, name: Path<String>, body: Json<CreateTransitKeyReques
crate/server/src/routes/spire/transit.rs:476
↓ 2 callersFunctioncreate_x448_key_pair
( vendor_id: &str, private_key_uid: &str, public_key_uid: &str, cryptographic_algorithm: &Cryp
crate/crypto/src/crypto/elliptic_curves/operation.rs:482
↓ 2 callersFunctioncrypt2pay_all
(aes_gcm_check: fn(&Arc<SlotManager>) -> HResult<()>)
crate/hsm/crypt2pay/src/tests.rs:55
↓ 2 callersFunctioncrypto_meta
(arn: &str, operation: &str)
crate/server/src/routes/aws_xks/tests.rs:114
↓ 2 callersMethodcrypto_officer_create_target
Crypto Officer checks for granting or revoking the `Create` right on `*`. Returns `None` when no Crypto Officer is configured (the `Create` change is
crate/server/src/core/kms/permissions.rs:29
↓ 2 callersFunctioncsr_attrs
DER of the `CsrAttrs` (RFC 7030 §4.5.2) for `template`: `extensionRequest` (the client is invited to send extension requests), then exactly one RFC 99
crate/server/src/routes/est/csrattrs.rs:50
↓ 2 callersFunctioncsr_basic_constraints
Return the `basicConstraints` `cA` flag requested by a DER PKCS#10 CSR, or `None` when the CSR carries no `basicConstraints` extension request. # Err
crate/server/src/core/operations/certify/template.rs:160
↓ 2 callersFunctioncsr_challenge_password
SAFETY: OpenSSL FFI; justified at each unsafe block
crate/crypto/src/openssl/csr_attrs.rs:56
↓ 2 callersFunctioncsr_with_san
A CSR with CN `dev` and one SAN extension built by `add`.
crate/server/src/core/operations/certify/template.rs:1099
↓ 2 callersMethodcurrent_mut_structure
Get the current TTLV element which is the last element on the stack
crate/kmip/src/ttlv/kmip_ttlv_serializer.rs:90
↓ 2 callersFunctioncurve_bits
(curve: RecommendedCurve)
crate/crypto/src/crypto/elliptic_curves/operation.rs:111
↓ 2 callersFunctioncurve_byte_size
(curve: EcCurve)
crate/hsm/base_hsm/src/session/ec.rs:157
↓ 2 callersFunctioncurves
(curves: Vec<RecommendedCurve>)
crate/server/src/core/operations/algorithm_policy.rs:1319
↓ 2 callersFunctioncustom_policy
(allowlists: KmipAllowlistsConfig)
crate/server/src/core/operations/algorithm_policy.rs:1312
↓ 2 callersFunctiond
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctiondatetime_to_rfc3339
Converts a `DateTime` to RFC3339 format. # Arguments `date_time` - The `DateTime` value to convert. `original_date` - The original date value as a s
crate/crypto/src/crypto/anonymization/date_helper.rs:47
↓ 2 callersMethoddebase
Inverse of `rebase`: maps alphabet indices back to characters and reinserts non-alphabet characters at their original positions.
crate/crypto/src/crypto/fpe/alphabet.rs:236
↓ 2 callersFunctiondecodeEntity
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersFunctiondecode_csr
Decode the PKCS#10 request body: base64 (RFC 7030 §4.2.1, RFC 5967), line breaks allowed. A raw DER body (leading `SEQUENCE` byte) is tolerated from l
crate/server/src/routes/est/enroll.rs:56
↓ 2 callersFunctiondecode_test_hex
(hex_value: &str, label: &str)
crate/crypto/src/crypto/elliptic_curves/operation.rs:988
↓ 2 callersFunctiondecode_unwrapped_key
Decode the unwrapped key into a `KeyValue` # Arguments `key_wrapping_data` - the key wrapping data `key_format_type` - the expected key format type `
crate/crypto/src/crypto/wrap/unwrap_key.rs:207
↓ 2 callersMethoddecrement_active_connections
Decrement active connections
crate/server/src/core/otel_metrics.rs:547
↓ 2 callersFunctiondecrypt
( kms: &KMS, request: Decrypt, user: &UserId, )
crate/server/src/core/operations/decrypt.rs:209
↓ 2 callersFunctiondecrypt
( req_http: HttpRequest, wrap_request: Json<EncryptedData>, path: Path<(String, String)>, kms:
crate/server/src/routes/ms_dke/mod.rs:183
↓ 2 callersFunctiondecrypt
Decrypt a file using the given private key
crate/clients/ckms/src/tests/elliptic_curve/encrypt_decrypt.rs:48
↓ 2 callersFunctiondecrypt
Decrypt a file using the given private key
crate/clients/ckms/src/tests/certificates/encrypt.rs:63
↓ 2 callersMethoddecrypt
( &self, _slot_id: usize, _key_id: &[u8], _algorithm: CryptoAlgorithm,
crate/server/src/core/operations/certify/hsm_subject_tests.rs:168
↓ 2 callersMethoddecrypt_aes_cbc_multi_round
Decrypt data using AES-CBC in multiple rounds before removing PKCS#7 padding. This function performs AES-CBC decryption of the given ciphertext, spli
crate/hsm/base_hsm/src/session/session_impl.rs:1395
↓ 2 callersFunctiondecrypt_data
Helper: decrypt data using a key
crate/server/src/tests/hsm/permissions.rs:124
↓ 2 callersFunctiondecrypt_data
Decrypt data using a private key in the KMS.
crate/clients/cng/src/backend.rs:493
↓ 2 callersMethoddecrypt_final
Finish the active decryption operation and append any remaining bytes.
crate/hsm/base_hsm/src/session/session_impl.rs:1650
↓ 2 callersMethoddecrypt_message_aes_gcm
Decrypt `ciphertext` (with detached `tag`/`iv`) under `key_handle` using AES-GCM as a PKCS#11 v3.0 "message" operation (`C_MessageDecryptInit`/`C_Decr
crate/hsm/base_hsm/src/session/message_aead.rs:219
↓ 2 callersFunctiondecrypt_pgp_ttlv_request
( key_unique_identifier: &str, ciphertext: Vec<u8>, )
crate/clients/wasm/src/wasm.rs:1222
↓ 2 callersFunctiondecrypt_request
( key_id: UniqueIdentifier, block_cipher_mode: BlockCipherMode, data: Vec<u8>, )
crate/server/src/tests/bulk_encrypt_decrypt_tests.rs:192
↓ 2 callersFunctiondecrypt_rsa_ttlv_request
( key_unique_identifier: &str, ciphertext: Vec<u8>, encryption_algorithm: JsValue, hash_fn: Js
crate/clients/wasm/src/wasm.rs:1296
↓ 2 callersFunctiondecrypt_sym_ttlv_request
( key_unique_identifier: &str, ciphertext: Vec<u8>, authentication_data: Option<Vec<u8>>, data
crate/clients/wasm/src/wasm.rs:1273
↓ 2 callersFunctiondecrypt_with_covercrypt
( owm: &ObjectWithMetadata, request: &Decrypt, )
crate/server/src/core/operations/decrypt.rs:450
↓ 2 callersFunctiondecrypt_with_private_key
( owm: &ObjectWithMetadata, request: &Decrypt, #[cfg(feature = "non-fips")] server_params: &Server
crate/server/src/core/operations/decrypt.rs:663
↓ 2 callersFunctiondefault_cors_origins
Build the default CORS allowed-origins list for `port` and `scheme`. Includes `localhost`, `127.0.0.1`, `0.0.0.0`, `[::1]`, and `[::]` so that the bu
crate/server/src/config/wizard/http_wizard.rs:15
↓ 2 callersFunctiondefineProperty_defineProperty
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersMethoddefinitions
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 2 callersMethoddelete
(&self, _slot_id: usize, _object_id: &[u8])
crate/server/src/tests/hsm/fake_hsm_authz.rs:159
↓ 2 callersMethoddelete
(&self, endpoint: &str)
crate/clients/clap/src/actions/google/gmail_client/client_builder.rs:124
↓ 2 callersFunctiondelete_
(uid: &str, tx: &mut Transaction<'_>)
crate/server_database/src/stores/sql/mysql.rs:1327
↓ 2 callersFunctiondelete_all_keys
(owner: &str, kms: &Arc<KMS>)
crate/server/src/tests/hsm/mod.rs:370
↓ 2 callersMethoddelete_attribute
( &self, kms_rest_client: &KmsClient, id: &str, current_attribute: Option<Attr
crate/clients/clap/src/actions/attributes/delete.rs:33
↓ 2 callersMethoddelete_object_handle
(&self, id: &[u8])
crate/hsm/base_hsm/src/session/session_impl.rs:639
↓ 2 callersFunctiondelete_tags
DELETE tags from a key; returns the parsed response body.
crate/server/src/tests/jose/tags.rs:54
↓ 2 callersFunctionder_element
The next DER element of `input` and the bytes after it.
crate/crypto/src/openssl/scep_cms.rs:293
↓ 2 callersFunctionder_encode_uint
Encode a DER INTEGER with sign padding if necessary.
crate/clients/cng/src/blob.rs:426
↓ 2 callersFunctionder_encodings
The same RSA key as PKCS#1 DER and as PKCS#8 DER.
crate/server/src/tests/google_cse/crypto_paths.rs:97
↓ 2 callersFunctionder_parse_unsigned_integer
(input: &[u8])
crate/clients/pkcs11/provider/src/kms_object.rs:1298
↓ 2 callersFunctionder_to_pem
Converts DER bytes to PEM bytes for keys
crate/clients/client_utils/src/export_utils.rs:79
↓ 2 callersMethodderive_hkdf_key
Derive a new AES key from a base secret key using HKDF (`CKM_HKDF_DERIVE`, OASIS Cryptoki v3.0 §2.3.11 / RFC 5869). Performs the standard HKDF Extrac
crate/hsm/base_hsm/src/session/session_impl.rs:2533
↓ 2 callersFunctionderive_key_asymmetric_ttlv_request
( private_key_id: &str, peer_public_key_id: &str, derived_key_id: Option<String>, )
crate/clients/wasm/src/wasm.rs:2708
← previousnext →2,201–2,300 of 12,829, ranked by callers