MCPcopy Create free account

hub / github.com/Cosmian/kms / functions

Functions12,829 in github.com/Cosmian/kms

↓ 1 callersFunctionreplaceScopedAbbr
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionreplace_special_chars_with_underscore
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionrequestSnippetGenerator_curl_bash
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionrequest_has_nonce
(request_der: &[u8])
crate/crypto/src/openssl/ocsp.rs:758
↓ 1 callersFunctionrequest_token
This function requests the access token from the Identity Provider. This function was rewritten because Google returns the JWT token in the `id_token
crate/clients/client/src/http_client/login.rs:311
↓ 1 callersFunctionrequest_without_data
Copy of `request` without its (bulk) `data`, to be filled per item.
crate/server/src/core/operations/encrypt.rs:322
↓ 1 callersFunctionrequested_backends
Parse the `KMS_TEST_BACKENDS` environment variable into a list of backend names. Format: comma-separated, e.g. `"sqlite,postgresql,mysql"`. Falls bac
crate/test_kms_server/src/vector_runner.rs:806
↓ 1 callersFunctionrequests_fips_provider
Whether a property query explicitly requires the FIPS provider: the `fips=yes` term or the bare name `fips` (OpenSSL parses a name without a value as
crate/crypto/src/crypto/pqc/mod.rs:197
↓ 1 callersFunctionrequire_tls_audit_url
`postgres-audit` has no TLS, so `sslmode=require` must fail instead of downgrading.
crate/server_database/src/stores/audit/pgsql.rs:1698
↓ 1 callersFunctionrequiresValidationURL
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersMethodrequires_non_fips
Whether this mode exercises a key type (Ed25519, secp256k1) that only non-FIPS builds may use; FIPS builds never select such modes.
crate/clients/clap/src/actions/pkcs11/bench/load.rs:91
↓ 1 callersFunctionreqwest_method
Translate an incoming actix-web HTTP method string into a `reqwest::Method`, preserving the verb byte-for-byte. The auth proxy must forward the clien
crate/server/src/routes/spire/auth_proxy.rs:127
↓ 1 callersMethodreset
(&self)
crate/clients/pkcs11/module/src/profiling.rs:148
↓ 1 callersMethodresolve
Resolves the audit source from the options. Any of `--path`, `--audit-postgres-url` or `--audit-instance-id` disables the environment fallback; otherw
crate/clients/clap/src/actions/audit.rs:112
↓ 1 callersFunctionresolveGenericStrategy
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionresolveServerUrl
()
ui/src/App.tsx:108
↓ 1 callersFunctionresolveSize
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionresolve_assertion_value
Resolve `{{$ENV_VAR}}` and `{{captured}}` placeholders in an assertion value. Returns an error if a referenced environment variable is not set or a c
crate/test_kms_server/src/vector_runner.rs:554
↓ 1 callersMethodresolve_base_key_id
Resolve the base key identifier: either use the provided `key_id` directly, or import a password as a temporary `SecretData` object and return its ID.
crate/clients/clap/src/actions/derive_key/mod.rs:225
↓ 1 callersMethodresolve_certificate
( &self, kms_rest_client: &KmsClient, email: &str, public_key_id: &str, )
crate/clients/clap/src/actions/google/key_pairs/create.rs:285
↓ 1 callersMethodresolve_enumeration_values
Recursively resolve enumeration variant names to their numeric codes. When a TTLV tree is deserialized from JSON, enumeration values like `"Create"`
crate/kmip/src/ttlv/ttlv_struct.rs:112
↓ 1 callersFunctionresolve_id_placeholder_for_operation
( op: &mut Operation, id_placeholder: &Option<v21types::UniqueIdentifier>, )
crate/server/src/core/operations/message.rs:624
↓ 1 callersMethodresolve_kek_wrapping_params
Resolve the KEK wrapping parameters by reading the KEK's tags from the KMS. Returns the cryptographic parameters for wrapping and the optional AWS key
crate/clients/clap/src/actions/aws/byok/export_key_material.rs:109
↓ 1 callersMethodresolve_key_pair
( &self, kms_rest_client: &KmsClient, email: &str, )
crate/clients/clap/src/actions/google/key_pairs/create.rs:210
↓ 1 callersFunctionresolve_path
If the option contains a relative path, make it absolute relative to `root`.
crate/clients/ckms/src/tests/utils/config.rs:119
↓ 1 callersFunctionresolve_secret_uris
Replace every TOML string starting with `secret://` using the active backend.
crate/server/src/config/command_line/secret_backends/mod.rs:111
↓ 1 callersFunctionresolves_to_server_kek
Does unwrapping with `uid` decrypt with the server KEK `kek`: `uid` is the KEK, its `_pk` public key, or a public key / certificate whose `PrivateKeyL
crate/server/src/core/wrapping/wrap.rs:289
↓ 1 callersFunctionrestart_workloads
Trigger a rolling restart for declared Deployments and `StatefulSets` by patching `spec.template.metadata.annotations` with the current timestamp.
crate/clients/k8s/operator/src/controller.rs:179
↓ 1 callersMethodresumingScanAtSamePosition
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionretain_kmip1_response_attributes
Apply `keep` to every attribute carried by a KMIP 1.x `Get` (inside `KeyValue`) or `GetAttributes` response, dropping those for which it returns `fals
crate/server/src/routes/kmip/handlers.rs:758
↓ 1 callersFunctionretained_certificate_attributes
The subset of a certificate's attributes kept after Destroy: the issuer link and the revocation details used by CRL generation and the OCSP responder.
crate/server/src/core/operations/destroy.rs:491
↓ 1 callersFunctionretire_old_key
(owm: &ObjectWithMetadata, new_uid: &str)
crate/server/src/core/operations/rekey/common.rs:605
↓ 1 callersMethodretrieve
Retrieve objects from the database. The `uid` parameter can be either a `uid` or a comma-separated list of tags in a JSON array.
crate/server_database/src/stores/redis/redis_with_findex.rs:933
↓ 1 callersMethodretrievePassingOptions
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersMethodretrievePassingOptions
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersMethodretrieveVisitor
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersMethodretrieveVisitor
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersMethodretrieveVisitorInstance
(s,o={})
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersMethodretrieveVisitorInstance
(s,o={})
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionretrieve_
(uid: &str, pool: &Pool)
crate/server_database/src/stores/sql/mysql.rs:1248
↓ 1 callersFunctionretrieve_issuer_certificate
Retrieve the issuer certificate: ACL-checked for a user, read directly (but not destroyed) for the server, since a certificate is public information.
crate/server/src/core/operations/generate_crl.rs:162
↓ 1 callersMethodretrieve_linked_public_key
Retrieve the linked public key from the database.
crate/server/src/core/operations/rekey/keypair/mod.rs:97
↓ 1 callersFunctionretrieve_signer_cert_and_key
Retrieve the OCSP signing certificate and private key. When `ocsp_responder_cert_uid` is set, the delegated responder cert+key are used (RFC 6960 §4.
crate/server/src/routes/ocsp/handler.rs:518
↓ 1 callersMethodretrieve_state
Retrieve state and attributes of an object for cache validation.
crate/server_database/src/core/database_objects.rs:267
↓ 1 callersMethodretrieve_tags
(&self, uid: &str)
crate/interfaces/src/hsm/hsm_store.rs:284
↓ 1 callersFunctionretrieve_tags_
(uid: &str, pool: &Pool)
crate/server_database/src/stores/sql/mysql.rs:1257
↓ 1 callersFunctionretrieve_token
( service_account: &GmailApiConf, user_email: &str, )
crate/clients/clap/src/actions/google/gmail_client/token.rs:66
↓ 1 callersFunctionreturnSelfOrNewMap
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionreverseFactory
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersFunctionrevert_activation_to_preactive
Revert an Activate operation by setting the object's state back to `PreActive` and clearing the `activation_date`. This is a best-effort revert used w
crate/server/src/core/operations/message.rs:308
↓ 1 callersMethodrevoke_access
This operation requests the server to revoke an access on an object to a user The user could be unknown from the database. The object uid must be know
crate/clients/client/src/kms_rest_client.rs:756
↓ 1 callersFunctionrevoke_and_destroy
Revoke then destroy `uid` alone (no cascade along the key links)
crate/server/src/tests/hsm/hybrid_kem_dek.rs:335
↓ 1 callersFunctionrevoke_auth_verifier_session
`DELETE {auth_verifier_url}/sessions`, authenticated by the session cookie itself. The Auth Verifier identifies a session by the SHA-256 of its cookie
crate/server/src/routes/ui_auth.rs:770
↓ 1 callersFunctionrevoke_key
Revoke the key
crate/server/src/tests/ttlv_tests/normative_tests/aklc_m_3_14.rs:491
↓ 1 callersFunctionrevoke_key_core
Revoke a key, knowing the object and state
crate/server/src/core/operations/revoke.rs:326
↓ 1 callersMethodrevoke_object
(&self, _remote_id: &str)
crate/clients/pkcs11/module/src/tests.rs:212
↓ 1 callersFunctionrevoke_user_decryption_keys
Revoke all the user decryption keys associated with the master secret key
crate/server/src/core/cover_crypt/revoke_user_decryption_keys.rs:17
↓ 1 callersMethodrewrap_new_objects
Step 5: Re-wrap new objects if originals were wrapped. The default implementation handles both: 1. Server-wide KEK wrapping (via `wrap_and_cache` — n
crate/server/src/core/operations/rekey/common.rs:467
↓ 1 callersMethodrewrap_single_dependant
Unwrap and re-wrap a single dependant object with the new wrapping key.
crate/server/src/core/operations/rekey/common.rs:270
↓ 1 callersMethodrewrap_spec
(&self)
crate/kmip/src/kmip_2_1/kmip_objects.rs:467
↓ 1 callersFunctionrewrite_image_path
Rewrite an image src so it resolves from the documentation/ root.
documentation/pandoc/combine.py:66
↓ 1 callersFunctionrl
(s,o,i,u,_)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 1 callersMethodrng_retrieve
This operation requests the server to return cryptographically secure random data.
crate/server/src/core/kms/kmip.rs:380
↓ 1 callersFunctionrng_seed
`RNGSeed` operation implementation Accepts seed material to influence the RNG state. For compliance with the XML vectors, we acknowledge the data and
crate/server/src/core/operations/rng_seed.rs:14
↓ 1 callersMethodrng_seed
This operation requests the server to seed an RNG instance with provided data.
crate/server/src/core/kms/kmip.rs:393
↓ 1 callersMethodrng_seed
Seed the server's RNG with provided data.
crate/clients/client/src/kms_rest_client.rs:707
↓ 1 callersMethodrole_for
(&self, user: &str)
crate/access/src/access.rs:281
↓ 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:90
↓ 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 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:536
↓ 1 callersFunctionrsa_decrypt
( client: &KmsClient, sk_id: &str, ciphertext: &[u8], )
crate/test_kms_server/benches/http_throughput.rs:129
↓ 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:159
↓ 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_pk_modulus
The modulus of the stored `google_cse_rsa_pk` public key.
crate/server/src/tests/google_cse/server_setup.rs:239
↓ 1 callersFunctionrsa_public_blob_from_spki_der
Parse a SubjectPublicKeyInfo (SPKI) DER and return a `BCRYPT_RSAKEY_BLOB`. SPKI wraps a PKCS#1 RSAPublicKey in an AlgorithmIdentifier + BIT STRING.
crate/clients/cng/src/blob.rs:71
↓ 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_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:237
↓ 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 callersFunctionrun
()
crate/server/src/main.rs:106
↓ 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:128
↓ 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:227
↓ 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
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:26
↓ 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/symmetric/decrypt.rs:134
↓ 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:83
↓ 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
← previousnext →5,101–5,200 of 12,829, ranked by callers