MCPcopy Create free account

hub / github.com/Cosmian/kms / functions

Functions16,000 in github.com/Cosmian/kms

↓ 20 callersFunctioncreate_rsa_key_pair
( cli_conf_path: &str, options: &RsaKeyPairOptions, )
crate/clients/ckms/src/tests/rsa/create_key_pair.rs:24
↓ 20 callersFunctiondownloadFile
(data: string | Uint8Array, filename: string, mimeType: string)
ui/src/utils/utils.ts:257
↓ 20 callersMethodencrypt
This operation requests the server to perform an encryption operation on the provided data using a Managed Cryptographic Object as the key for the enc
crate/server/src/core/kms/kmip.rs:288
↓ 20 callersFunctionf
(o,i,u)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 20 callersMethodformat
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 20 callersFunctionis_fips_build
()
crate/crypto/src/crypto/mod.rs:16
↓ 20 callersMethodmerge
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 20 callersMethodmessage
( &self, request: cosmian_kms_server_database::reexport::cosmian_kmip::kmip_0::kmip_messages::
crate/server/src/core/kms/kmip.rs:603
↓ 20 callersMethodpost_no_ttlv
POST `data` as JSON. Request and response bodies may carry secrets (e.g. KV values), so they are never logged.
crate/clients/client/src/kms_rest_client.rs:977
↓ 20 callersMethodresolve
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 20 callersFunctionrun_auto_rotation
Rotate all keys that are past their scheduled rotation time. Queries the database for Active keys whose `rotate_interval` has elapsed since their las
crate/server/src/core/operations/auto_rotate.rs:53
↓ 20 callersMethodsend_raw_request
Send a KMIP request to the server and return the response
crate/server/src/tests/ttlv_tests/socket_client.rs:166
↓ 20 callersMethodsign
Sign data using the specified key and algorithm
crate/hsm/base_hsm/src/session/session_impl.rs:1853
↓ 20 callersMethodslug
Filename-safe slug for output files (e.g. `"benchmarks_kmip-json.json"`).
crate/clients/clap/src/actions/bench/types.rs:141
↓ 20 callersMethodstore
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 20 callersFunctionuid
(id: &str)
crate/server/src/tests/hsm/fake_hsm_rotation.rs:521
↓ 20 callersMethodverify
Verify `signature` over the provided data (or accumulated `C_VerifyUpdate` payload if data is not provided). A cryptographically invalid signature sur
crate/clients/pkcs11/module/src/sessions.rs:887
↓ 19 callersFunctionapp
()
crate/server/src/tests/google_cse/crypto_paths.rs:38
↓ 19 callersMethodas_str
(&self)
crate/interfaces/src/user_id.rs:44
↓ 19 callersMethodcleanup
(&self, client: &KmsClient)
crate/test_kms_server/src/crl_tests.rs:106
↓ 19 callersFunctiondelete_key
(key_uid: &str, owner: &str, kms: &Arc<KMS>)
crate/server/src/tests/hsm/mod.rs:424
↓ 19 callersFunctionenforce_kmip_algorithm_policy_for_request
Request-time algorithm policy for an already-deserialized request (batched `RequestMessage` items and the TTLV path after deserialization).
crate/server/src/core/operations/algorithm_policy.rs:105
↓ 19 callersMethodenqueue
Enqueues one or more draft events for writing. Non-blocking: if the channel is full an event is dropped and the `dropped_count` counter is incremente
crate/server/src/core/audit/store.rs:266
↓ 19 callersMethodevents_page
Fetches up to one page of events for `(instance_id, generation)` with `id > after_id`, in ascending order. Returns an empty `Vec` once the generation
crate/server_database/src/stores/audit/pgsql.rs:952
↓ 19 callersMethodfetch_element
Fetch the element that will be deserialized next Updates the `at_root` status if the deserializer is at the root
crate/kmip/src/ttlv/kmip_ttlv_deserializer/deserializer.rs:110
↓ 19 callersMethodkeys
(&self)
crate/server/src/tests/hsm/fake_hsm_rotation.rs:81
↓ 19 callersFunctionnone_if_empty
Converts an `Option<String>` containing an empty or whitespace-only value to `None`. This guards against UI form fields that produce `""` when cleare
crate/clients/wasm/src/wasm.rs:111
↓ 19 callersFunctionparams_with
( digital_signature_algorithm: Option<DigitalSignatureAlgorithm>, cryptographic_algorithm: Opt
crate/interfaces/src/crypto_oracle.rs:883
↓ 19 callersMethodprivate_key
(&self)
crate/crypto/src/crypto/mod.rs:83
↓ 19 callersFunctionrandom_nonce
Generate a random nonce for the given symmetric cipher.
crate/crypto/src/crypto/symmetric/symmetric_ciphers.rs:576
↓ 19 callersFunctionreason
(code: RevocationReasonCode, message: Option<&str>)
crate/server/src/core/lint_cleanup_characterization_tests.rs:44
↓ 19 callersMethodrsa
( key_size: i32, modulus_base64url: String, exponent_base64url: String, )
crate/server/src/routes/azure_ekm/models.rs:53
↓ 19 callersFunctionsubmitAndWaitForDownload
( page: Page, timeoutMs: number = UI_RESPONSE_TIMEOUT, )
ui/tests/e2e/helpers.ts:92
↓ 19 callersFunctiontemp_path
(label: &str)
crate/clients/clap/src/actions/audit.rs:1172
↓ 19 callersFunctionverify_action
(path: PathBuf)
crate/clients/clap/src/actions/audit.rs:1210
↓ 18 callersMethodatomic
Perform an atomic set of operations on the database. This function executes a series of operations (typically in a transaction) atomically. It assume
crate/server_database/src/core/database_objects.rs:941
↓ 18 callersFunctionaudit_now
()
crate/access/src/audit/event.rs:184
↓ 18 callersFunctionauth_verifier_token
An Auth Verifier-shaped JWT; signatures are not checked in test builds.
crate/server/src/middlewares/auth_verifier/token.rs:359
↓ 18 callersMethodbootstrap
Validate the recorded version before DDL, then keep the lock through the final ready stamp.
crate/server_database/src/stores/migrate.rs:377
↓ 18 callersFunctionbuild_certify_request
Build a KMIP `Certify` request. # Errors Returns an error if the number of days is out of range, if a subject name cannot be parsed, or if the tags o
crate/clients/client_utils/src/certificate_utils.rs:178
↓ 18 callersFunctioncreate_ca
Create a self-signed CA keypair + certificate using `build_certify_request` with `generate_key_pair = true` and no issuer.
crate/test_kms_server/src/certify_tests.rs:68
↓ 18 callersFunctioncreate_gpg_home
()
crate/test_kms_server/src/pgp_gnupg_tests.rs:82
↓ 18 callersMethodencrypt
Encrypt data using the specified key and algorithm
crate/hsm/base_hsm/src/session/session_impl.rs:1233
↓ 18 callersFunctionencrypt_request
( key_id: UniqueIdentifier, block_cipher_mode: BlockCipherMode, data: Vec<u8>, )
crate/server/src/tests/bulk_encrypt_decrypt_tests.rs:167
↓ 18 callersFunctionest_enroll
( app: &S, csr: &X509Req, auth: Option<(&str, String)>, )
crate/server/src/tests/enrollment_tests.rs:403
↓ 18 callersFunctionexport_object
Export an Object from the KMS # Arguments `kms_rest_client` - The KMS client connector `object_id_or_tags` - The KMS object id or tags `params` - Exp
crate/clients/client/src/export_utils.rs:64
↓ 18 callersMethodfind
( &self, _: Option<&Attributes>, _: Option<State>, _: &UserId,
crate/server/src/core/operations/locate.rs:340
↓ 18 callersFunctiongenerate_crl_der
Call `generate_crl` and return the DER bytes.
crate/server/src/tests/crl_tests.rs:213
↓ 18 callersMethodget_object_handle
Retrieve the object handle for a given object ID from the HSM. This function attempts to locate the handle of an object (such as a key) in the HSM by
crate/hsm/base_hsm/src/session/session_impl.rs:592
↓ 18 callersFunctiongpg_bin
()
crate/test_kms_server/src/pgp_gnupg_tests.rs:33
↓ 18 callersFunctionj
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 18 callersFunctionmake_event
(id: i64, prev_hash: [u8; 32])
crate/server_database/src/stores/audit/pgsql.rs:1005
↓ 18 callersFunctionparse_uid_with_prefix
Parse the `uid` into a `(slot_id, key_id)` pair, stripping the given prefix.
crate/interfaces/src/hsm/hsm_store.rs:1863
↓ 18 callersFunctionperform_crypto_officer_ceremony_activation
Activate the Crypto Officer role via a split-key ceremony. Validates and processes the ceremony activation: - Retrieves and validates all shares. - V
crate/server/src/core/operations/join_split_key.rs:522
↓ 18 callersMethodprompt_err
(self)
crate/server/src/config/wizard/mod.rs:68
↓ 18 callersFunctionresolve
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 18 callersMethodretrieve
(&self, uid: &str)
crate/server_database/src/stores/sql/mysql.rs:742
↓ 18 callersFunctionrevoke
( kms: &KMS, user: &UserId, uid: &str, reason: RevocationReason, compromise_occurrence_dat
crate/server/src/core/lint_cleanup_characterization_tests.rs:92
↓ 18 callersFunctionrun_gpg
Runs gpg inside an isolated, 0700 temp GNUPGHOME with `--batch --yes --no-tty --pinentry-mode loopback --passphrase ""`.
crate/test_kms_server/src/pgp_gnupg_tests.rs:47
↓ 18 callersMethodset_cookie
`Set-Cookie` value carrying `session` in a new session, valid for 24 hours.
crate/server/src/middlewares/ui_session.rs:148
↓ 18 callersMethodsignature_verify
This operation requests the server to perform a signature verify operation on the provided data using a Managed Cryptographic Object as the key for th
crate/server/src/core/kms/kmip.rs:750
↓ 18 callersFunctionstart_test_server_with_patch
Start a test server from a TOML config file, applying a runtime patch to the config. Use this when you need to inject runtime-determined values (e.g.
crate/test_kms_server/src/test_server.rs:1603
↓ 18 callersFunctiontest_app_with_clap_config
( clap_config: ClapConfig, )
crate/server/src/tests/test_utils.rs:430
↓ 18 callersMethodwith_session
Run `f` on a pooled session of `slot_id` inside `spawn_blocking`. The session is checked back in only when `f` succeeds; on error the guard is droppe
crate/hsm/base_hsm/src/kms_hsm.rs:160
↓ 17 callersFunctiondecrypt_request
( algorithm: &str, encrypted_data_encryption_key: String, wrapped_private_key: String, )
crate/server/src/tests/google_cse/crypto_paths.rs:368
↓ 17 callersMethodeffective_state
(&self)
crate/interfaces/src/stores/object_with_metadata.rs:151
↓ 17 callersMethodencrypt
( &'a self, _slot_id: usize, key_id: &'a [u8], _algorithm: CryptoAlgorithm,
crate/server/src/tests/hsm/fake_hsm_authz.rs:209
↓ 17 callersFunctionexport_object
(kms: &Arc<KMS>, owner: &str, object_id: &str)
crate/server/src/tests/hsm/mod.rs:411
↓ 17 callersMethodfind
( &self, _slot_id: usize, _object_filter: HsmObjectFilter, )
crate/server/src/tests/hsm/fake_hsm_authz.rs:201
↓ 17 callersFunctionget_json_with_uri
(app: &S, uri: &str)
crate/server/src/tests/test_utils.rs:822
↓ 17 callersFunctionget_vendor_id
Returns the currently configured vendor identification string.
crate/clients/wasm/src/wasm.rs:103
↓ 17 callersMethodgrant_access
Grant access to a user (identified by `access.userid`) to an object (identified by `access.unique_identifier`) which is owned by `owner` (identified b
crate/server/src/core/kms/permissions.rs:59
↓ 17 callersFunctiongrant_ops
Helper: grant operations on an HSM key
crate/server/src/tests/hsm/permissions.rs:62
↓ 17 callersMethodhsm_capabilities
Get the HSM vendor capability flags (e.g. attribute quirks, size limits).
crate/hsm/base_hsm/src/session/session_impl.rs:353
↓ 17 callersFunctioninit_openssl_providers_for_tests
()
crate/server/src/openssl_providers.rs:322
↓ 17 callersFunctioninitialize_backend
()
crate/clients/pkcs11/provider/src/tests.rs:98
↓ 17 callersFunctioninvalid
(msg: impl Into<String>)
crate/server/src/core/operations/certify/template.rs:113
↓ 17 callersMethodparse
(additional_data: Option<&[u8]>)
crate/crypto/src/crypto/fpe/kmip_fpe.rs:45
↓ 17 callersMethodposition
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 17 callersFunctionread_events
(path: &Path)
crate/server/src/core/audit/store.rs:443
↓ 17 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/server/src/core/kms/kmip.rs:655
↓ 17 callersMethodretrieve_tags
(&self, _: &str)
crate/server/src/core/operations/locate.rs:303
↓ 17 callersFunctionstub
()
crate/server/src/core/lint_cleanup_characterization_tests.rs:508
↓ 17 callersFunctionto_wide
(s: &str)
crate/clients/clap/src/actions/cng_verify.rs:63
↓ 17 callersFunctionvalidating_app
( rsa: &Rsa<Private>, )
crate/server/src/tests/google_cse/token_validation.rs:124
↓ 16 callersFunctionDb
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 16 callersFunctionassert_failed
Assert a failed reply (any non-200 status) whose `details` contain `details_contain`.
crate/server/src/tests/google_cse/crypto_paths.rs:63
↓ 16 callersFunctionbuild
(password: Option<&str>)
crate/crypto/src/openssl/csr_attrs.rs:94
↓ 16 callersFunctionbulk
(chunks: &[&[u8]])
crate/clients/client/src/file_utils.rs:369
↓ 16 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:497
↓ 16 callersFunctioncreate_user_decryption_key
( cli_conf_path: &str, master_secret_key_id: &str, access_policy: &str, tags: &[&str], sen
crate/clients/ckms/src/tests/cover_crypt/user_decryption_keys.rs:13
↓ 16 callersFunctioncriterion_home
()
crate/clients/clap/src/actions/bench/output.rs:86
↓ 16 callersFunctionfetch_pqc_certificate
Export a PQC certificate and parse it with `x509_parser`. Returns (Object, Attributes, DER bytes).
crate/clients/ckms/src/tests/certificates/certify_pqc.rs:36
↓ 16 callersMethodgenerate_rsa_key_pair
Generate RSA key pair and return the private and public key handles in this order If exportable is set to `false`, the `sensitive` flag is set to tru
crate/hsm/base_hsm/src/session/rsa.rs:42
↓ 16 callersMethodhasKey
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 16 callersMethodmethod
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 16 callersMethodobject_mut
Return a mutable borrow to the Object Do not use this to set a new object or make sure you clear the cached unwrapped object
crate/interfaces/src/stores/object_with_metadata.rs:81
↓ 16 callersFunctionrequest
(function: QueryFunction)
crate/server/src/core/operations/query.rs:210
↓ 16 callersFunctionsanitizeUrl
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 16 callersFunctionselectOption
(page: Page, selectTestId: string, optionText: string)
ui/tests/e2e/helpers.ts:110
← previousnext →301–400 of 16,000, ranked by callers