MCPcopy Create free account

hub / github.com/Cosmian/kms / functions

Functions12,829 in github.com/Cosmian/kms

↓ 9 callersMethodget_vendor_attribute_value
( &self, vendor_identification: &str, attribute_name: &str, )
crate/kmip/src/kmip_2_1/kmip_attributes.rs:589
↓ 9 callersFunctionheader_test_setup
Build a `JwtConfig` + RSA key pair + valid claims for the decode-path tests below.
crate/server/src/routes/google_cse/jwt.rs:792
↓ 9 callersFunctionimport_google_cse_symmetric_key_with_access
(app: &S)
crate/server/src/tests/google_cse/mod.rs:105
↓ 9 callersFunctionimport_root_and_intermediate
( owner_client_conf_path: &str, )
crate/clients/ckms/src/tests/certificates/certify.rs:142
↓ 9 callersFunctioninit_openssl_providers_for_tests
()
crate/server/src/openssl_providers.rs:314
↓ 9 callersFunctioninvalid_request
()
crate/server/src/tests/google_cse/crypto_paths.rs:57
↓ 9 callersFunctionisJSONReferenceLikeElement
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 9 callersFunctionissue_cert
Issue an end-entity certificate from the CA.
crate/test_kms_server/src/crl_tests.rs:143
↓ 9 callersMethodkey_bytes_ref
Borrow the key material of a symmetric key, raw or transparent (no copy).
crate/kmip/src/kmip_2_1/kmip_data_structures.rs:325
↓ 9 callersMethodkey_material
(&self)
crate/interfaces/src/hsm/interface.rs:252
↓ 9 callersFunctionkmip12
()
crate/server/src/tests/ttlv_tests/integrations/synology_dsm.rs:101
↓ 9 callersMethodlocate
This operation requests that the server search for one or more Managed Objects, depending on the attributes specified in the request. All attributes a
crate/server/src/core/kms/kmip.rs:538
↓ 9 callersFunctionlocate_keys
( owner: &str, kms: &Arc<KMS>, attributes: Option<Attributes>, )
crate/server/src/tests/hsm/mod.rs:283
↓ 9 callersFunctionmake_key_pair
A non-sensitive RSA key pair in the database; returns `(private key id, public key id)`.
crate/server/src/tests/sub_ca_tests.rs:106
↓ 9 callersFunctionmake_request
Helper: build a minimal `ServiceRequest` with a given peer address and optional `X-Forwarded-For` header. Uses `actix_web::test::TestRequest`.
crate/server/src/middlewares/audit/client_ip.rs:102
↓ 9 callersFunctionmetadata
()
crate/server/src/routes/aws_xks/encrypt_decrypt/mod.rs:92
↓ 9 callersMethodmethod
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 9 callersFunctionml_kem_encapsulate
(public_key_der: &[u8])
crate/crypto/src/crypto/pqc/ml_kem.rs:52
↓ 9 callersMethodmodify_attribute
This operation requests the server to modify a single attribute on an existing Managed Object. Per KMIP spec §3.22, modifying `ActivationDate` on a Pr
crate/server/src/core/kms/kmip.rs:702
↓ 9 callersMethodname
(&self)
crate/clients/clap/src/actions/bench/load.rs:111
↓ 9 callersFunctionnid_of
(oid: &str)
crate/crypto/src/openssl/oid.rs:22
↓ 9 callersFunctionnot_supported
()
crate/server/src/tests/hsm/fake_hsm_authz.rs:100
↓ 9 callersMethodobject_type
(&self)
crate/clients/pkcs11/module/src/core/object.rs:65
↓ 9 callersFunctionopenpgp_encrypt
Binary `OpenPGP` message (PKESK + SEIPD) encrypted to the key's encryption-capable subkey. Accepts a secret or public armored certificate. Only subkey
crate/crypto/src/crypto/openpgp/mod.rs:692
↓ 9 callersMethodowner_id
(&self)
crate/interfaces/src/stores/object_with_metadata.rs:78
↓ 9 callersFunctionpgp_create_request
(alg: CryptographicAlgorithm, bits: Option<i32>)
crate/test_kms_server/src/pgp_tests.rs:26
↓ 9 callersFunctionprepare_post_params
( info_msg: &str, request: Json<T>, cse_config: Data<Option<GoogleCseConfig>>, )
crate/server/src/routes/google_cse/mod.rs:114
↓ 9 callersFunctionprovision_key
Provision a key using `POST /v1/crypto/keys` and return `(kid, kid_public)`. Both key generation (no material) and key import (material present via `
crate/server/src/tests/jose/jose_vectors.rs:113
↓ 9 callersFunctionprovision_xks_key
Provision an XKS key through the public `create_key` path with the given caller ARN.
crate/server/src/routes/aws_xks/tests.rs:149
↓ 9 callersFunctionreject_reserved_service_identity
Reject a reserved service identity on externally-derived auth paths.
crate/server/src/middlewares/mod.rs:132
↓ 9 callersMethodremote_sign
( &self, remote_id: &str, algorithm: &SignatureAlgorithm, data: &[u8],
crate/clients/pkcs11/provider/src/backend.rs:651
↓ 9 callersMethodremove_vendor_attribute
Remove the vendor attribute with the given vendor identification and attribute name. Returns the value of the removed attribute if it existed.
crate/kmip/src/kmip_2_1/kmip_attributes.rs:605
↓ 9 callersMethodresume
(&mut self)
crate/server/src/core/audit/store.rs:1076
↓ 9 callersFunctionrfc5649_unwrap
(ciphertext: &[u8], kek: &[u8])
crate/crypto/src/crypto/symmetric/rfc5649.rs:85
↓ 9 callersMethodserialize_struct
(self, name: &'static str, len: usize)
crate/kmip/src/ttlv/kmip_ttlv_serializer.rs:527
↓ 9 callersFunctionsession
(path: &Path, enabled: bool)
crate/hsm/base_hsm/src/session/message_signature_tests.rs:84
↓ 9 callersMethodset_attribute
This operation requests the server to either add or modify an attribute. The request contains the Unique Identifier of the Managed Object to which the
crate/server/src/core/kms/kmip.rs:715
↓ 9 callersMethodsetup_with_lifecycle
( &mut self, object_type: ObjectType, requested_activation_date: Option<OffsetDateTime
crate/server/src/core/operations/key_ops/crypto_op.rs:84
↓ 9 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:1498
↓ 9 callersFunctionstub
Compiles the stub and opens the same path a second time: `dlopen` returns the same loaded image, so the counters read through this handle are the ones
crate/hsm/base_hsm/src/session/message_signature_tests.rs:46
↓ 9 callersFunctiontest_object
()
crate/server/src/core/operations/key_ops/crypto_op.rs:990
↓ 9 callersMethodtoBaseURI
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 9 callersMethodtokenize
(&self, method: &str, request: &O)
crate/clients/client/src/kms_rest_client.rs:847
↓ 9 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:288
↓ 9 callersFunctionvisitor_visit
(s,o,{keyMap:i=Qu,...u}={})
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 9 callersFunctionwide_ptr_to_string
Decode a null-terminated UTF-16 wide string from a raw pointer. Enforces a maximum length of 32KB to prevent unbounded reads of malformed pointers.
crate/clients/cng/src/provider.rs:153
↓ 9 callersMethodwith_context
(self, op: O)
crate/server/src/result.rs:45
↓ 9 callersFunctionwrap_and_cache
Wrap the object using a wrapping key from the database or HSM, then cache the unwrapped copy. An object that is already wrapped is stored as-is. If i
crate/server/src/core/wrapping/wrap.rs:39
↓ 9 callersFunctionwrap_request
(authentication: String, authorization: String)
crate/server/src/tests/google_cse/token_validation.rs:122
↓ 8 callersFunctionZf
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 8 callersFunctionaccept
Full SVID acceptance decision: signature/issuer/audience/expiry, then the SPIFFE-specific subject and audience requirements.
crate/server/src/middlewares/jwt/jwt_token_auth.rs:557
↓ 8 callersFunctionassert_constraint_violation
(err: KmsError)
crate/server/src/tests/kmip_policy/helpers.rs:113
↓ 8 callersFunctionassert_key_usage_contains
(x509: &X509, usage: &str)
crate/test_kms_server/src/certify_tests.rs:168
↓ 8 callersFunctioncheck_rv
(rv: CK_RV, step: &str)
crate/clients/clap/src/actions/pkcs11/verify.rs:812
↓ 8 callersFunctioncleanup_temp
(path: &PathBuf)
crate/server/src/config/command_line/clap_config.rs:908
↓ 8 callersFunctioncloneShallow
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 8 callersFunctioncounts
(library: &Library)
crate/hsm/base_hsm/src/session/message_signature_tests.rs:68
↓ 8 callersFunctioncreateRsaKeyPair
(page: Page)
ui/tests/e2e/helpers.ts:386
↓ 8 callersFunctioncreate_aes_256_key
Create an AES-256 symmetric key and return its `UniqueIdentifier`.
crate/server/src/tests/ttlv_tests/integrations/vast.rs:76
↓ 8 callersFunctioncreate_approved_ecc_key_pair
Generate an approved (FIPS 140-3 compliant, where the curve allows) NIST elliptic-curve key pair. In FIPS builds the usage masks and the algorithm are
crate/crypto/src/crypto/elliptic_curves/operation.rs:611
↓ 8 callersFunctioncreate_secret_data
( cli_conf_path: &str, action: &CreateSecretDataAction, )
crate/clients/ckms/src/tests/secret_data/create_secret.rs:16
↓ 8 callersFunctioncriterion_home
()
crate/clients/clap/src/actions/bench/output.rs:84
↓ 8 callersFunctiondecrypt
Decrypt a file using the given private key
crate/clients/ckms/src/tests/rsa/encrypt_decrypt.rs:78
↓ 8 callersMethoddecrypt
Decrypt data using the specified key and algorithm
crate/hsm/base_hsm/src/session/session_impl.rs:1115
↓ 8 callersMethoddelete
(&self, uid: &str)
crate/server_database/src/stores/redis/redis_with_findex.rs:986
↓ 8 callersFunctionderive_key
Run `ckms derive-key` via the CLI and return the derived key unique identifier
crate/clients/ckms/src/tests/derive_key/derive_key_tests.rs:36
↓ 8 callersMethoddeserialize_any
(self, visitor: V)
crate/kmip/src/ttlv/kmip_ttlv_deserializer/deserializer.rs:149
↓ 8 callersMethoddeserialize_struct
( self, name: &'static str, fields: &'static [&'static str], visitor: V, )
crate/kmip/src/ttlv/kmip_ttlv_deserializer/deserializer.rs:925
↓ 8 callersFunctiondestroy_key
(client: &KmsClient, uid: &str)
crate/test_kms_server/src/pgp_tests.rs:46
↓ 8 callersMethoddestroy_object
Destroy an object in the HSM
crate/hsm/base_hsm/src/session/session_impl.rs:783
↓ 8 callersFunctionencrypt
( cli_conf_path: &str, input_files: &[&str], public_key_id: &str, encryption_algorithm: RsaEnc
crate/clients/ckms/src/tests/rsa/encrypt_decrypt.rs:26
↓ 8 callersMethodencrypt
( &self, tweak: &[u8], x: &NS, )
crate/crypto/src/crypto/fpe/ff1.rs:358
↓ 8 callersFunctionencrypt_inner
( _req_http: HttpRequest, request: EncryptRequest, key_id_or_tags: String, kms: &Arc<KMS>, )
crate/server/src/routes/aws_xks/encrypt_decrypt/encrypt_.rs:209
↓ 8 callersFunctiones_evaluate
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 8 callersFunctionexpand_bench_mode
( mode: BenchMode, filter: Option<&BenchFilter>, )
crate/clients/clap/src/actions/pkcs11/bench/load.rs:153
↓ 8 callersFunctionexport_request
( object_id_or_tags: &str, unwrap: bool, wrapping_key_id: Option<&str>, key_format_type: Optio
crate/clients/client_utils/src/export_utils.rs:259
↓ 8 callersFunctionextractUuidAfterLabel
(text: string, label: string)
ui/tests/e2e/helpers.ts:27
↓ 8 callersMethodfinalize
Apply replacement attributes, lifecycle setup, and tag extraction to this key slot. Combines [`setup_new_key`] + attribute/tag extraction into a sing
crate/server/src/core/operations/rekey/common.rs:378
↓ 8 callersMethodfind_due_for_rotation
Find all Active objects that have a `rotate_interval > 0` and whose next rotation instant is ≤ `now`. Returns `(uid, owner)` pairs.
crate/server_database/src/core/database_objects.rs:616
↓ 8 callersMethodgenerate_aes_key
Generate an AES key If exportable is set to `false`, the `sensitive` flag is set to true, and the key will not be exportable.
crate/hsm/base_hsm/src/session/aes.rs:87
↓ 8 callersMethodinfo
()
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 8 callersMethodinitialize_always_sensitive
Initialize the server-managed `AlwaysSensitive` attribute at object creation or registration time (KMIP 2.1 §4.3, Table 34). The server SHALL create
crate/kmip/src/kmip_2_1/kmip_attributes.rs:483
↓ 8 callersMethodinitialize_never_extractable
Initialize the `NeverExtractable` attribute at object creation time (KMIP 2.1 §4.33 / KMIP 1.4 §3.51). It is server-managed and set to `True` iff `Ex
crate/kmip/src/kmip_2_1/kmip_attributes.rs:498
↓ 8 callersFunctionisIndexed
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 8 callersFunctionload_test_config_from_toml
( config_path: &Path, )
crate/test_kms_server/src/test_server.rs:1298
↓ 8 callersFunctionmake_state
(with_token_secret: bool)
crate/clients/k8s/operator/src/webhook.rs:323
↓ 8 callersMethodnot_after
(&self)
crate/server/src/core/operations/certify/issuer.rs:67
↓ 8 callersFunctionnow
()
crate/server/src/middlewares/jwt/jwt_token_auth.rs:527
↓ 8 callersFunctionnow_usize
()
crate/server/src/routes/google_cse/jwt.rs:606
↓ 8 callersFunctionobjMap
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 8 callersMethodobject_handles_cache
Get the object handles cache
crate/hsm/base_hsm/src/session/session_impl.rs:303
↓ 8 callersFunctionparse_v3_ca_from_str
( conf: &str, x509_context: &X509v3Context, )
crate/crypto/src/openssl/x509_extensions.rs:54
↓ 8 callersFunctionpipe
(s,o)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 8 callersMethodpkcs_der_bytes
Return the PKCS#1 or PKCS#8 or PKCS#12 DER bytes of a key
crate/kmip/src/kmip_2_1/kmip_data_structures.rs:376
↓ 8 callersFunctionplaceholder_signing_key
Fresh EC P-256 key used only so OpenSSL can serialise a structure; its signature is always replaced.
crate/server/src/core/certificate/oracle_signing.rs:181
↓ 8 callersFunctionprepare_pg_connection
Turns a libpq-style `PostgreSQL` URL into what tokio-postgres can enforce: the URL (ssl file params stripped, `sslmode` rewritten to one of `disable`/
crate/server_database/src/stores/sql/pgsql.rs:151
↓ 8 callersMethodprint
intentional: CLI output to stdout
crate/clients/clap/src/actions/tokenize/mod.rs:34
↓ 8 callersMethodrefresh
Fetch again all JWKS using the `uris`. The threshold to refresh JWKS is set to `REFRESH_INTERVAL`.
crate/server/src/middlewares/jwt/jwks.rs:127
↓ 8 callersMethodregister
(s,o=!0)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
↓ 8 callersFunctionresolve_plaintext
Resolve the plaintext for a request: either literal `data_plaintext` or generated via `data_plaintext_generator`.
crate/server/src/tests/jose/jose_vectors.rs:84
← previousnext →601–700 of 12,829, ranked by callers