MCPcopy Create free account

hub / github.com/Cosmian/kms / functions

Functions12,829 in github.com/Cosmian/kms

↓ 11 callersFunctionthrowError
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 11 callersMethodupdate_state
Update the state of an object in the database.
crate/server_database/src/core/database_objects.rs:401
↓ 11 callersMethodurl
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 11 callersFunctionvalidate_certificate
( cli_conf_path: &str, sub_command: &str, uids: Vec<String>, date: Option<String>, )
crate/clients/ckms/src/tests/certificates/validate.rs:86
↓ 11 callersFunctionvalidate_cse_authentication_token
Validate the authentication token and return the calling user See [doc](https://developers.google.com/workspace/cse/guides/encrypt-and-decrypt-data?hl
crate/server/src/routes/google_cse/jwt.rs:231
↓ 11 callersFunctionwrap_object_with_key
Wrap an object (a key) with a wrapping key The wrapping key is fetched from the database The key is wrapped using the wrapping key # Arguments `objec
crate/crypto/src/crypto/wrap/wrap_key.rs:99
↓ 11 callersMethodwrite
(&mut self, buf: &[u8])
crate/server/src/socket_server.rs:401
↓ 11 callersFunctionwrite_bytes_to_file
Write all bytes to a file # Errors If the file cannot be opened or written, an error is returned.
crate/clients/client/src/file_utils.rs:67
↓ 10 callersFunctionDk
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 10 callersFunctionU
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 10 callersFunctionW
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 10 callersMethodadd
Add a permission to the user on an object
crate/server_database/src/stores/redis/permissions.rs:239
↓ 10 callersFunctionallow
(wl: Option<&HashSet<T>>, token: &T)
crate/server/src/core/operations/algorithm_policy.rs:567
↓ 10 callersFunctionauthz
An authorization token for the Drive test resource and an empty perimeter.
crate/server/src/tests/google_cse/token_validation.rs:118
↓ 10 callersFunctionbench_op_id
Benchmark a single KMIP operation under a parameterized [`BenchmarkId`].
crate/clients/clap/src/actions/bench/transport.rs:253
↓ 10 callersFunctioncheck
Run a successful command and check the token exchange followed by the single Gmail call.
crate/clients/clap/src/tests/google_cmd/gmail_api.rs:35
↓ 10 callersFunctionconfig
(accept_spiffe_subject: bool)
crate/server/src/middlewares/jwt/jwt_token_auth.rs:381
↓ 10 callersMethodcopy_wrapping_key_link_to
Copy the wrapping key link from this object to `new_attrs`. If this object was wrapped, its wrapping key UID is preserved as a `LinkType::WrappingKey
crate/kmip/src/kmip_2_1/kmip_objects.rs:483
↓ 10 callersMethodcreate
Insert the given Object in the database. A new UUID will be created if none is supplier. This method will fail if a `uid` is supplied and an object w
crate/server_database/src/stores/redis/redis_with_findex.rs:909
↓ 10 callersFunctioncreate_named_ca
Create a self-signed CA with a custom common name. This is the multi-CA variant of [`create_ca`]; the plain helper always uses the same CN which caus
crate/test_kms_server/src/crl_tests.rs:64
↓ 10 callersFunctioncreate_test_key
Create a fresh AES-256 symmetric key; return its KID.
crate/server/src/tests/jose/tags.rs:21
↓ 10 callersFunctiondestroy
( cli_conf_path: &str, sub_command: &str, key_id: &str, remove: bool, )
crate/clients/ckms/src/tests/shared/destroy.rs:27
↓ 10 callersFunctionemitTagAndPreviousTextNode
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 10 callersFunctionencrypt
Encrypts a file using the given symmetric key and access policy.
crate/clients/ckms/src/tests/symmetric/encrypt_decrypt.rs:26
↓ 10 callersMethodequals
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 10 callersFunctionexport_certificate
( cli_conf_path: &str, certificate_id: &str, certificate_file: &str, certificate_format: Optio
crate/clients/ckms/src/tests/certificates/export.rs:383
↓ 10 callersFunctionextract_client_ip
Extracts the client IP address. The `X-Forwarded-For` header is only trusted when the direct TCP peer address falls within one of the `trusted_proxie
crate/server/src/middlewares/audit/client_ip.rs:31
↓ 10 callersFunctionextract_query_params
Extract query parameters from a `PostgreSQL` connection URL by splitting on `?`/`&`. This avoids `Url::parse()` which cannot handle multi-host connect
crate/server_database/src/stores/sql/pgsql.rs:1640
↓ 10 callersMethodfind
( &self, _slot_id: usize, _object_filter: HsmObjectFilter, )
crate/server/src/tests/hsm/fake_hsm_authz.rs:163
↓ 10 callersFunctionfind_by_class_and_id
Run a `C_FindObjectsInit`/`C_FindObjects`/`C_FindObjectsFinal` sequence for the given class and `CKA_ID`, returning the matched object handles.
crate/clients/pkcs11/module/src/tests.rs:1335
↓ 10 callersMethodformat
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 10 callersFunctiongen_key
Generates a symmetric key
crate/clients/ckms/src/tests/access.rs:43
↓ 10 callersFunctiongenerate_key
()
crate/server/src/middlewares/jwt/jwt_token_auth.rs:484
↓ 10 callersMethodget
(&self, label: &str)
crate/clients/clap/src/actions/pkcs11/capabilities.rs:1143
↓ 10 callersMethodget_algorithms
Retrieve the list of supported cryptographic algorithms for a given HSM slot. This function queries the specified slot to determine which algorithms
crate/hsm/base_hsm/src/base_hsm.rs:274
↓ 10 callersMethodget_attributes
This operation requests one or more attributes associated with a Managed Object. The object is specified by its Unique Identifier, and the attributes
crate/clients/client/src/kms_rest_client.rs:350
↓ 10 callersFunctionget_jwks_response
Helper function: call `GET /.well-known/jwks.json` and return the raw `ServiceResponse`.
crate/server/src/tests/jwks_endpoint.rs:23
↓ 10 callersFunctiongpg_create_key
Create an **unprotected** key inside gpg. `algo` is a `--quick-generate-key` algorithm string: "ed25519", "rsa2048", "rsa3072", "rsa4096". Returns (fi
crate/test_kms_server/src/pgp_gnupg_tests.rs:106
↓ 10 callersMethodhsm
Get the HSM library interface
crate/hsm/base_hsm/src/session/session_impl.rs:288
↓ 10 callersFunctionhttp_req
()
crate/server/src/routes/aws_xks/tests.rs:55
↓ 10 callersMethodid
(&self)
crate/interfaces/src/hsm/interface.rs:257
↓ 10 callersMethodinit
Initialize the DB parameters based on the command-line parameters # Parameters - `workspace`: The workspace configuration used to determine the publi
crate/server/src/config/command_line/db.rs:282
↓ 10 callersMethodinto_parts
(self)
crate/interfaces/src/stores/object_with_metadata.rs:99
↓ 10 callersMethodinvalidate
Invalidate a single entry (called on mutations).
crate/server_database/src/core/object_cache.rs:171
↓ 10 callersFunctionlib_path
(env_var: &str, default_path: &str)
crate/hsm/base_hsm/src/tests_shared.rs:57
↓ 10 callersFunctionmakeSequence
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 10 callersFunctionml_kem_decapsulate
( private_key_der: &[u8], ciphertext: &[u8], )
crate/crypto/src/crypto/pqc/ml_kem.rs:129
↓ 10 callersFunctionopen_test_session
Open a serial session on the test slot.
crate/clients/pkcs11/module/src/tests.rs:1316
↓ 10 callersFunctionopenssl_public_key_to_kmip
Convert an openssl public key to a KMIP public Key (`Object::PublicKey`) of the given `KeyFormatType`
crate/crypto/src/openssl/public_key.rs:223
↓ 10 callersFunctionparse_signed_pkimessage
SAFETY: OpenSSL FFI; justified at each unsafe block
crate/crypto/src/openssl/scep_cms.rs:562
↓ 10 callersFunctionphase
Starts one nested phase timer when Sign profiling is active.
crate/clients/pkcs11/module/src/profiling.rs:216
↓ 10 callersFunctionraw_binary_post
--------------------------------------------------------------------------- Helper: POST raw bytes to the binary KMIP endpoint. Returns the HTTP stat
crate/clients/clap/src/tests/serialization/wire_payloads.rs:22
↓ 10 callersMethodread
(de: &mut Deserializer)
crate/server_database/src/stores/redis/permissions.rs:118
↓ 10 callersFunctionrekey_symmetric_key
Create a symmetric key via the CLI
crate/clients/ckms/src/tests/symmetric/rekey.rs:17
↓ 10 callersFunctionresetToDataState
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 10 callersMethodretrieve
(&self, uid: &str)
crate/server_database/src/stores/sql/mysql.rs:551
↓ 10 callersFunctionrevoked_serials
Parse DER CRL with `x509_parser` and return the serial numbers of revoked entries.
crate/server/src/tests/crl_tests.rs:238
↓ 10 callersFunctionrun_ckms
Helper to run a ckms command and return success/failure
crate/clients/ckms/src/tests/rbac_tests.rs:25
↓ 10 callersFunctionrun_tokenize
( cli_conf_path: &str, subcommand: &str, extra_args: &[&str], )
crate/clients/ckms/src/tests/fpe/tokenize.rs:11
↓ 10 callersMethodset_object
Set a new object, clearing the cached unwrapped version if any
crate/interfaces/src/stores/object_with_metadata.rs:60
↓ 10 callersFunctionstartNewTag
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 10 callersFunctionstart_singleton_from_toml
Start (once per `cell`) a test server from a TOML fixture after applying `patch`.
crate/test_kms_server/src/test_server.rs:1404
↓ 10 callersFunctionstructure
(tag: &str, children: Vec<TTLV>)
crate/server/src/routes/kmip/audit.rs:387
↓ 10 callersFunctiontamper_row
Disables the append-only triggers, runs one parameterised `UPDATE`, then re-enables them — the bypass every tamper test below needs, since the trigger
crate/server_database/src/stores/audit/pgsql.rs:1040
↓ 10 callersFunctiontemp_path
(label: &str)
crate/clients/clap/src/actions/audit.rs:886
↓ 10 callersFunctiontest_init
()
crate/clients/pkcs11/provider/src/tests.rs:298
↓ 10 callersFunctiontest_private_key_conversion_transparent_ec
( private_key: &PKey<Private>, ec_public_key: Option<&EcPoint>, ec_group: Option<&EcGr
crate/crypto/src/openssl/private_key.rs:735
↓ 10 callersFunctiontest_public_key_conversion_transparent_ec
( public_key: &PKey<Public>, ec_group: Option<&EcGroup>, curve: RecommendedCurve,
crate/crypto/src/openssl/public_key.rs:666
↓ 10 callersFunctionunauthorized
()
crate/server/src/tests/google_cse/token_validation.rs:59
↓ 10 callersFunctionvalid_claims
()
crate/server/src/middlewares/jwt/jwt_token_auth.rs:531
↓ 10 callersFunctionverify_action
(path: PathBuf)
crate/clients/clap/src/actions/audit.rs:924
↓ 9 callersFunctionBg
(s,o,i,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 9 callersFunctionUh
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 9 callersFunctionactivate_key
Activate `key_id` via KMIP 1.4.
crate/server/src/tests/ttlv_tests/integrations/vast.rs:133
↓ 9 callersMethodapply_on_float
Adds noise generated from a chosen distribution to the input data. # Arguments `data` - A single float value to which noise will be added. # Return
crate/crypto/src/crypto/anonymization/noise.rs:227
↓ 9 callersMethodapply_on_int
Adds noise generated from a chosen distribution to the input data. # Arguments `data` - A single int value to which noise will be added. # Returns
crate/crypto/src/crypto/anonymization/noise.rs:244
↓ 9 callersMethodas_secs
(self)
crate/kmip/src/ttlv/interval.rs:41
↓ 9 callersMethodas_str
(&self)
crate/kmip/src/kmip_2_1/kmip_types.rs:1773
↓ 9 callersFunctionaudit_pg_url
()
crate/clients/clap/src/actions/audit.rs:1364
↓ 9 callersFunctionbench_filter_matches
Check whether an algorithm and key size matches the active benchmark filter.
crate/clients/clap/src/actions/bench/transport.rs:56
↓ 9 callersFunctionbuild_create_configurable_kem_keypair_request
Build a configurable KEM `CreateKeyPair`.
crate/clients/client_utils/src/configurable_kem_utils.rs:68
↓ 9 callersFunctionbuild_create_covercrypt_usk_request
Build a `Create` request for a `CoverCrypt` USK
crate/clients/client_utils/src/cover_crypt_utils.rs:61
↓ 9 callersFunctionbuild_google_cse_url
Builds the full Google CSE KACLS URL using the base KMS public URL. This function constructs a URL like `https://<kms_public_url>/google_cse` by retr
crate/server/src/routes/google_cse/mod.rs:77
↓ 9 callersFunctionbuild_patches
( pod: &Value, state: &WebhookState, secret_uids_raw: &str, secrets_dir: &str, )
crate/clients/k8s/operator/src/webhook.rs:177
↓ 9 callersFunctioncompile_fixture
Compiles `tests/fixtures/<source_file>` into a uniquely named shared library. `extra_args` are passed to the compiler verbatim (e.g. `-DWITH_MESSAGE_S
crate/hsm/base_hsm/src/test_fixtures.rs:67
↓ 9 callersMethodcontext
(self, context: &str)
crate/kmip/src/error/result.rs:24
↓ 9 callersFunctioncreate_rsa_key_pair
Create an RSA key pair in the KMS with the given bit length and name tag, and return `(private_uuid, public_uuid)`. The private key is created with `
crate/clients/cng/src/backend.rs:560
↓ 9 callersMethodcryptographic_algorithm
(&self)
crate/kmip/src/kmip_2_1/kmip_data_structures.rs:613
↓ 9 callersFunctioncse_response
Turn a CSE operation result into a JSON 200 response or a structured CSE error reply.
crate/server/src/routes/google_cse/mod.rs:130
↓ 9 callersFunctiondecrypt
Decrypt a file using the given symmetric key
crate/clients/ckms/src/tests/symmetric/encrypt_decrypt.rs:69
↓ 9 callersMethoddecrypt_object
(&self, uid: &str, ciphertext: &[u8])
crate/server_database/src/stores/redis/objects_db.rs:179
↓ 9 callersMethoddelete
Delete an object from the database.
crate/server_database/src/core/database_objects.rs:413
↓ 9 callersFunctiondelete_key
Delete a key via `DELETE /v1/crypto/keys/{kid}`.
crate/server/src/tests/jose/jose_vectors.rs:129
↓ 9 callersMethoddestroy
This operation is used to indicate to the server that the key material for the specified Managed Object SHALL be destroyed or rendered inaccessible. T
crate/clients/client/src/kms_rest_client.rs:271
↓ 9 callersFunctiondestroy_key
Destroy `key_id` for cleanup (key must already be `Deactivated` or `PreActive`).
crate/server/src/tests/ttlv_tests/integrations/vast.rs:282
↓ 9 callersMethodencrypt
Encrypt data using the specified key and algorithm
crate/hsm/base_hsm/src/session/session_impl.rs:951
↓ 9 callersMethodfind
( &self, researched_attributes: Option<&Attributes>, state: Option<State>, use
crate/interfaces/src/hsm/hsm_store.rs:453
↓ 9 callersMethodget_bytes
Perform a GET request and return the raw response bytes. Useful for endpoints that return non-JSON content (e.g. DER/PEM encoded data).
crate/clients/client/src/kms_rest_client.rs:883
↓ 9 callersFunctionget_hsm_password
()
crate/hsm/base_hsm/src/test_helpers.rs:3
↓ 9 callersFunctionget_hsm_slot_id
()
crate/hsm/base_hsm/src/test_helpers.rs:13
← previousnext →501–600 of 12,829, ranked by callers