MCPcopy Create free account

hub / github.com/Cosmian/kms / functions

Functions16,000 in github.com/Cosmian/kms

↓ 1 callersFunctionrotate_one_key
Attempt to rotate a single key, returning `Ok(())` on success. After a successful rotation the replacement key inherits the original key's rotation p
crate/server/src/core/operations/auto_rotate.rs:94
↓ 1 callersFunctionrotation_policy_plan
(current, state, interval_seconds, rotate_name, offset_seconds)
ansible/plugins/module_utils/kms_api.py:173
↓ 1 callersFunctionrotl30
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionrotl5
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionround_trip
(value: &T)
crate/kmip/src/ttlv/tests/kmip_2_1_tests.rs:2005
↓ 1 callersFunctionrouteCreateAsPreActive
Route KMIP Create requests so the server stores the new key Pre-Active; returns the rewrite counter.
ui/tests/e2e/sym-key-flow.spec.ts:38
↓ 1 callersFunctionroute_hsm_keypair
`ReKeyKeyPair` on an HSM-resident private key. Re-key attributes and storage masks have nowhere to go on a PKCS#11 token, so they are refused instead
crate/server/src/core/operations/rekey/keypair/mod.rs:124
↓ 1 callersFunctionrsa_aes_key_wrap_sha256_unwrap
Unwrap (decrypt) the given ciphertext using `RSA_AES_KEY_WRAP_SHA_256` This is a two-step unwrapping process: 1. RSA-OAEP with SHA-256 unwraps the eph
crate/clients/clap/src/tests/shared/openssl_utils.rs:166
↓ 1 callersFunctionrsa_algorithm
(attributes: &mut Attributes, cryptographic_length: i32)
crate/clients/client_utils/src/certificate_utils.rs:494
↓ 1 callersFunctionrsa_decrypt
( client: &KmsClient, sk_id: &str, ciphertext: &[u8], )
crate/test_kms_server/benches/http_throughput.rs:127
↓ 1 callersFunctionrsa_decrypt
( dek_uid: &str, owner: &str, kms: &Arc<KMS>, ciphertext: &[u8], )
crate/server/src/tests/hsm/rsa_dek.rs:167
↓ 1 callersFunctionrsa_encrypt
(dek_uid: &str, owner: &str, kms: &Arc<KMS>, data: &[u8])
crate/server/src/tests/hsm/rsa_dek.rs:134
↓ 1 callersFunctionrsa_encrypt_sample
(client: &KmsClient, pk_id: &str)
crate/test_kms_server/benches/http_throughput.rs:157
↓ 1 callersFunctionrsa_from_private_key
Parse an RSA private key from PKCS#8 DER bytes. Centralises the three-step conversion (DER → `PKey` → `Rsa`) that is needed for `Modulus`, `PublicExpo
crate/clients/pkcs11/module/src/core/object.rs:151
↓ 1 callersFunctionrsa_oaep_groups
RSA-OAEP decryption vectors: Wycheproof.
crate/crypto/src/kat_vectors.rs:671
↓ 1 callersFunctionrsa_oaep_sha1_params
RSA-OAEP with SHA-1 (`CryptoAlgorithm::RsaOaepSha1` on the HSM oracle). Distinct from `rsa_oaep_params()` (SHA-256): the oracle selects the OAEP hash/
crate/clients/clap/src/actions/bench/helpers.rs:215
↓ 1 callersFunctionrsa_oaep_sha256
RSA-OAEP-SHA256 parameters used by the provider to wrap/unwrap with RSA keys.
crate/server/src/tests/ekm_provider.rs:41
↓ 1 callersFunctionrsa_pk_modulus
The modulus of the stored `google_cse_rsa_pk` public key.
crate/server/src/tests/google_cse/server_setup.rs:240
↓ 1 callersFunctionrsa_pkcs1_decrypt_groups
RSA PKCS#1 v1.5 decryption vectors: Wycheproof.
crate/crypto/src/kat_vectors.rs:676
↓ 1 callersFunctionrsa_pkcs1_sign_vectors
RSA PKCS#1 v1.5 signing vectors: NIST CAVP.
crate/crypto/src/kat_vectors.rs:666
↓ 1 callersMethodrsa_public_key
(&self)
crate/clients/pkcs11/provider/src/pkcs11_public_key.rs:139
↓ 1 callersFunctionrsa_sign
Sign a file using RSA keys via CLI
crate/clients/ckms/src/tests/rsa/sign_verify.rs:17
↓ 1 callersFunctionrsa_sign
Sign `input_file` with `key_id` (private key).
crate/clients/ckms/src/tests/rsa/rotation_policy.rs:64
↓ 1 callersFunctionrsa_sign_verify
Verify a signature using RSA keys via CLI
crate/clients/ckms/src/tests/rsa/sign_verify.rs:50
↓ 1 callersFunctionrsa_spki
(pkcs1: &[u8])
crate/clients/cng/src/blob.rs:727
↓ 1 callersFunctionrsa_to_jwk
Serialize an RSA public key to JWK. Encodes the modulus (`n`) and public exponent (`e`) as unsigned big-endian base64url strings. `use`/`alg` are de
crate/server/src/routes/jwks.rs:236
↓ 1 callersFunctionrsa_verify
Verify `sig_file` over `data_file` using `key_id` (public key).
crate/clients/ckms/src/tests/rsa/rotation_policy.rs:84
↓ 1 callersFunctionrsa_verify_groups
RSA PKCS#1 v1.5 and PSS verification vectors: Wycheproof, NIST ACVP.
crate/crypto/src/kat_vectors.rs:661
↓ 1 callersFunctionrun
()
crate/server/src/main.rs:111
↓ 1 callersFunctionrun
(command: &mut Command, context: &str)
crate/server/src/tests/hsm/sshd.rs:53
↓ 1 callersMethodrun
Processes the access action. # Errors Returns an error if there was a problem running the action.
crate/clients/clap/src/actions/mac.rs:183
↓ 1 callersMethodrun
Run the export, writing output to `stdout`. # Errors Returns an error if the source cannot be read.
crate/clients/clap/src/actions/audit.rs:237
↓ 1 callersMethodrun
Runs the `GrantAccess` action. # Arguments `kms_rest_client` - A reference to the KMS client used to communicate with the KMS server. # Errors Ret
crate/clients/clap/src/actions/access.rs:102
↓ 1 callersMethodrun
(&self, kms_rest_client: &KmsClient)
crate/clients/clap/src/actions/ssh.rs:148
↓ 1 callersMethodrun
Run the `OpenPGP` signing action. # Errors Returns an error if signing fails.
crate/clients/clap/src/actions/pgp/sign.rs:43
↓ 1 callersMethodrun
(&self, kms_rest_client: KmsClient)
crate/clients/clap/src/actions/fpe/decrypt.rs:25
↓ 1 callersMethodrun
(&self, kms_client: KmsClient)
crate/clients/clap/src/actions/azure/byok/import_kek.rs:34
↓ 1 callersMethodrun
(&self, kms_rest_client: KmsClient)
crate/clients/clap/src/actions/secret_data/revoke_secret.rs:33
↓ 1 callersMethodrun
(&self, kms_rest_client: KmsClient)
crate/clients/clap/src/actions/cover_crypt/decrypt.rs:47
↓ 1 callersMethodrun
(&self, kms_rest_client: KmsClient)
crate/clients/clap/src/actions/cover_crypt/access_structure.rs:88
↓ 1 callersMethodrun
(&self, kms_rest_client: KmsClient)
crate/clients/clap/src/actions/elliptic_curves/sign.rs:49
↓ 1 callersMethodrun
(&self, config: KmsClientConfig)
crate/clients/clap/src/actions/google/identities/get_identities.rs:18
↓ 1 callersMethodrun
# Errors Returns an error if the request fails or if the response is not successful.
crate/clients/clap/src/actions/google/key_pairs/create.rs:185
↓ 1 callersMethodrun
(&self, config: KmsClientConfig)
crate/clients/clap/src/actions/google/key_pairs/get.rs:21
↓ 1 callersMethodrun
(&self, kms_client: KmsClient)
crate/clients/clap/src/actions/aws/byok/import_kek.rs:71
↓ 1 callersMethodrun
(&self, kms_rest_client: KmsClient)
crate/clients/clap/src/actions/certificates/certify.rs:248
↓ 1 callersMethodrun
(&self, kms_rest_client: KmsClient)
crate/clients/clap/src/actions/rsa/sign.rs:43
↓ 1 callersMethodrun
(&self, kms_rest_client: KmsClient)
crate/clients/clap/src/actions/pqc/sign.rs:33
↓ 1 callersMethodrun
(&self, kms_rest_client: KmsClient)
crate/clients/clap/src/actions/tokenize/hash.rs:36
↓ 1 callersMethodrun
Get the KMIP object attributes and tags. When using tags to retrieve the object, rather than the object id, an error is returned if multiple objects
crate/clients/clap/src/actions/attributes/get.rs:83
↓ 1 callersMethodrun
(&self, kms_rest_client: KmsClient)
crate/clients/clap/src/actions/opaque_object/revoke.rs:30
↓ 1 callersFunctionrunKmipLocate
( values: LocateFormData, cryptographicAlgorithm: string | undefined, keyFormatType: s
ui/src/components/common/Locate.tsx:269
↓ 1 callersFunctionrun_aes_checks
FFI into the dlopen'ed PKCS#11 provider (#1166)
crate/clients/clap/src/actions/pkcs11/capabilities.rs:1270
↓ 1 callersFunctionrun_all
(dll: &KspDll, h_provider: usize)
crate/clients/clap/src/actions/cng_verify.rs:1215
↓ 1 callersFunctionrun_all
Runs every mode in `modes` through the full concurrency sweep and returns the combined list of results, in order. See [`prepare_ops`] for how each mod
crate/clients/clap/src/actions/pkcs11/bench/load.rs:1182
↓ 1 callersFunctionrun_audit_checkpoints
Writes a checkpoint every `every_events` new events, or every `every` when at least one event is new, until `shutdown` fires. Failures are logged and
crate/server/src/core/audit/checkpoint.rs:49
↓ 1 callersFunctionrun_auto_rotation_job
One run of the auto-rotation job. Rotation creates a new key version and a renewal warning is a notification: run in every region, both would be dupli
crate/server/src/cron.rs:25
↓ 1 callersFunctionrun_capabilities
FFI into the dlopen'ed PKCS#11 provider (#1166)
crate/clients/clap/src/actions/pkcs11/capabilities.rs:862
↓ 1 callersFunctionrun_cargo_build
(workspace_root: &Path, binary_path: &Path)
crate/clients/ckms/src/tests/ensure_binary.rs:157
↓ 1 callersFunctionrun_configure_wizard
Run the interactive configuration wizard and write the configuration file. # Errors Returns an error if any prompt fails, certificate generation fail
crate/server/src/config/wizard/mod.rs:78
↓ 1 callersFunctionrun_configure_wizard
(mut config: ClientConfig)
crate/clients/ckms/src/commands.rs:516
↓ 1 callersFunctionrun_criterion
Runs every mode in `modes` as a single-operation criterion benchmark (using only `pool`'s first session — these measure per-call latency, not concurre
crate/clients/clap/src/actions/pkcs11/bench/criterion_bench.rs:49
↓ 1 callersFunctionrun_ecdsa_checks
`CKM_ECDSA` sign/verify over every provisioned EC key pair (P-256, P-384, P-521, and — in a `non-fips` build — secp256k1).
crate/clients/clap/src/actions/pkcs11/capabilities.rs:1816
↓ 1 callersFunctionrun_eddsa_checks
One-shot `CKM_EDDSA` sign/verify, plus the v3.0 message-based `C_MessageSignInit`/`C_SignMessage`/`C_MessageSignFinal` flow, for every provisioned `Ed
crate/clients/clap/src/actions/pkcs11/capabilities.rs:1861
↓ 1 callersFunctionrun_encrypt_decrypt_round_trip
(app: &S, v: &Value, filename: &str)
crate/server/src/tests/jose/jose_vectors.rs:373
↓ 1 callersFunctionrun_encrypt_decrypt_tamper_reject
(app: &S, v: &Value, filename: &str)
crate/server/src/tests/jose/jose_vectors.rs:451
↓ 1 callersFunctionrun_expect_error
Run a vector that expects an HTTP error response. Vector format: ```json { "type": "expect_error", "endpoint": "/v1/crypto/encrypt", "method": "POST"
crate/server/src/tests/jose/jose_vectors.rs:814
↓ 1 callersFunctionrun_fault_child
()
crate/clients/ckms/src/tests/pkcs11.rs:566
↓ 1 callersFunctionrun_for
Spawns `concurrency` threads — each driving `op` against its **own** dedicated session from `pool` (`pool[i % pool.len()]`) for `duration` — and retur
crate/clients/clap/src/actions/pkcs11/bench/load.rs:260
↓ 1 callersFunctionrun_function_coverage
FFI into the dlopen'ed PKCS#11 provider (#1166)
crate/clients/clap/src/actions/pkcs11/capabilities.rs:2336
↓ 1 callersFunctionrun_gpg
(home: &Path, args: &[&str], stdin_data: Option<&[u8]>)
crate/clients/ckms/src/tests/pgp/import_export.rs:165
↓ 1 callersFunctionrun_hsm_kmip_benches
HSM counterpart of [`run_kmip_benches`]: keys are created with an `hsm::`-prefixed unique identifier so both key generation and Encrypt/Sign execute d
crate/clients/clap/src/actions/bench/clap.rs:381
↓ 1 callersFunctionrun_key_lifecycle
(app: &S, v: &Value, filename: &str)
crate/server/src/tests/jose/jose_vectors.rs:639
↓ 1 callersFunctionrun_kmip_benches
Run all KMIP criterion benchmark groups for a single transport (JSON or binary TTLV).
crate/clients/clap/src/actions/bench/clap.rs:353
↓ 1 callersFunctionrun_load_level
Spawn `concurrency` OS threads, each with a dedicated single-threaded tokio runtime but all sharing a single `KmsClient` (and its underlying HTTP conn
crate/clients/clap/src/actions/bench/load.rs:1077
↓ 1 callersFunctionrun_mac_kat
(app: &S, v: &Value, filename: &str)
crate/server/src/tests/jose/jose_vectors.rs:171
↓ 1 callersFunctionrun_mac_round_trip
(app: &S, v: &Value, filename: &str)
crate/server/src/tests/jose/jose_vectors.rs:230
↓ 1 callersFunctionrun_mac_wrong_key_reject
(app: &S, v: &Value, filename: &str)
crate/server/src/tests/jose/jose_vectors.rs:270
↓ 1 callersFunctionrun_mechanism_coverage
( func_list: &CK_FUNCTION_LIST, slot_id: CK_SLOT_ID, deep_results: &[CheckResult], )
crate/clients/clap/src/actions/pkcs11/capabilities.rs:2232
↓ 1 callersFunctionrun_module
()
ansible/plugins/modules/kms_rotation_policy.py:96
↓ 1 callersFunctionrun_module
()
ansible/plugins/modules/kms_access.py:91
↓ 1 callersFunctionrun_module
()
ansible/plugins/modules/kms_key.py:92
↓ 1 callersFunctionrun_module
()
ansible/plugins/modules/kms_certificate.py:107
↓ 1 callersFunctionrun_owned_cli_command_expect_failure
This function runs the CLI command with the provided configuration path and expects it to fail.
crate/clients/ckms/src/tests/auth_tests.rs:57
↓ 1 callersFunctionrun_requests
( test_name: &str, client: &KmsClient, path: &Path, prepare_req: &mut PrepareRequest, exch
crate/clients/clap/src/tests/xml/runner.rs:280
↓ 1 callersFunctionrun_rsa_checks
`CKM_RSA_PKCS`, `CKM_SHA{1,256,384,512}_RSA_PKCS`, `CKM_RSA_PKCS_PSS` sign/verify.
crate/clients/clap/src/actions/pkcs11/capabilities.rs:1709
↓ 1 callersFunctionrun_service
()
crate/server/src/windows_service.rs:52
↓ 1 callersFunctionrun_service_async
()
crate/server/src/windows_service.rs:67
↓ 1 callersFunctionrun_sign_verify_round_trip
(app: &S, v: &Value, filename: &str)
crate/server/src/tests/jose/jose_vectors.rs:322
↓ 1 callersFunctionrun_sweep
Runs the full concurrency sweep for one named operation and returns one [`LoadResult`] per concurrency level.
crate/clients/clap/src/actions/pkcs11/bench/load.rs:225
↓ 1 callersFunctionrun_unwrap_key_round_trip
Run an unwrap-key round-trip vector: 1. Provision an RSA key pair 2. Encrypt with RSA-OAEP (wraps a fresh CEK with the public key) 3. Call `POST /v1/c
crate/server/src/tests/jose/jose_vectors.rs:549
↓ 1 callersFunctionrun_vector
Run a single vector against the test app.
crate/server/src/tests/jose/jose_vectors.rs:140
↓ 1 callersFunctionrun_verify
(dll_path: &Path)
crate/clients/clap/src/actions/cng_verify.rs:1272
↓ 1 callersMethodrun_verify_standalone
(&self)
crate/clients/clap/src/actions/pkcs11/mod.rs:104
↓ 1 callersFunctionrun_warmup
Send lightweight requests to the KMS server for `warmup_secs` seconds to warm up HTTP connection pools, TLS sessions, and server-side caches.
crate/clients/clap/src/actions/bench/helpers.rs:93
↓ 1 callersFunctionrun_with_cluster_lock
(kms: &Arc<KMS>, lock_name: &str, action: F)
crate/server/src/cron.rs:37
↓ 1 callersFunctionrun_worker
Sender `w`: messages `w, w + workers, ...`, message `i` scheduled at `start + i / rate`. A late sender does not sleep, so its backlog drains as a burs
crate/clients/clap/src/actions/bench/cek_switch.rs:354
↓ 1 callersMethodrun_x25519
(&self, kms_rest_client: &KmsClient)
crate/clients/clap/src/actions/derive_key/mod.rs:188
↓ 1 callersFunctionruntime
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionruntime_result
( result: &std::io::Result<tokio::runtime::Runtime>, )
crate/clients/pkcs11/provider/src/kms_object.rs:76
← previousnext →6,601–6,700 of 16,000, ranked by callers