MCPcopy Create free account

hub / github.com/Cosmian/kms / functions

Functions9,687 in github.com/Cosmian/kms

↓ 4 callersMethodlist_objects
(&self, object_filter: HsmObjectFilter)
crate/hsm/base_hsm/src/session/session_impl.rs:507
↓ 4 callersMethodlist_uids_for_tags
(&self, tags: &HashSet<String>)
crate/server_database/src/core/database_objects.rs:417
↓ 4 callersFunctionlist_uids_for_tags_test
( db: &DB, )
crate/server_database/src/tests/list_uids_for_tags_test.rs:16
↓ 4 callersFunctionload_raw_private_key
( algorithm_name: &str, raw_bytes: &[u8], )
crate/crypto/src/crypto/pqc/mod.rs:310
↓ 4 callersFunctionload_raw_public_key
( algorithm_name: &str, raw_bytes: &[u8], )
crate/crypto/src/crypto/pqc/mod.rs:277
↓ 4 callersFunctionlocate
( cli_conf_path: &str, tags: Option<&[&str]>, algorithm: Option<&str>, cryptographic_length: O
crate/clients/ckms/src/tests/shared/locate.rs:30
↓ 4 callersFunctionlocate_kms_objects
( kms_rest_client: &KmsClient, vendor_id: &str, tags: &[String], )
crate/clients/pkcs11/provider/src/kms_object.rs:143
↓ 4 callersFunctionlocate_objects_of_type
Locate KMS objects by tags, optionally filtering by `ObjectType`. This avoids returning objects of wrong type when multiple object types share the sam
crate/clients/pkcs11/provider/src/kms_object.rs:459
↓ 4 callersMethodmac
This operation requests the server to perform message authentication code (MAC) operation on the provided data using a Managed Cryptographic Object as
crate/server/src/core/kms/kmip.rs:537
↓ 4 callersFunctionmin_plaintext_length
Minimum length of the plaintext for FPE to be secure. Returns the smallest `n` such that `alphabet_len^n >= RECOMMENDED_THRESHOLD`.
crate/crypto/src/crypto/fpe/alphabet.rs:16
↓ 4 callersFunctionmodify_attribute
( kms: &Arc<KMS>, uid: &str, attribute: Attribute, )
crate/server/src/tests/test_modify_attribute.rs:86
↓ 4 callersMethodobject_upsert
( &self, uid: &str, redis_db_object: &RedisDbObject, )
crate/server_database/src/stores/redis/objects_db.rs:227
↓ 4 callersFunctionobjectify
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersMethodobjects_get
( &self, uids: &HashSet<String>, )
crate/server_database/src/stores/redis/objects_db.rs:256
↓ 4 callersFunctionopId
(s,o,i="",{v2OperationIdCompatibilityMode:u}={})
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctionopenssl_x509_to_certificate_attributes
(x509: &X509)
crate/crypto/src/openssl/certificate.rs:59
↓ 4 callersMethodoperation_enum
(&self)
crate/kmip/src/kmip_2_1/kmip_operations.rs:359
↓ 4 callersMethodoperation_enum
(&self)
crate/kmip/src/kmip_1_4/kmip_operations.rs:2483
↓ 4 callersFunctionowner
(db: &DB)
crate/server_database/src/tests/owner_test.rs:19
↓ 4 callersFunctionparse_hash_alg_from_wide
Parse a CNG hash algorithm name (wide string) into a `HashingAlgorithm`. Returns `None` if the pointer is null or the algorithm is unknown.
crate/clients/cng/src/provider.rs:176
↓ 4 callersFunctionparse_uid_placeholder_index
Single source of truth to parse placeholder index from a UniqueIdentifier text string. Supports raw (uid-N / $UNIQUE_IDENTIFIER_N) and namespaced (tes
crate/clients/clap/src/tests/xml/request.rs:1135
↓ 4 callersFunctionparse_uri
Strip the `secret://` prefix and split at the first `/`. Returns `(first_segment, remainder)`.
crate/server/src/config/command_line/secret_backends/common.rs:24
↓ 4 callersMethodpeek_mut
(&mut self)
crate/kmip/src/ttlv/kmip_ttlv_serializer.rs:54
↓ 4 callersFunctionpermissions
(db: &DB)
crate/server_database/src/tests/permissions_test.rs:9
↓ 4 callersMethodpost_json
Send an HTTP POST request with a JSON body. # Errors Returns an error if the request fails.
crate/clients/client/src/http_client/client.rs:455
↓ 4 callersFunctionpredicates_isBooleanJSONSchema
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctionprepare_sym_key_elements
( number_of_bits: Option<usize>, wrap_key_b64: &Option<String>, algorithm: SymmetricAlgorithm, )
crate/clients/client_utils/src/create_utils.rs:68
↓ 4 callersMethodprivate_key
(&self)
crate/server/src/core/operations/certify/issuer.rs:36
↓ 4 callersFunctionprocess_error_response
Convert an error HTTP response into the appropriate `KmsClientError` variant. Returns [`KmsClientError::Unauthorized`] for 401, otherwise [`KmsClient
crate/clients/client/src/kms_rest_client.rs:831
↓ 4 callersMethodpublic_key
(&self)
crate/clients/pkcs11/provider/src/pkcs11_certificate.rs:75
↓ 4 callersMethodrecord_hsm_operation
Record HSM operation. `operation` must be a `'static` literal (e.g. `Op::OP_NAME`, `"Wrap"`, `"Unwrap"`). `hsm_model` is a runtime label from `hsm_mo
crate/server/src/core/otel_metrics.rs:588
↓ 4 callersMethodrecord_kmip_operation
Record a KMIP operation
crate/server/src/core/otel_metrics.rs:348
↓ 4 callersMethodrecord_kmip_operation_duration
Record KMIP operation duration
crate/server/src/core/otel_metrics.rs:363
↓ 4 callersFunctionrename
( cli_conf_path: &str, master_secret_key_id: &str, attribute: &str, new_name: &str, )
crate/clients/ckms/src/tests/cover_crypt/access_structure.rs:90
↓ 4 callersFunctionrequire_id
Extract the `Id` from a `SearchOptions`, returning an error if `All` was passed. Centralises the "find requires an ID" check shared by four `Backend`
crate/clients/pkcs11/provider/src/backend.rs:46
↓ 4 callersFunctionresolve_aad
( data_encryption_algorithm: DataEncryptionAlgorithm, aad: Option<Vec<u8>>, )
crate/clients/clap/src/actions/symmetric/cipher_io.rs:13
↓ 4 callersFunctionresolve_async
Run an async future on a dedicated thread with a fresh single-threaded tokio runtime. Required because config loading runs before the main runtime.
crate/server/src/config/command_line/secret_backends/common.rs:7
↓ 4 callersFunctionresolve_single_uri
Helper: wrap a URI in a minimal TOML table and resolve it.
crate/server/src/config/command_line/secret_backends/mod.rs:162
↓ 4 callersFunctionrevoke_access
Revoke access to a user
crate/clients/ckms/src/tests/access.rs:95
↓ 4 callersFunctionrfc3394_wrap
(plaintext: &[u8], kek: &[u8])
crate/crypto/src/crypto/symmetric/rfc3394.rs:35
↓ 4 callersFunctionrun_all_xml_vectors_in_dir
Run all XML vectors in a directory (sorted alphabetically) against the shared test server. Optionally exclude specific filenames (e.g., PKCS11 tests t
crate/clients/clap/src/tests/xml/runner.rs:21
↓ 4 callersFunctionsanitize
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctionsecret_data_create_request
Build a `Create` request for a secret data - random Seed of 32 bytes generated server-side
crate/kmip/src/kmip_2_1/requests/create.rs:205
↓ 4 callersMethodserial_number
(&self)
crate/clients/pkcs11/provider/src/pkcs11_certificate.rs:89
↓ 4 callersMethodserialise
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctionset_attribute
( kms: &KMS, request: SetAttribute, user: &str, )
crate/server/src/core/operations/attributes/set.rs:54
↓ 4 callersFunctionset_attribute
(kms: &Arc<KMS>, uid: &str, attribute: Attribute)
crate/server/src/tests/test_set_attribute.rs:67
↓ 4 callersFunctionset_deactivation_date
Set the `DeactivationDate` attribute on a key via KMIP `SetAttribute`.
crate/server/src/tests/jose/key_state.rs:638
↓ 4 callersMethodset_requested_validity_days
Set the requested validity days This is the number of days the certificate will be valid for The requested validity days is stored as a vendor attribu
crate/kmip/src/kmip_2_1/extra/certificates.rs:18
↓ 4 callersFunctionsign
( kms_rest_client: &KmsClient, sk: &str, message: &Zeroizing<Vec<u8>>, params: Option<&Cryptog
crate/test_kms_server/benches/sign_benches.rs:280
↓ 4 callersMethodsign
(&self)
crate/kmip/src/ttlv/kmip_big_int.rs:99
↓ 4 callersFunctionspawn_browser_simulation
Issue a minimal HTTP GET to `url` (on a plain TCP connection) after sleeping `delay_ms` milliseconds. Runs on a dedicated OS thread so it does not co
crate/clients/client/src/http_client/tests.rs:502
↓ 4 callersFunctionspawn_mock_http_once
Spawn a one-shot raw-TCP HTTP/1.1 server on `port` that reads a single request and replies with the supplied `status_line` and JSON `body`. Returns t
crate/clients/client/src/http_client/tests.rs:714
↓ 4 callersFunctionstart_default_test_kms_server_with_utimaco_and_kek
()
crate/test_kms_server/src/test_server.rs:398
↓ 4 callersFunctionstart_kms_server
Starts the Key Management System (KMS) server based on the provided configuration. The server is started using one of three methods: 1. Plain HTTP, 2
crate/server/src/start_kms_server.rs:354
↓ 4 callersFunctionstripHtml
(text: string)
ui/src/utils/utils.ts:4
↓ 4 callersMethodsubject
(&self)
crate/clients/pkcs11/provider/src/pkcs11_certificate.rs:94
↓ 4 callersFunctiontags
( db: &DB, verify_attributes: bool, )
crate/server_database/src/tests/tagging_tests.rs:22
↓ 4 callersFunctionte
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctiontest_db_softhsm2_impl
Full key lifecycle exercised against the HSM-backed KMS. Stages (each one exercises HSM wrap/unwrap at the DB layer): 1. **Create** — AES-256 key, s
crate/test_kms_server/src/db_hsm_tests.rs:74
↓ 4 callersFunctiontest_kms
Helper: create a KMS instance for tests
crate/server/src/tests/security_regression.rs:25
↓ 4 callersMethodtoReference
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersMethodto_u32
(&self)
crate/crypto/src/crypto/fpe/ff1.rs:210
↓ 4 callersFunctiontry_decrypt
Attempt to decrypt the given ciphertext response; returns Ok(value) on success.
crate/server/src/tests/jose/key_state.rs:82
↓ 4 callersFunctionunique_temp_path
Create a unique path inside the system temp directory
crate/clients/ckms/src/tests/access.rs:31
↓ 4 callersFunctionunsanitize
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctionunwrap_if_requested
( object_with_metadata: &mut ObjectWithMetadata, key_wrap_type: &Option<KeyWrapType>, kms: &KMS,
crate/server/src/core/operations/export_get.rs:961
↓ 4 callersFunctionunwrap_key_handler
( kms: &KMS, key_name: &str, user: &str, request: UnwrapKeyRequest, )
crate/server/src/routes/azure_ekm/handlers.rs:372
↓ 4 callersMethodupsert
Insert the object
crate/clients/pkcs11/module/src/objects_store.rs:31
↓ 4 callersMethoduser_can_perform_operation
Check whether `user` is allowed to perform `operation` on this object. Returns `true` if the user is the owner or has been explicitly granted the req
crate/server/src/core/kms/permissions.rs:283
↓ 4 callersFunctionuser_has_permission
Check if a user has permission to perform an operation on an object. If the user is the owner of the object, it will always return true. For non-HSM o
crate/server/src/core/retrieve_object_utils.rs:270
↓ 4 callersFunctionvalidate_algorithm
( alg: CryptographicAlgorithm, whitelist: Option<&HashSet<CryptographicAlgorithm>>, )
crate/server/src/core/operations/algorithm_policy.rs:653
↓ 4 callersFunctionvalidate_api_version
Validate API version for all requests
crate/server/src/routes/azure_ekm/mod.rs:33
↓ 4 callersFunctionvalidate_attributes
(attrs: &Attributes, wl: &KmipWhitelists)
crate/server/src/core/operations/algorithm_policy.rs:527
↓ 4 callersMethodvalidate_cache
Validate the cache entry for `uid` against the current object from the DB. If the fingerprint of the cached entry differs from the fingerprint of `cu
crate/server_database/src/core/object_cache.rs:93
↓ 4 callersFunctionvault_token_optional_middleware
Optional vault-token middleware for scopes that also accept native KMS authentication. This middleware allows AppRole/SPIRE clients that hold a valid
crate/server/src/middlewares/spire_token.rs:394
↓ 4 callersFunctionverify
( kms_rest_client: &KmsClient, pk: &str, message: &Zeroizing<Vec<u8>>, signature: &[u8], p
crate/test_kms_server/benches/sign_benches.rs:297
↓ 4 callersMethodvisit_str
(self, v: &str)
crate/kmip/src/ttlv/deserialize.rs:333
↓ 4 callersFunctionwrapWithTryCatch
(s,{logErrors:o=!0}={})
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 4 callersFunctionwrapping_key_link_test
Verify the `wrapping_key_id` write path and `find_wrapped_by` query across every backend: a wrapped object must be discoverable by its wrapping key, w
crate/server_database/src/tests/database_tests.rs:633
↓ 4 callersFunctionwrite_json_object_to_file
Write a JSON object to a file # Errors If the file cannot be opened or written, an error is returned.
crate/clients/client/src/file_utils.rs:81
↓ 3 callersFunction$f
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunction$g
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionBh
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionCc
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionCh
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionEh
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionHj
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionIe
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionIk
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionIndexedIterable
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionIterable
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionJg
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionK
(s,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionKb
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionLg
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionMh
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionNe
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionNh
(s,o,i,u,_,w)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 3 callersFunctionQg
(s,o,i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
← previousnext →901–1,000 of 9,687, ranked by callers