MCPcopy Create free account

hub / github.com/Cosmian/kms / functions

Functions12,829 in github.com/Cosmian/kms

↓ 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:1243
↓ 1 callersFunctionrun_all
(dll: &KspDll, h_provider: usize)
crate/clients/clap/src/actions/cng_verify.rs:1209
↓ 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:1178
↓ 1 callersFunctionrun_capabilities
FFI into the dlopen'ed PKCS#11 provider (#1166)
crate/clients/clap/src/actions/pkcs11/capabilities.rs:858
↓ 1 callersFunctionrun_cargo_build
(workspace_root: &Path, binary_path: &Path)
crate/clients/ckms/src/tests/ensure_binary.rs:165
↓ 1 callersFunctionrun_cmd
(cmd: &mut Command, context: &str)
crate/crypto/build.rs:235
↓ 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:77
↓ 1 callersFunctionrun_configure_wizard
(mut config: ClientConfig)
crate/clients/ckms/src/commands.rs:454
↓ 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:1623
↓ 1 callersFunctionrun_eddsa_checks
( func_list: &CK_FUNCTION_LIST, func_list_3_0: &CK_FUNCTION_LIST_3_0, slot_id: CK_SLOT_ID, han
crate/clients/clap/src/actions/pkcs11/capabilities.rs:1670
↓ 1 callersFunctionrun_encrypt_decrypt_round_trip
(app: &S, v: &Value, filename: &str)
crate/server/src/tests/jose/jose_vectors.rs:383
↓ 1 callersFunctionrun_encrypt_decrypt_tamper_reject
(app: &S, v: &Value, filename: &str)
crate/server/src/tests/jose/jose_vectors.rs:461
↓ 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:824
↓ 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:256
↓ 1 callersFunctionrun_function_coverage
FFI into the dlopen'ed PKCS#11 provider (#1166)
crate/clients/clap/src/actions/pkcs11/capabilities.rs:2154
↓ 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:333
↓ 1 callersFunctionrun_key_lifecycle
(app: &S, v: &Value, filename: &str)
crate/server/src/tests/jose/jose_vectors.rs:649
↓ 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:306
↓ 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:972
↓ 1 callersFunctionrun_mac_kat
(app: &S, v: &Value, filename: &str)
crate/server/src/tests/jose/jose_vectors.rs:181
↓ 1 callersFunctionrun_mac_round_trip
(app: &S, v: &Value, filename: &str)
crate/server/src/tests/jose/jose_vectors.rs:240
↓ 1 callersFunctionrun_mac_wrong_key_reject
(app: &S, v: &Value, filename: &str)
crate/server/src/tests/jose/jose_vectors.rs:280
↓ 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:2053
↓ 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_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:1516
↓ 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:332
↓ 1 callersFunctionrun_single_xml_vector
Run a single XML vector using the shared default test server (single sqlite path). `test_name` is used to namespace UID placeholder keys to avoid cros
crate/clients/clap/src/tests/xml/mod.rs:12
↓ 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:221
↓ 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:559
↓ 1 callersFunctionrun_vector
Run a single vector against the test app.
crate/server/src/tests/jose/jose_vectors.rs:150
↓ 1 callersFunctionrun_verify
(dll_path: &Path)
crate/clients/clap/src/actions/cng_verify.rs:1266
↓ 1 callersFunctionrun_verify
Run the full PKCS#11 verification sequence. # Errors Returns an error if any PKCS#11 call fails or the library cannot be loaded.
crate/clients/clap/src/actions/pkcs11/verify.rs:81
↓ 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:92
↓ 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 callersFunctionsafeGetProperty
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionsafeMax
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionsafe_openssl_version_info
()
crate/server/src/openssl_providers.rs:29
↓ 1 callersFunctionsafe_render
({componentList:s=[],fullOverride:o=!1}={})
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionsaml_login_url
`{origin}/saml/{realm}/login?return_to={kms_public_url}/ui/locate`. The Auth Verifier binds its SAML login cookie to the `/saml/` path, so the SAML r
crate/server/src/routes/ui_auth.rs:670
↓ 1 callersFunctionsan_kind
Human-readable name of a SAN entry type, for error messages.
crate/server/src/core/operations/certify/template.rs:196
↓ 1 callersFunctionsanitizeRef
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersMethodsave
Save the configuration to a toml file. # Errors Return an error if the configuration file is not found or if the file is not a valid toml file.
crate/clients/ckms/src/config.rs:58
↓ 1 callersFunctionscanDelims
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionscanVisibleRows
()
ui/tests/e2e/locate-attributes.spec.ts:51
↓ 1 callersFunctionscanVisibleRows
()
ui/tests/e2e/locate-hsm.spec.ts:58
↓ 1 callersMethodscan_all_objects
One-time bootstrap: scan every `do::*` key, decrypt each blob, and count objects whose `state` is not `Destroyed` or `Destroyed_Compromised`. This is
crate/server_database/src/stores/redis/objects_db.rs:508
↓ 1 callersMethodscan_due_for_rotation
Scan all `do::*` keys and return `(uid, owner)` pairs for every `Active` object that has `rotate_automatic = true` and whose next rotation instant is
crate/server_database/src/stores/redis/objects_db.rs:714
↓ 1 callersMethodscan_wrapped_objects
Scan all `do::*` keys and return `(uid, wrapping_key_uid)` pairs for every object that embeds a wrapping key (i.e. `Object::wrapping_key_uid()` is `So
crate/server_database/src/stores/redis/objects_db.rs:780
↓ 1 callersFunctionschedule_delete_on_reboot
Schedule `path` for deletion on the next system reboot using `MoveFileExW(path, NULL, MOVEFILE_DELAY_UNTIL_REBOOT)`. Failure is non-fatal — the leftov
crate/clients/cng/src/registry.rs:366
↓ 1 callersFunctionschedule_delete_on_reboot_cng
(path: &std::path::Path)
crate/clients/clap/src/actions/cng.rs:475
↓ 1 callersFunctionschemaHasAny
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionscoreForKeyword
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionscrollToElem
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionseal_and_roll
Seals a corrupted/tampered audit file aside as forensic evidence and starts a fresh chain at `path`. Order is load-bearing: the old file is renamed *
crate/server/src/core/audit/recovery.rs:519
↓ 1 callersMethodseal_and_roll
Seals `sealed_generation` as forensic evidence — never modified again — and starts `sealed_generation + 1` with a row-0 `audit:reanchor` event identif
crate/server_database/src/stores/audit/pgsql.rs:686
↓ 1 callersMethodseal_ceremony_record
Seal a ceremony payload for a given role. Returns `Err` when `ceremony_keys` is not configured (server misconfiguration).
crate/server_database/src/core/database_permissions.rs:191
↓ 1 callersFunctionsealbox_decrypt
Decrypt `ciphertext` data using `privkey`, a curve 25519 private key following ECIES in a way compatible with Salsa `SealBox` provided by libsodium.
crate/crypto/src/crypto/elliptic_curves/ecies/salsa_sealbox.rs:64
↓ 1 callersFunctionsealbox_encrypt
Encrypt `plaintext` data using `pubkey`, a Curve 25519 public key, following ECIES in a way that is compatible with libsodium `SalsaSealBox`. `EciesS
crate/crypto/src/crypto/elliptic_curves/ecies/salsa_sealbox.rs:27
↓ 1 callersFunctionsealed_file_path
Builds the sealed filename for a corrupted audit log: `<stem>.<RFC3339-compact UTC>.<8 hex>.corrupt.<ext>`. The timestamp gives lexicographic chronolo
crate/server/src/core/audit/recovery.rs:494
↓ 1 callersFunctionsecret_bytes
(kms: &Arc<KMS>, uid: &str)
crate/server/src/tests/derive_key_tests.rs:686
↓ 1 callersMethodsecret_data_bytes
Return the key material of a secret data
crate/kmip/src/kmip_2_1/kmip_data_structures.rs:451
↓ 1 callersFunctionsecure_bignum
(bytes: &[u8])
crate/crypto/src/crypto/openpgp/mod.rs:66
↓ 1 callersFunctionselectMethod
(method: AuthMethod)
ui/src/pages/LoginPage.tsx:95
↓ 1 callersFunctionselectMultipleOptions
(page: Page, cssSelector: string, optionLabels: string[])
ui/tests/e2e/helpers.ts:300
↓ 1 callersFunctionselectRow
(uid: string)
ui/src/components/common/LocateButton.tsx:141
↓ 1 callersFunctionselectStream
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersMethodselect_eligible_oracle_uid
Collect the single eligible crypto-oracle UID for a cryptographic operation. Returns `Ok(None)` if no oracle UID is eligible, `Ok(Some((uid, prefix))
crate/server/src/core/operations/key_ops/crypto_op.rs:777
↓ 1 callersFunctionselectors_onlyOAS3
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionsend_1_4
( client: &SocketClient, operation: OperationEnumeration, payload: kmip_1_4::kmip_operations::Oper
crate/server/src/tests/ttlv_tests/certify_1_4.rs:61
↓ 1 callersFunctionsend_binary_request
Send a binary TTLV request and return the response as JSON. Converts TTLV-JSON → TTLV struct → binary bytes, POSTs to `/kmip` with `application/octet
crate/test_kms_server/src/vector_runner.rs:385
↓ 1 callersMethodsend_request
Send a KMIP request to the server and return the response This method serializes the request to TTLV, then to bytes, sends the bytes to the server, re
crate/server/src/tests/ttlv_tests/socket_client.rs:129
↓ 1 callersFunctionseqFromValue
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionseqIterate
(s,o,i,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionseqIterator
(s,o,i,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionsequential_controls
( first: &RedisWithFindex, second: &RedisWithFindex, )
crate/server_database/src/stores/redis/additional_redis_findex_tests.rs:113
↓ 1 callersFunctionserial_hex
(certificate: &X509)
crate/server/src/tests/revocation_authority_tests.rs:211
↓ 1 callersMethodserialiseContent
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersMethodserialiseEnum
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersMethodserialiseObject
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionserializeHeaders
(s={})
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionserializeResponse
(s,o,{loadSpec:i=!1}={})
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionserve
(args: ServeArgs)
crate/clients/k8s/operator/src/lib.rs:22
↓ 1 callersFunctionserver_managed_attributes_are_rejected
Every read-only attribute is refused by all four attribute edits, whether or not the object already holds a value: Add/Set with `Read_Only_Attribute`
crate/server/src/tests/test_set_attribute.rs:343
↓ 1 callersMethodserver_url
Determine http/https scheme and default port from host string.
crate/server/src/config/command_line/secret_backends/cosmian_kms.rs:30
↓ 1 callersMethodsession
Borrow the checked-out session while it remains owned by this guard.
crate/hsm/base_hsm/src/slots.rs:167
↓ 1 callersFunctionsessionCookie
(context: BrowserContext)
ui/tests/e2e-saml/saml-sso.spec.ts:48
↓ 1 callersFunctionset
Store an in-process env override under `key`. # Panics Panics if the internal `RwLock` has been poisoned (should never happen in a normal test run).
crate/test_kms_server/src/test_env.rs:35
↓ 1 callersFunctionsetActive
(level)
documentation/docs/javascripts/log_filter.js:160
← previousnext →5,201–5,300 of 12,829, ranked by callers