Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Cosmian/kms
/ functions
Functions
16,000 in github.com/Cosmian/kms
⨍
Functions
16,000
◇
Types & classes
2,898
Method
new
Start a `GMAC` with the AES-GCM cipher `cipher` (e.g. `Nid::AES_256_GCM`).
crate/crypto/src/crypto/symmetric/mac.rs:133
Method
new
( sym_cipher: SymCipher, mode: Mode, key: &[u8], nonce: &[u8], aad: &[
crate/crypto/src/crypto/symmetric/symmetric_ciphers.rs:1069
Method
new
Creates a new instance of `NumberAggregator`. # Arguments `power_of_ten_exponent` - The power of ten to round the numbers to.
crate/crypto/src/crypto/anonymization/number.rs:29
Method
new
Creates a new instance of `WordTokenizer` that can be used to replace the given words with randomly generated 16-bytes tokens. # Arguments `target_w
crate/crypto/src/crypto/anonymization/word.rs:22
Method
new
Creates a new Laplace distribution with a given mean and beta parameter. # Arguments `mean` - The mean of the Laplace distribution. `beta` - The sca
crate/crypto/src/crypto/anonymization/noise.rs:64
Method
new
`HashMethod` constructor for interfaces `method` - The hash method to use. This can be one of the following: SHA2, SHA3 or Argon2 `salt` - An optiona
crate/crypto/src/crypto/anonymization/hash.rs:24
Method
new
()
crate/crypto/src/crypto/rng/mod.rs:114
Method
new
Wraps a freshly allocated object; a null pointer is an OpenSSL error.
crate/crypto/src/openssl/tsa.rs:51
Method
new
SAFETY: OpenSSL FFI; justified at each unsafe block
crate/crypto/src/openssl/scep_cms.rs:304
Method
new
()
crate/test_kms_server/src/crl_tests.rs:98
Method
new
()
crate/test_kms_server/src/certify_tests.rs:31
Method
new
Wraps a secret.
crate/kmip/src/sensitive.rs:48
Method
new
( uid: UniqueIdentifier, unwrap: bool, key_wrapping_specification: Option<KeyWrappingS
crate/kmip/src/kmip_2_1/kmip_operations.rs:1985
Method
new
(request: Operation)
crate/kmip/src/kmip_2_1/kmip_messages.rs:141
Method
new
(data: Vec<Zeroizing<Vec<u8>>>)
crate/kmip/src/kmip_2_1/extra/bulk_data.rs:26
Method
new
()
crate/kmip/src/ttlv/kmip_ttlv_serializer.rs:60
Method
new
(s: &str)
crate/kmip/src/ttlv/error.rs:23
Method
new
(current: &TTLV)
crate/kmip/src/ttlv/kmip_ttlv_deserializer/adjacently_tagged_structure.rs:94
Method
new
(de: &'a mut TtlvDeserializer<'t>)
crate/kmip/src/ttlv/kmip_ttlv_deserializer/enum_walker.rs:18
Method
new
(tag: &str, dt: OffsetDateTime)
crate/kmip/src/ttlv/kmip_ttlv_deserializer/offset_date_time_deserializer.rs:26
Method
new
(byte_string: &'a [u8])
crate/kmip/src/ttlv/kmip_ttlv_deserializer/byte_string_deserializer.rs:17
Method
new
(de: &'a mut TtlvDeserializer<'t>)
crate/kmip/src/ttlv/kmip_ttlv_deserializer/structure_walker.rs:15
Method
new
( de: &'a mut TtlvDeserializer<'t>, tag: &'t str, struct_elements: &'t [TTLV], )
crate/kmip/src/ttlv/kmip_ttlv_deserializer/array_deserializer.rs:19
Method
new
(de: &'a mut TtlvDeserializer<'t>)
crate/kmip/src/ttlv/kmip_ttlv_deserializer/untagged_enum_walker.rs:19
Method
new
Parse KMIP XML content into a `KmipXmlDoc` (requests + responses)
crate/kmip/src/ttlv/xml/parser.rs:146
Method
new
(reader: R)
crate/kmip/src/ttlv/wire/ttlv_bytes_deserializer.rs:56
Method
new
(writer: W)
crate/kmip/src/ttlv/wire/ttlv_bytes_serializer.rs:93
Method
new
(request: Operation)
crate/kmip/src/kmip_1_4/kmip_messages.rs:85
Method
new
()
crate/server_database/src/stores/sql/locate_query.rs:283
Method
new
( obj_uid: ObjectUid, user_id: FindexUserId, permission: KmipOperation, )
crate/server_database/src/stores/redis/permissions.rs:68
Method
new
( object: Object, owner: String, state: State, tags: Option<HashSet<String>>,
crate/server_database/src/stores/redis/objects_db.rs:119
Method
new
()
crate/server_database/src/core/rotate_name_cache.rs:97
Method
new
(max_age: Duration, max_size: NonZeroUsize, max_ttl: Option<Duration>)
crate/server_database/src/core/object_cache.rs:66
Method
new
Create a new Objects Store This function registers a new object store with the given prefix. The prefix is used to identify the object store in the d
crate/server_database/src/core/mod.rs:324
Method
new
()
crate/server_database/src/core/fingerprinter.rs:47
Method
new
(unwrapped_object: Object, fingerprint: u64)
crate/server_database/src/core/unwrapped_cache.rs:33
Method
new
()
crate/server_database/src/tests/redis_migration_tests.rs:54
Method
new
(auth_verifier: Option<Arc<AuthVerifierValidator>>)
crate/server/src/start_kms_server.rs:2846
Method
new
Create a new OpenTelemetry metrics instance # Arguments `meter_provider` - The configured `MeterProvider` with OTLP exporter # Errors Returns `Kms
crate/server/src/core/otel_metrics.rs:212
Method
new
(should_fail: fn(usize) -> bool)
crate/server/src/core/audit/store.rs:1307
Method
new
(max_size_bytes: Option<u64>)
crate/server/src/core/audit/file_sink.rs:40
Method
new
()
crate/server/src/core/operations/certify/hsm_subject_tests.rs:51
Method
new
Record the initial part's parameters, its effective IV/nonce and AAD.
crate/server/src/core/operations/key_ops/multi_part.rs:261
Method
new
(operation: Cow<'a, str>, payload: Option<&'a TTLV>)
crate/server/src/routes/kmip/audit.rs:135
Method
new
(kms_server: Arc<KMS>)
crate/server/src/routes/aws_xks/sigv4_middleware.rs:81
Method
new
(fail_info: u8, reason: impl Into<String>)
crate/server/src/routes/scep/pki_operation.rs:91
Method
new
`secure` adds the `Secure` attribute (public URL is `https://` or TLS is configured).
crate/server/src/middlewares/ui_session.rs:135
Method
new
Build a rate limiter that allows `requests_per_second` with a burst of `burst_size`. Both parameters must be non-zero; passing zero for either value
crate/server/src/middlewares/rate_limiter.rs:52
Method
new
(ttl_secs: u64)
crate/server/src/middlewares/spire_token.rs:67
Method
new
( store: Option<AuditStore>, trusted_proxies: Vec<IpNet>, failure_mode: AuditFailureMo
crate/server/src/middlewares/audit/mod.rs:87
Method
new
( auth_verifier: Option<Arc<AuthVerifierValidator>>, session_cookie_realm: Option<Arc<str>>,
crate/server/src/middlewares/auth_verifier/middleware.rs:42
Method
new
Build the validator of the Auth Verifier at `config.auth_verifier_url`. The session check goes through the same `[proxy]` as the fetch of `jwks`. # E
crate/server/src/middlewares/auth_verifier/session.rs:59
Method
new
(uris: Vec<String>, server_params: Option<&ProxyParams>)
crate/server/src/middlewares/jwt/jwks.rs:36
Method
new
(value: impl Into<String>)
crate/server/src/tests/crl_tests.rs:60
Method
new
Create a new `py_kmip` socket client with the specified configuration # Arguments `config` - Configuration for the socket client # Returns `SocketCl
crate/server/src/tests/ttlv_tests/socket_client.rs:65
Method
new
(fail_encrypt: bool)
crate/server/src/tests/hsm/fake_hsm_authz.rs:98
Method
new
( id: String, object: Object, owner: impl Into<UserId>, state: State,
crate/interfaces/src/stores/object_with_metadata.rs:32
Method
new
( hsm: Arc<dyn HSM + Send + Sync>, hsm_admin: &[String], vendor_id: &str, pref
crate/interfaces/src/hsm/hsm_store.rs:128
Method
new
(key_material: KeyMaterial, label: String, tags: HashSet<String>)
crate/interfaces/src/hsm/interface.rs:271
Method
new
()
crate/clients/client/src/export_utils.rs:38
Method
new
Initialize a KMS REST client. Parameters `server_url` and `accept_invalid_certs` from the command line will override the ones from the configuration
crate/clients/client/src/kms_rest_client.rs:69
Method
new
(name: &str)
crate/clients/client/src/file_utils.rs:383
Method
new
(proxy_params: Option<ProxyParams>)
crate/clients/client/src/http_client/proxy.rs:50
Method
new
( current_key_uid: String, allowed_decryption_key_ids: BTreeSet<String>, )
crate/clients/k8s/plugin/src/service.rs:49
Method
new
Create a new wrapper from config.
crate/clients/k8s/operator/src/kms.rs:16
Method
new
(inner: T)
crate/clients/k8s/plugin_proto/src/v2.rs:118
Method
new
(inner: T)
crate/clients/k8s/csi_provider_proto/src/provider.rs:111
Method
new
( client: KmsClient, allowed_uids_by_namespace: BTreeMap<String, BTreeSet<String>>, )
crate/clients/k8s/csi_provider/src/service.rs:82
Method
new
(stdout: &str)
crate/clients/clap/src/actions/console.rs:70
Method
new
(service_account: GmailApiConf, user_id: String)
crate/clients/clap/src/actions/google/gmail_client/client_builder.rs:28
Method
new
(assertion: String)
crate/clients/clap/src/actions/google/gmail_client/token.rs:23
Method
new
Create a new empty key ledger.
crate/clients/clap/src/actions/bench/helpers.rs:42
Method
new
Creates a new `PrepareRequest` with the given request and empty/default values for other fields
crate/clients/clap/src/tests/xml/request.rs:61
Method
new
(label: &str, data: &[u8])
crate/clients/pkcs11/module/src/tests.rs:262
Method
new
()
crate/clients/pkcs11/module/src/profiling.rs:139
Method
new
(remote_id: String)
crate/clients/pkcs11/provider/src/pkcs11_data_object.rs:55
Method
new
( remote_id: String, algorithm: KeyAlgorithm, key_size: usize, usage_mask: Opt
crate/clients/pkcs11/provider/src/pkcs11_symmetric_key.rs:27
Method
new
(remote_id: String, algorithm: KeyAlgorithm)
crate/clients/pkcs11/provider/src/pkcs11_public_key.rs:38
Method
new
Unloaded — material will be fetched on first access.
crate/clients/pkcs11/provider/src/kms_object.rs:112
Method
new
( remote_id: String, algorithm: KeyAlgorithm, key_size: usize, protection: Key
crate/clients/pkcs11/provider/src/pkcs11_private_key.rs:27
Method
new
()
crate/hsm/base_hsm/src/slots.rs:46
Method
new
( hsm: Arc<crate::hsm_lib::HsmLib>, session_handle: CK_SESSION_HANDLE, object_handles_
crate/hsm/base_hsm/src/session/session_impl.rs:325
Method
new
(key_handle: CK_OBJECT_HANDLE, mechanism: &CK_MECHANISM)
crate/hsm/base_hsm/src/session/message_context.rs:70
Method
new
(cfg: &AwsSsmBackendConfig)
crate/secret_backends/src/aws.rs:18
Method
new
(cfg: &CosmianKmsSecretConfig)
crate/secret_backends/src/cosmian_kms.rs:22
Method
new
(cfg: &VaultBackendConfig)
crate/secret_backends/src/vault.rs:14
Method
new
(cfg: &AzureKvBackendConfig)
crate/secret_backends/src/azure.rs:15
Method
newAction
(...i)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
Function
newAuthErr
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
Function
newSpecErr
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
Function
newSpecErrBatch
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
Function
newThrownErr
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
Function
newThrownErrBatch
(s)
crate/server/documentation/swagger-ui/swagger-ui-bundle.js:2
Method
new_asymmetric
( private_key_identifier: UniqueIdentifier, peer_public_key_identifier: UniqueIdentifier,
crate/kmip/src/kmip_2_1/kmip_operations.rs:1782
Method
new_asymmetric
( object_type: ObjectType, private_key_identifier: impl Into<String>, peer_public_key_
crate/kmip/src/kmip_1_4/kmip_operations.rs:458
Method
new_cmac
Start an AES-CMAC with `key` (16, 24 or 32 bytes). # Errors Returns an error if the key length is not an AES key length or OpenSSL fails.
crate/crypto/src/crypto/symmetric/mac.rs:45
Method
new_disconnected
Creates a store whose channel receiver is immediately dropped. Every `try_send` returns `TrySendError::Closed` so `enqueue()` always returns `false` —
crate/server/src/core/audit/store.rs:367
Method
new_gcm_generated_iv
AES-GCM encryption whose 96-bit IV is generated by the OpenSSL provider (see [`aes_gcm_encrypt_generated_iv`]); read it with [`Self::generated_iv`].
crate/crypto/src/crypto/symmetric/symmetric_ciphers.rs:1121
Method
new_gmac
Start an AES-GMAC with `key` (16, 24 or 32 bytes) and the 12-byte `iv`. The IV MUST be unique per message under one key: generate it with the KMS ran
crate/crypto/src/crypto/symmetric/mac.rs:65
Method
new_pending
Create a new context for a key that is pending creation.
crate/clients/cng/src/key.rs:168
← previous
next →
11,301–11,400 of 16,000, ranked by callers