MCPcopy Create free account

hub / github.com/Cosmian/kms / functions

Functions9,687 in github.com/Cosmian/kms

↓ 5 callersMethodfreeze
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 5 callersFunctionfunc
(items2: LevelKeysProps[], level = 1)
ui/src/components/layout/Sidebar.tsx:91
↓ 5 callersFunctiongenerate_rsa_keypair
Generate RSA keypair using OpenSSL (random size from 2048, 3072, or 4096 bits).
crate/clients/clap/src/tests/shared/openssl_utils.rs:18
↓ 5 callersFunctiongenerate_self_signed_pki
Generate a complete self-signed PKI (CA + server cert + client cert) and write PEM files. Returns [`CertPaths`] with the paths of the generated files
crate/server/src/config/wizard/cert_gen.rs:249
↓ 5 callersFunctionget
(key: &str)
crate/test_kms_server/src/test_env.rs:44
↓ 5 callersFunctiongetLanguage
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 5 callersFunctiongetMimeType
(fileName: string)
ui/src/utils/utils.ts:233
↓ 5 callersMethodgetType
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 5 callersMethodget_available_slot_list
Retrieve the list of slot identifiers for the HSM. This function returns the IDs of all slots that the HSM has been initialized with, typically from
crate/hsm/base_hsm/src/base_hsm.rs:122
↓ 5 callersFunctionget_default_config_path
()
crate/server/src/config/command_line/clap_config.rs:29
↓ 5 callersFunctionget_ec_private_key_request
(uid: &str)
crate/kmip/src/kmip_2_1/requests/get.rs:25
↓ 5 callersFunctionget_hsm_password
()
crate/hsm/base_hsm/src/test_helpers.rs:3
↓ 5 callersFunctionget_hsm_slot_id
()
crate/hsm/base_hsm/src/test_helpers.rs:16
↓ 5 callersMethodget_key_type
Get the key type, sensitivity and label length # Arguments `key_handle` - The key handle # Returns `Result<Option<KeyType>>` - The key type if the key
crate/hsm/base_hsm/src/session/session_impl.rs:2026
↓ 5 callersFunctionget_kms_object
( kms_client: &KmsClient, vendor_id: &str, object_id_or_tags: &str, key_format_type: KeyFormat
crate/clients/pkcs11/provider/src/kms_object.rs:403
↓ 5 callersMethodget_no_ttlv
( &self, endpoint: &str, data: Option<&O>, )
crate/clients/client/src/kms_rest_client.rs:691
↓ 5 callersFunctionget_softhsm2_slot_id
()
crate/test_kms_server/src/test_server.rs:438
↓ 5 callersFunctionhybrid_kem_decapsulate
( algorithm: CryptographicAlgorithm, private_key_raw: &[u8], ciphertext: &[u8], )
crate/crypto/src/crypto/pqc/hybrid_kem.rs:75
↓ 5 callersFunctionimport_google_cse_demo_key_and_grant
(ctx: &TestsContext)
crate/clients/clap/src/tests/google_cmd/using_hsm.rs:107
↓ 5 callersFunctioninsert_test_key_pair
Insert a private key (`<base>`) and its paired public key (`<base>_pk`) directly into the global `OBJECTS_STORE`, returning the two handles.
crate/clients/pkcs11/module/src/tests.rs:867
↓ 5 callersFunctioninvariant
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 5 callersFunctionis
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 5 callersFunctionis_mysql_deadlock
(msg: &str)
crate/server_database/src/stores/sql/mysql.rs:45
↓ 5 callersMethoditems
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 5 callersMethodjose_create_key
Create a cryptographic key via the JOSE REST endpoint. This is a convenience wrapper around `POST /v1/crypto/keys`.
crate/clients/client/src/jose.rs:190
↓ 5 callersFunctionjose_to_kmip_params
Derive KMIP `CryptographicParameters` from JOSE algorithm identifiers. For encrypt/decrypt, pass both `alg` and `enc`. For sign/verify, pass only `al
crate/server/src/routes/jose/algorithm.rs:154
↓ 5 callersMethodkey_bytes_and_attributes
Extract the Key bytes from the given `KeyBlock` and give an optional reference to `Attributes` Returns an error if there is no valid key material
crate/kmip/src/kmip_2_1/kmip_data_structures.rs:472
↓ 5 callersMethodkey_material
(&self)
crate/interfaces/src/hsm/interface.rs:141
↓ 5 callersFunctionlib_path
(env_var: &str, default_path: &str)
crate/hsm/base_hsm/src/tests_shared.rs:37
↓ 5 callersMethodlist_user_permissions
List all the permissions granted to a user per object uid
crate/server_database/src/stores/redis/permissions.rs:184
↓ 5 callersFunctionlookup_enum_code
(name: &str)
crate/kmip/src/ttlv/enum_lookup.rs:23
↓ 5 callersFunctionmakeList
(s,o,i,u,_,w,x)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 5 callersFunctionmake_aes256_key
()
crate/server/src/core/operations/auto_rotate.rs:367
↓ 5 callersFunctionmake_cache_with_user
(entity: &str)
crate/server/src/middlewares/spire_token.rs:442
↓ 5 callersFunctionmask_db_url_password
Mask the password component of a database connection URL before logging. Uses [`url::Url::parse`] for standard single-host URLs; falls back to a simp
crate/server/src/config/command_line/db.rs:26
↓ 5 callersFunctionml_dsa_sign
Sign data using an ML-DSA private key. ML-DSA uses an internal hash, so we use `Signer::new_without_digest` (same pattern as `EdDSA`).
crate/crypto/src/crypto/pqc/ml_dsa.rs:51
↓ 5 callersFunctionml_dsa_verify
Verify a signature using an ML-DSA public key.
crate/crypto/src/crypto/pqc/ml_dsa.rs:58
↓ 5 callersFunctionmysql_deadlock_backoff_ms
(attempt: u32)
crate/server_database/src/stores/sql/mysql.rs:56
↓ 5 callersMethodnot_after
(&self)
crate/server/src/core/operations/certify/issuer.rs:57
↓ 5 callersMethodopenNode
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 5 callersFunctionopen_test_session
Open a serial session on the test slot.
crate/clients/pkcs11/module/src/tests.rs:880
↓ 5 callersMethodposition
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 5 callersMethodpost_bytes
Send an HTTP POST request with raw bytes and a specified content type. # Errors Returns an error if the request fails.
crate/clients/client/src/http_client/client.rs:480
↓ 5 callersFunctionpost_tags
POST tags to a key; returns the parsed response body.
crate/server/src/tests/jose/tags.rs:40
↓ 5 callersFunctionread_from_json_file
Read an object T from a JSON file # Errors If the file cannot be opened or read, an error is returned.
crate/clients/client/src/file_utils.rs:36
↓ 5 callersMethodremove
Remove a permission to the user on an object
crate/server_database/src/stores/redis/permissions.rs:246
↓ 5 callersMethodremove_tags
(&mut self, vendor_id: &str)
crate/kmip/src/kmip_2_1/extra/tagging.rs:81
↓ 5 callersFunctionrepo_root
Resolve a path relative to the repository root (two levels up from `CARGO_MANIFEST_DIR`).
crate/test_kms_server/src/vector_runner.rs:671
↓ 5 callersFunctionresetToNonEmailMatchState
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 5 callersFunctionrfc3394_unwrap
(ciphertext: &[u8], kek: &[u8])
crate/crypto/src/crypto/symmetric/rfc3394.rs:68
↓ 5 callersFunctionsaveDecryptedFile
(data: Uint8Array, fileName: string, mimeType: string)
ui/src/utils/utils.ts:203
↓ 5 callersFunctionserialize
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 5 callersMethodset_attribute
( &self, kms_rest_client: &KmsClient, id: &str, attribute: Attribute, )
crate/clients/clap/src/actions/attributes/set.rs:307
↓ 5 callersMethodset_cryptographic_usage_mask
Set the attributes's `CryptographicUsageMask`.
crate/kmip/src/kmip_2_1/kmip_attributes.rs:656
↓ 5 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:661
↓ 5 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
↓ 5 callersMethodset_vendor_attribute
Set a vendor attribute to the list of vendor attributes replacing one with an existing value if any This function will remove the vendor attribute if
crate/kmip/src/kmip_2_1/kmip_attributes.rs:547
↓ 5 callersFunctionsha256_wide
()
crate/clients/clap/src/actions/cng_verify.rs:71
↓ 5 callersFunctionsign_hash
Sign a pre-hashed digest using a private key in the KMS. `hash_alg` names the algorithm that produced `hash` (e.g. `SHA256`). `padding_scheme` is `No
crate/clients/cng/src/backend.rs:364
↓ 5 callersFunctionsign_rsa_with_pkey
Sign using RSA with KMIP `Sign` request semantics (PKCS#1 v1.5 and RSASSA-PSS). - Honors `cryptographic_parameters.hashing_algorithm` when provided -
crate/crypto/src/crypto/rsa/sign.rs:84
↓ 5 callersFunctionsign_verify_round_trip
Sign `data` then verify the signature for a given algorithm and key pair. Also asserts that tampered data yields `valid=false` (or a non-200 response)
crate/server/src/tests/jose/common.rs:82
↓ 5 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:705
↓ 5 callersFunctionspire_token_middleware
Creates the SPIRE app-token authentication middleware for KMS SPIRE-compatible scopes. Middleware order (last `.wrap()` runs first): - Reads `X-Vault
crate/server/src/middlewares/spire_token.rs:344
↓ 5 callersFunctionstart_default_test_kms_server_with_privileged_users
Privileged users. Base configuration is loaded from `test_data/configs/server/privileged_users.toml`; the `privileged_users` field is injected from t
crate/test_kms_server/src/test_server.rs:844
↓ 5 callersFunctionstateEnumToName
(v: unknown)
ui/src/components/common/Locate.tsx:64
↓ 5 callersMethodstream_cipher
( &self, mode: Mode, key: &[u8], nonce: &[u8], aad: &[u8], )
crate/crypto/src/crypto/symmetric/symmetric_ciphers.rs:423
↓ 5 callersFunctionstructure_header
Build a TTLV Structure header (8 bytes) claiming the given `content_len`.
crate/kmip/src/ttlv/tests/wire_edge_cases.rs:35
↓ 5 callersFunctiontest_sign_ec_curve
Helper function to test signing for elliptic curves
crate/server/src/tests/test_sign.rs:209
↓ 5 callersMethodtoObject
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 5 callersMethodtoReference
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 5 callersMethodto_signed_bytes_be
(&self)
crate/kmip/src/ttlv/kmip_big_int.rs:73
↓ 5 callersFunctiontry_encrypt
Attempt to encrypt; returns Ok on 200, Err(status) otherwise.
crate/server/src/tests/jose/key_state.rs:113
↓ 5 callersFunctiontx_and_list
(db: &DB)
crate/server_database/src/tests/database_tests.rs:26
↓ 5 callersMethodunwrapped_cache
(&self)
crate/server_database/src/core/mod.rs:225
↓ 5 callersFunctionupsert
(db: &DB)
crate/server_database/src/tests/database_tests.rs:275
↓ 5 callersFunctionutils_btoa
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 5 callersMethodversion
This operation requests the version of the server
crate/clients/client/src/kms_rest_client.rs:665
↓ 5 callersMethodvisit_seq
This is not officially supported in TTLV and will only be called if the user is attempting to deserialize an array of TTLV
crate/kmip/src/ttlv/deserialize.rs:41
↓ 5 callersFunctionwrap_key_handler
( kms: &KMS, key_name: &str, user: &str, request: WrapKeyRequest, )
crate/server/src/routes/azure_ekm/handlers.rs:201
↓ 5 callersMethodwrapped_key_bytes
Return the wrapped key bytes if the object is wrapped, an error otherwise
crate/kmip/src/kmip_2_1/kmip_data_structures.rs:294
↓ 5 callersFunctionxclass
(...s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 5 callersFunctionyi
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctionCb
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctionCi
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctionCk
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctionHash
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctionHk
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctionIg
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctionJi
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctionKeyedSeq
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctionMg
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctionOr
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctionQj
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctionRg
(s,o,i,u,_,w)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunction_isPlaceholder
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunction_objectSpread
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunction_type_of
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersMethodaddText
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersMethodadjust_active_key_count
Atomically adjust the active-key counter by `delta`. "Active key" means a non-destroyed key object (`ObjectType` ∈ {`SymmetricKey`, `PrivateKey`, `Pu
crate/server_database/src/stores/redis/objects_db.rs:472
↓ 4 callersMethodadjust_live_count
Atomically adjust the live-object counter by `delta`. Uses `INCRBY` (positive) or `DECRBY` (negative). Redis creates the key with value `0` before ap
crate/server_database/src/stores/redis/objects_db.rs:370
← previousnext →701–800 of 9,687, ranked by callers