MCPcopy Create free account

hub / github.com/Cosmian/kms / functions

Functions12,829 in github.com/Cosmian/kms

↓ 3 callersFunctionregister_fallback_backend
Register a backend whose `find_all_private_keys` returns the given key id and whose other `find_all_*` methods return empty sets.
crate/clients/pkcs11/module/src/tests.rs:1665
↓ 3 callersFunctionreject_reserved_uid
Reject `uid` if it is a reserved identifier (see [`RESERVED_UIDS`]).
crate/server_database/src/core/database_objects.rs:30
↓ 3 callersMethodrekey_keypair
This request is used to generate a replacement key pair for an existing public/private key pair. It is analogous to the Create Key Pair operation, ex
crate/clients/client/src/kms_rest_client.rs:561
↓ 3 callersMethodremote_id
(&self)
crate/clients/pkcs11/provider/src/pkcs11_public_key.rs:97
↓ 3 callersFunctionreplaceEntities
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionrequest_attrs
()
crate/crypto/src/openssl/scep_cms.rs:734
↓ 3 callersFunctionrequested_hsm_algorithm
HSM algorithm requested by KMIP parameters; `None` = HSM default (AES-GCM / RSA-OAEP-SHA256).
crate/server/src/core/wrapping/wrap.rs:152
↓ 3 callersFunctionrequire_non_empty
Check that a required credential is non-empty.
crate/server/src/config/command_line/secret_backends/common.rs:41
↓ 3 callersFunctionresign_all_structures
(key: &PKey<Private>, oid: &str)
crate/server/src/core/certificate/oracle_signing.rs:597
↓ 3 callersFunctionresolve_client_ip
Same rule as [`extract_client_ip`] on already extracted values, for handlers that sit outside the audit middleware (EST / SCEP). `x_forwarded_for` is
crate/server/src/middlewares/audit/client_ip.rs:55
↓ 3 callersFunctionresolve_uids
Resolve an [`ObjectHandle`] to the set of concrete object UIDs it addresses. A `Tags` handle expands to every UID carrying all of the requested tags;
crate/server/src/core/uid_utils.rs:71
↓ 3 callersFunctionresponse
(body: &'static [u8])
crate/clients/client/src/http_client/client.rs:706
↓ 3 callersFunctionrestart
( owner: &str, kek_uuid: Uuid, sqlite_path: &Path, default_unwrap: bool, )
crate/server/src/tests/hsm/hybrid_kem_dek.rs:169
↓ 3 callersFunctionrestricted_writer_url
Swaps the credentials of `base` for the restricted `kms_audit_writer` role (see [`provision_restricted_writer`]), keeping the same scheme, host, port,
crate/server_database/src/stores/audit/pgsql.rs:1856
↓ 3 callersMethodretrieveFixedFields
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersMethodretrieve_eligible_keys
Retrieve all eligible objects matching the given identifier, filtered by state and type. Filters by: - State: `Active`, `Deactivated`, or `Compromise
crate/server/src/core/operations/rekey/common.rs:56
↓ 3 callersMethodretrieve_tags
Retrieve the tags of the object with the given `uid`
crate/server_database/src/stores/redis/redis_with_findex.rs:948
↓ 3 callersFunctionrevoke_key
Revoke `key_id` (Cessation of Operation) for cleanup.
crate/server/src/tests/ttlv_tests/integrations/vast.rs:231
↓ 3 callersFunctionrewrap_with_client
[`rewrap`], with the client used to reach the original KACLS produced by `connect` (production: `kacls_client`, which enforces the SSRF guard). # Err
crate/server/src/routes/google_cse/operations.rs:1045
↓ 3 callersFunctionroot_dir
()
crate/test_kms_server/src/test_server.rs:143
↓ 3 callersFunctionrsa_encrypt
RSA PKCS1 encryption
crate/server/src/tests/google_cse/mod.rs:328
↓ 3 callersFunctionrun_google
(conf_path: &str, args: &[&str])
crate/clients/ckms/src/tests/google_cmd/gmail_api.rs:29
↓ 3 callersFunctionrun_single_xml_vector_on_client
Core runner used by both KMIP 2.1 and 1.4 suites.
crate/clients/clap/src/tests/xml/runner.rs:69
↓ 3 callersFunctionsample_event
(id: i64, prev_hash: [u8; 32])
crate/server/src/core/audit/file_sink.rs:361
↓ 3 callersFunctionsan_entries
Sorted raw DER of every `GeneralName` in a `SubjectAltName` extension value. Comparing the encoded names avoids any dependence on a parser's `Debug` r
crate/server/src/routes/enrollment.rs:588
↓ 3 callersFunctionscrollToY
(i,u,_)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersMethodsearch_one_keyword
Search for a keyword
crate/server_database/src/stores/redis/permissions.rs:179
↓ 3 callersFunctionseed_postgres_sealed_instance
Seeds a fresh instance whose generation 0 ends with a tampered event, reconnects to trigger the automatic seal-and-roll recovery (sealing generation 0
crate/clients/clap/src/actions/audit.rs:1427
↓ 3 callersMethodserialise
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionserializeRequest
(s={})
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionserialize_deserialize
(object: &T)
crate/kmip/src/ttlv/tests/kmip_2_1_tests.rs:765
↓ 3 callersMethodserialize_i64
(self, v: i64)
crate/kmip/src/ttlv/kmip_ttlv_serializer.rs:187
↓ 3 callersFunctionset_ckms_conf
Points the provider at `conf` through `CKMS_CONF`; call it before the library is loaded.
crate/clients/clap/src/actions/pkcs11/verify.rs:62
↓ 3 callersFunctionset_claim
Overwrite one claim of a claim set built by [`valid_claims`].
crate/server/src/middlewares/jwt/jwt_token_auth.rs:542
↓ 3 callersMethodset_cryptographic_usage_mask_bits
Set the bits in `mask` to the attributes's `CryptographicUsageMask` bits.
crate/kmip/src/kmip_2_1/kmip_attributes.rs:711
↓ 3 callersMethodset_current_db_version
(&self, version: &str)
crate/server_database/src/stores/sql/sqlite.rs:1152
↓ 3 callersMethodset_db_state
(&self, state: DbState)
crate/server_database/src/stores/sql/sqlite.rs:1126
↓ 3 callersMethodset_key_pair_unique_identifier
( &mut self, private_key_unique_identifier: T, public_key_unique_identifier: T, )
crate/clients/clap/src/actions/console.rs:94
↓ 3 callersMethodset_rotation_metadata_from
Set rotation metadata on these (new) attributes based on the old key's attributes. Per the auto-rotation spec (Manual rekey table): - `rotate_generat
crate/kmip/src/kmip_2_1/kmip_attributes.rs:1908
↓ 3 callersMethodset_unique_identifiers
(&mut self, unique_identifiers: &[UniqueIdentifier])
crate/clients/clap/src/actions/console.rs:85
↓ 3 callersFunctionsf
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionshallowArrayEquals
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionsign
(kms: &KMS, request: Sign, user: &UserId)
crate/server/src/core/operations/sign.rs:123
↓ 3 callersFunctionsign_hash_ecdsa
( dll: &KspDll, h_provider: usize, h_key: usize, hash: &[u8], )
crate/clients/clap/src/actions/cng_verify.rs:374
↓ 3 callersMethodsign_message
Signs one complete PKCS#11 v3 message while keeping the message-sign operation initialized for subsequent independent messages.
crate/clients/pkcs11/module/src/sessions.rs:759
↓ 3 callersFunctionsign_ttlv_request
( key_unique_identifier: &str, data_or_digest: Vec<u8>, cryptographic_parameters: Option<JsValue>,
crate/clients/wasm/src/wasm.rs:1548
↓ 3 callersFunctionsign_twice_and_compare
(sign_req: &Sign, pkey: &PKey<Private>, f: F)
crate/crypto/src/crypto/elliptic_curves/sign.rs:251
↓ 3 callersFunctionsign_verify
FFI into the dlopen'ed PKCS#11 provider (#1166)
crate/clients/clap/src/actions/pkcs11/capabilities.rs:1750
↓ 3 callersFunctionsign_with_header
Sign `claims` with the given, fully caller-controlled JOSE header.
crate/server/src/routes/google_cse/jwt.rs:816
↓ 3 callersMethodsignature_verify
( &self, uid: &str, data: &[u8], signature: &[u8], cryptographic_param
crate/interfaces/src/hsm/hsm_store.rs:972
↓ 3 callersFunctionsignature_verify_ttlv_request
( key_unique_identifier: &str, data_or_digest: Vec<u8>, signature: Vec<u8>, cryptographic_para
crate/clients/wasm/src/wasm.rs:1590
↓ 3 callersFunctionskipSeparationSpace
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionsmi
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionspiffe_authenticated_user
Build the [`AuthenticatedUser`] for a validated SPIFFE JWT-SVID claim set. Requirements, on top of the signature/issuer/expiry/audience checks alread
crate/server/src/middlewares/jwt/jwt_token_auth.rs:77
↓ 3 callersFunctionspki_hash
(rsa: &Rsa<Private>)
crate/server/src/tests/google_cse/crypto_paths.rs:528
↓ 3 callersFunctionstart_default_test_kms_server_with_jwt_auth
Plain-HTTP server with JWT authentication enabled (Auth0 `IdP`). Configuration is loaded from `test_data/configs/server/auth/plain_jwt.toml`.
crate/test_kms_server/src/test_server.rs:430
↓ 3 callersFunctionstart_test_server
Start a test server from a TOML config file with default client options. The server is started in a dedicated thread with dynamic port allocation. Re
crate/test_kms_server/src/test_server.rs:1482
↓ 3 callersMethodstatus_code
(&self)
crate/server/src/routes/jose/error.rs:53
↓ 3 callersFunctionstylize
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionsub_ca_flow
Create a non-extractable key pair `sk_id` in the HSM, get its CSR signed by the HSM and certified by `root_id` through the `CertificateLink` only (the
crate/server/src/tests/hsm/sub_ca.rs:111
↓ 3 callersFunctionsubject
(cn: &str)
crate/server/src/core/operations/message.rs:901
↓ 3 callersFunctionsubmitWithFetchRetry
* Navigate to `path`, run optional `setup`, submit the form, and wait for the * response panel. Retries once (with a fresh navigate + setup) on a tr
ui/tests/e2e/helpers.ts:371
↓ 3 callersMethodsupports_message_encrypt
(&self)
crate/hsm/base_hsm/src/hsm_lib.rs:593
↓ 3 callersFunctionsymmetric_encrypt
( dek_uid: &str, owner: &str, kms: &Arc<KMS>, data: &[u8], )
crate/server/src/tests/hsm/symmetric_dek.rs:125
↓ 3 callersFunctionta
(s,o,i,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctiontag
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctiontag_case
(writer: &RedisWithFindex)
crate/server_database/src/stores/redis/additional_redis_findex_tests.rs:89
↓ 3 callersFunctiontag_from_object
Return the KMIP tag for a given object This is required to match the Java library behavior which expects the first tag to describe the type of object
crate/clients/client_utils/src/export_utils.rs:64
↓ 3 callersFunctiontags
(values: &[&str])
crate/clients/pkcs11/provider/src/kms_object.rs:1607
↓ 3 callersFunctiontags_response
(kid: String, all_tags: HashSet<String>)
crate/server/src/routes/jose/tags.rs:172
↓ 3 callersFunctiontest_app_with_google_cse
Creates a test application instance using an explicit `ClapConfig` and an explicit Google CSE token-validation configuration. Combined with `google_c
crate/server/src/tests/test_utils.rs:326
↓ 3 callersFunctiontest_discover_versions_
( major: i32, minor: i32, dv: DiscoverVersions, )
crate/server/src/tests/ttlv_tests/discover_versions.rs:108
↓ 3 callersFunctiontest_kem
(cli_conf_path: &str, name: &str, algorithm: &str)
crate/clients/ckms/src/tests/pqc/mod.rs:164
↓ 3 callersFunctiontest_wrap_unwrap
Helper to run wrap/unwrap roundtrip test
crate/crypto/src/crypto/symmetric/rfc3394.rs:110
↓ 3 callersFunctiontf
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctiontg
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionthrowWarning
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctiontj
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersMethodtoJSON
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersMethodto_ck_key_type
(&self)
crate/clients/pkcs11/module/src/traits/key_algorithm.rs:49
↓ 3 callersFunctionto_object_with_metadata
( hsm_object: &HsmObject, uid: &str, user: &str, vendor_id: &str, )
crate/interfaces/src/hsm/hsm_store.rs:1621
↓ 3 callersMethodto_openssl_cipher
Convert to the corresponding OpenSSL cipher.
crate/crypto/src/crypto/symmetric/symmetric_ciphers.rs:191
↓ 3 callersMethodto_u32_digits
Convert the complement notation value of a `BigInt` into a `Vec<u32>`. This is used by the TTLV Serializer to construct a `BigInt`. Get the `Vec<u8>`
crate/kmip/src/ttlv/kmip_big_int.rs:130
↓ 3 callersFunctionto_wide
(s: &str)
crate/clients/cng/src/registry.rs:402
↓ 3 callersFunctionto_wide
(s: &str)
crate/clients/clap/src/actions/cng.rs:466
↓ 3 callersFunctiontoken_with_header
(header: &str)
crate/server/src/middlewares/jwt/jwt_config.rs:370
↓ 3 callersFunctiontransit_tag_name
Build the KMIP tag string for a transit key name.
crate/server/src/routes/spire/transit.rs:64
↓ 3 callersFunctiontry_create_hsm_ec_kp
Create an HSM-resident EC/EdDSA key pair for the given curve. Key generation happens on the HSM itself via `HsmKeypairAlgorithm::EC` (NIST curves) or
crate/clients/clap/src/actions/bench/helpers.rs:649
↓ 3 callersFunctiontry_create_hsm_rsa_kp
Create an HSM-resident RSA key pair. Key generation happens on the HSM itself via `HsmKeypairAlgorithm::RSA`.
crate/clients/clap/src/actions/bench/helpers.rs:594
↓ 3 callersFunctionuc
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionuid_string
Extract the text-string from a `UniqueIdentifier`, propagating as a `KResult`. Replaces `.as_str().expect("UID must be a string")` throughout this fil
crate/server/src/tests/key_ceremony_tests.rs:51
↓ 3 callersFunctionuid_string
(uid: &UniqueIdentifier)
crate/server/src/tests/hsm/hybrid_kem_dek.rs:316
↓ 3 callersFunctionunescapeMd
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionunpipe
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersMethodunregister
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionunwrap_request
(wrapped_key: String)
crate/server/src/tests/google_cse/crypto_paths.rs:624
↓ 3 callersMethodupdate
(&mut self, mut data: &[u8])
crate/crypto/src/crypto/fpe/ff1.rs:272
↓ 3 callersMethodupdate_state
(&self, uid: &str, state: State)
crate/server_database/src/stores/redis/redis_with_findex.rs:977
↓ 3 callersFunctionuploadFileNth
(page: Page, filePath: string, nth: number)
ui/tests/e2e/helpers.ts:473
↓ 3 callersFunctionuri
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
← previousnext →1,801–1,900 of 12,829, ranked by callers