A B C D E F G H I K L M N P Q R S T V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- accessKeyId(String) - Method in class com.mongodb.crypt.capi.MongoAwsKmsProviderOptions.Builder
-
Sets the access key id.
- addMongoOperationResult(BsonDocument) - Method in interface com.mongodb.crypt.capi.MongoCryptContext
- algorithm(String) - Method in class com.mongodb.crypt.capi.MongoExplicitEncryptOptions.Builder
-
Add the encryption algorithm.
- awsKmsProviderOptions(MongoAwsKmsProviderOptions) - Method in class com.mongodb.crypt.capi.MongoCryptOptions.Builder
-
Sets the AWS KMS provider options.
B
- build() - Method in class com.mongodb.crypt.capi.MongoAwsKmsProviderOptions.Builder
-
Build the options.
- build() - Method in class com.mongodb.crypt.capi.MongoCryptOptions.Builder
-
Build the options.
- build() - Method in class com.mongodb.crypt.capi.MongoDataKeyOptions.Builder
-
Build the options.
- build() - Method in class com.mongodb.crypt.capi.MongoExplicitEncryptOptions.Builder
-
Build the options.
- build() - Method in class com.mongodb.crypt.capi.MongoLocalKmsProviderOptions.Builder
-
Build the options.
- build() - Method in class com.mongodb.crypt.capi.MongoRewrapManyDataKeyOptions.Builder
-
Build the options.
- builder() - Static method in class com.mongodb.crypt.capi.MongoAwsKmsProviderOptions
-
Construct a builder for the options
- builder() - Static method in class com.mongodb.crypt.capi.MongoCryptOptions
-
Construct a builder for the options
- builder() - Static method in class com.mongodb.crypt.capi.MongoDataKeyOptions
-
Create a builder for the options.
- builder() - Static method in class com.mongodb.crypt.capi.MongoExplicitEncryptOptions
-
Create a builder for the options.
- builder() - Static method in class com.mongodb.crypt.capi.MongoLocalKmsProviderOptions
-
Construct a builder for the options
- builder() - Static method in class com.mongodb.crypt.capi.MongoRewrapManyDataKeyOptions
-
Create a builder for the options.
- Builder() - Constructor for class com.mongodb.crypt.capi.MongoDataKeyOptions.Builder
- Builder() - Constructor for class com.mongodb.crypt.capi.MongoRewrapManyDataKeyOptions.Builder
- bypassQueryAnalysis(boolean) - Method in class com.mongodb.crypt.capi.MongoCryptOptions.Builder
-
Sets whether automatic analysis of outgoing commands should be disabled.
- bytesNeeded() - Method in interface com.mongodb.crypt.capi.MongoKeyDecryptor
-
Gets the number of bytes that should be received from the KMS server.
C
- CAPI - Class in com.mongodb.crypt.capi
-
For internal use only.
- CAPI() - Constructor for class com.mongodb.crypt.capi.CAPI
- CAPI.cstring - Class in com.mongodb.crypt.capi
- CAPI.mongocrypt_binary_t - Class in com.mongodb.crypt.capi
-
A non-owning view of a byte buffer.
- CAPI.mongocrypt_crypto_fn - Interface in com.mongodb.crypt.capi
- CAPI.mongocrypt_ctx_t - Class in com.mongodb.crypt.capi
-
Manages the state machine for encryption or decryption.
- CAPI.mongocrypt_hash_fn - Interface in com.mongodb.crypt.capi
- CAPI.mongocrypt_hmac_fn - Interface in com.mongodb.crypt.capi
- CAPI.mongocrypt_kms_ctx_t - Class in com.mongodb.crypt.capi
-
Manages a single KMS HTTP request/response.
- CAPI.mongocrypt_log_fn_t - Interface in com.mongodb.crypt.capi
-
A log callback function.
- CAPI.mongocrypt_opts_t - Class in com.mongodb.crypt.capi
-
Contains all options passed on initialization of a @ref mongocrypt_ctx_t.
- CAPI.mongocrypt_random_fn - Interface in com.mongodb.crypt.capi
- CAPI.mongocrypt_status_t - Class in com.mongodb.crypt.capi
-
Indicates success or contains error information.
- CAPI.mongocrypt_t - Class in com.mongodb.crypt.capi
-
The top-level handle to libmongocrypt.
- close() - Method in interface com.mongodb.crypt.capi.MongoCrypt
- close() - Method in interface com.mongodb.crypt.capi.MongoCryptContext
- com.mongodb.crypt.capi - package com.mongodb.crypt.capi
- completeKeyDecryptors() - Method in interface com.mongodb.crypt.capi.MongoCryptContext
-
Indicate that all key decryptors have been completed
- completeMongoOperation() - Method in interface com.mongodb.crypt.capi.MongoCryptContext
-
Signal completion of the operation
- contentionFactor(Long) - Method in class com.mongodb.crypt.capi.MongoExplicitEncryptOptions.Builder
-
The contention factor.
- create(MongoCryptOptions) - Static method in class com.mongodb.crypt.capi.MongoCrypts
-
Create a
MongoCryptinstance. - createDataKeyContext(String, MongoDataKeyOptions) - Method in interface com.mongodb.crypt.capi.MongoCrypt
-
Create a context to use for creating a data key
- createDecryptionContext(BsonDocument) - Method in interface com.mongodb.crypt.capi.MongoCrypt
-
Create a context to use for decryption
- createEncryptionContext(String, BsonDocument) - Method in interface com.mongodb.crypt.capi.MongoCrypt
-
Create a context to use for encryption
- createExplicitDecryptionContext(BsonDocument) - Method in interface com.mongodb.crypt.capi.MongoCrypt
-
Create a context to use for encryption
- createExplicitEncryptionContext(BsonDocument, MongoExplicitEncryptOptions) - Method in interface com.mongodb.crypt.capi.MongoCrypt
-
Create a context to use for encryption
- createRewrapManyDatakeyContext(BsonDocument, MongoRewrapManyDataKeyOptions) - Method in interface com.mongodb.crypt.capi.MongoCrypt
-
Create a context to use for encryption
- crypt(Pointer, CAPI.mongocrypt_binary_t, CAPI.mongocrypt_binary_t, CAPI.mongocrypt_binary_t, CAPI.mongocrypt_binary_t, Pointer, CAPI.mongocrypt_status_t) - Method in interface com.mongodb.crypt.capi.CAPI.mongocrypt_crypto_fn
- cstring() - Constructor for class com.mongodb.crypt.capi.CAPI.cstring
- cstring(String) - Constructor for class com.mongodb.crypt.capi.CAPI.cstring
D
- debug(String) - Method in interface com.mongodb.crypt.capi.Logger
-
Log a message at the DEBUG level.
- debug(String, Throwable) - Method in interface com.mongodb.crypt.capi.Logger
-
Log an exception (throwable) at the DEBUG level with an accompanying message.
- DONE - com.mongodb.crypt.capi.MongoCryptContext.State
-
Done
E
- encryptedFieldsMap(Map<String, BsonDocument>) - Method in class com.mongodb.crypt.capi.MongoCryptOptions.Builder
-
Sets the encrypted fields map.
- error(String) - Method in interface com.mongodb.crypt.capi.Logger
-
Log a message at the ERROR level.
- error(String, Throwable) - Method in interface com.mongodb.crypt.capi.Logger
-
Log an exception (throwable) at the ERROR level with an accompanying message.
- extraOptions(BsonDocument) - Method in class com.mongodb.crypt.capi.MongoCryptOptions.Builder
-
The extraOptions that relate to the mongocryptd process or shared library.
F
- feed(ByteBuffer) - Method in interface com.mongodb.crypt.capi.MongoKeyDecryptor
-
Feed the received bytes to the decryptor.
- finish() - Method in interface com.mongodb.crypt.capi.MongoCryptContext
G
- getAccessKeyId() - Method in class com.mongodb.crypt.capi.MongoAwsKmsProviderOptions
-
Gets the access key id
- getAlgorithm() - Method in class com.mongodb.crypt.capi.MongoExplicitEncryptOptions
-
Gets the encryption algorithm
- getAwsKmsProviderOptions() - Method in class com.mongodb.crypt.capi.MongoCryptOptions
-
Gets the AWS KMS provider options.
- getCode() - Method in exception com.mongodb.crypt.capi.MongoCryptException
- getContentionFactor() - Method in class com.mongodb.crypt.capi.MongoExplicitEncryptOptions
-
Gets the contention factor
- getCryptSharedLibVersionString() - Method in interface com.mongodb.crypt.capi.MongoCrypt
- getEncryptedFieldsMap() - Method in class com.mongodb.crypt.capi.MongoCryptOptions
-
Gets the encrypted fields map.
- getExtraOptions() - Method in class com.mongodb.crypt.capi.MongoCryptOptions
-
The extraOptions that relate to the mongocryptd process or shared library.
- getHostName() - Method in interface com.mongodb.crypt.capi.MongoKeyDecryptor
-
Gets the host name of the key management service.
- getKeyAltName() - Method in class com.mongodb.crypt.capi.MongoExplicitEncryptOptions
-
Gets the key alternative name
- getKeyAltNames() - Method in class com.mongodb.crypt.capi.MongoDataKeyOptions
-
Gets the alternate key names for the data key.
- getKeyId() - Method in class com.mongodb.crypt.capi.MongoExplicitEncryptOptions
-
Gets the key identifier
- getKeyMaterial() - Method in class com.mongodb.crypt.capi.MongoDataKeyOptions
-
Gets the custom key material if set.
- getKmsProvider() - Method in interface com.mongodb.crypt.capi.MongoKeyDecryptor
-
Gets the name of the KMS provider, e.g.
- getKmsProviderOptions() - Method in class com.mongodb.crypt.capi.MongoCryptOptions
-
Returns the KMS provider options.
- getLocalKmsProviderOptions() - Method in class com.mongodb.crypt.capi.MongoCryptOptions
-
Gets the local KMS provider options.
- getLocalMasterKey() - Method in class com.mongodb.crypt.capi.MongoLocalKmsProviderOptions
-
Gets the local master key
- getLocalSchemaMap() - Method in class com.mongodb.crypt.capi.MongoCryptOptions
-
Gets the local schema map.
- getLogger() - Static method in class com.mongodb.crypt.capi.Loggers
- getMasterKey() - Method in class com.mongodb.crypt.capi.MongoDataKeyOptions
-
Gets the master key for the data key.
- getMasterKey() - Method in class com.mongodb.crypt.capi.MongoRewrapManyDataKeyOptions
-
Gets the master key for the data key.
- getMessage() - Method in interface com.mongodb.crypt.capi.MongoKeyDecryptor
-
Gets the message to send to the key management service.
- getMongoOperation() - Method in interface com.mongodb.crypt.capi.MongoCryptContext
- getName() - Method in interface com.mongodb.crypt.capi.Logger
-
Return the name of this
Loggerinstance. - getProvider() - Method in class com.mongodb.crypt.capi.MongoRewrapManyDataKeyOptions
- getQueryType() - Method in class com.mongodb.crypt.capi.MongoExplicitEncryptOptions
-
Gets the query type
- getSearchPaths() - Method in class com.mongodb.crypt.capi.MongoCryptOptions
-
Gets the search paths
- getSecretAccessKey() - Method in class com.mongodb.crypt.capi.MongoAwsKmsProviderOptions
-
Gets the secret access key
- getState() - Method in interface com.mongodb.crypt.capi.MongoCryptContext
-
Gets the current state.
H
- hash(Pointer, CAPI.mongocrypt_binary_t, CAPI.mongocrypt_binary_t, CAPI.mongocrypt_status_t) - Method in interface com.mongodb.crypt.capi.CAPI.mongocrypt_hash_fn
- hmac(Pointer, CAPI.mongocrypt_binary_t, CAPI.mongocrypt_binary_t, CAPI.mongocrypt_binary_t, CAPI.mongocrypt_status_t) - Method in interface com.mongodb.crypt.capi.CAPI.mongocrypt_hmac_fn
I
- info(String) - Method in interface com.mongodb.crypt.capi.Logger
-
Log a message at the INFO level.
- info(String, Throwable) - Method in interface com.mongodb.crypt.capi.Logger
-
Log an exception (throwable) at the INFO level with an accompanying message.
- isBypassQueryAnalysis() - Method in class com.mongodb.crypt.capi.MongoCryptOptions
-
Gets whether automatic analysis of outgoing commands should be disabled.
- isDebugEnabled() - Method in interface com.mongodb.crypt.capi.Logger
-
Is the logger instance enabled for the DEBUG level?
- isErrorEnabled() - Method in interface com.mongodb.crypt.capi.Logger
-
Is the logger instance enabled for the ERROR level?
- isInfoEnabled() - Method in interface com.mongodb.crypt.capi.Logger
-
Is the logger instance enabled for the INFO level?
- isNeedsKmsCredentialsStateEnabled() - Method in class com.mongodb.crypt.capi.MongoCryptOptions
-
Gets whether the MONGOCRYPT_CTX_NEED_KMS_CREDENTIALS is enabled.
- isTraceEnabled() - Method in interface com.mongodb.crypt.capi.Logger
-
Is the logger instance enabled for the TRACE level?
- isWarnEnabled() - Method in interface com.mongodb.crypt.capi.Logger
-
Is the logger instance enabled for the WARN level?
K
- keyAltName(String) - Method in class com.mongodb.crypt.capi.MongoExplicitEncryptOptions.Builder
-
Add the key alternative name.
- keyAltNames(List<String>) - Method in class com.mongodb.crypt.capi.MongoDataKeyOptions.Builder
-
Add alternate key names
- keyId(BsonBinary) - Method in class com.mongodb.crypt.capi.MongoExplicitEncryptOptions.Builder
-
Add the key identifier.
- keyMaterial(byte[]) - Method in class com.mongodb.crypt.capi.MongoDataKeyOptions.Builder
-
Add the key material
- kmsProviderOptions(BsonDocument) - Method in class com.mongodb.crypt.capi.MongoCryptOptions.Builder
-
Sets the KMS provider options.
L
- localKmsProviderOptions(MongoLocalKmsProviderOptions) - Method in class com.mongodb.crypt.capi.MongoCryptOptions.Builder
-
Sets the local KMS provider options.
- localMasterKey(ByteBuffer) - Method in class com.mongodb.crypt.capi.MongoLocalKmsProviderOptions.Builder
-
Sets the local master key.
- localSchemaMap(Map<String, BsonDocument>) - Method in class com.mongodb.crypt.capi.MongoCryptOptions.Builder
-
Sets the local schema map.
- log(int, CAPI.cstring, int, Pointer) - Method in interface com.mongodb.crypt.capi.CAPI.mongocrypt_log_fn_t
- Logger - Interface in com.mongodb.crypt.capi
-
Not part of the public API
- Loggers - Class in com.mongodb.crypt.capi
-
This class is not part of the public API.
M
- masterKey(BsonDocument) - Method in class com.mongodb.crypt.capi.MongoDataKeyOptions.Builder
-
Add the master key.
- masterKey(BsonDocument) - Method in class com.mongodb.crypt.capi.MongoRewrapManyDataKeyOptions.Builder
-
Add the master key.
- MongoAwsKmsProviderOptions - Class in com.mongodb.crypt.capi
-
The options for configuring the AWS KMS provider.
- MongoAwsKmsProviderOptions.Builder - Class in com.mongodb.crypt.capi
-
The builder for the options
- MongoCrypt - Interface in com.mongodb.crypt.capi
-
A context for encryption/decryption operations.
- mongocrypt_binary_data(CAPI.mongocrypt_binary_t) - Static method in class com.mongodb.crypt.capi.CAPI
-
Get a pointer to the referenced data.
- mongocrypt_binary_destroy(CAPI.mongocrypt_binary_t) - Static method in class com.mongodb.crypt.capi.CAPI
-
Free the @ref mongocrypt_binary_t.
- mongocrypt_binary_len(CAPI.mongocrypt_binary_t) - Static method in class com.mongodb.crypt.capi.CAPI
-
Get the length of the referenced data.
- mongocrypt_binary_new() - Static method in class com.mongodb.crypt.capi.CAPI
-
Create a new non-owning view of a buffer (data + length).
- mongocrypt_binary_new_from_data(Pointer, int) - Static method in class com.mongodb.crypt.capi.CAPI
-
Create a new non-owning view of a buffer (data + length).
- mongocrypt_binary_t() - Constructor for class com.mongodb.crypt.capi.CAPI.mongocrypt_binary_t
- mongocrypt_crypt_shared_lib_version_string(CAPI.mongocrypt_t, Pointer) - Static method in class com.mongodb.crypt.capi.CAPI
-
Obtain a nul-terminated version string of the loaded crypt_shared dynamic library, if available.
- mongocrypt_ctx_datakey_init(CAPI.mongocrypt_ctx_t) - Static method in class com.mongodb.crypt.capi.CAPI
-
Initialize a context to create a data key.
- mongocrypt_ctx_decrypt_init(CAPI.mongocrypt_ctx_t, CAPI.mongocrypt_binary_t) - Static method in class com.mongodb.crypt.capi.CAPI
-
Initialize a context for decryption.
- mongocrypt_ctx_destroy(CAPI.mongocrypt_ctx_t) - Static method in class com.mongodb.crypt.capi.CAPI
-
Destroy and free all memory associated with a @ref mongocrypt_ctx_t.
- MONGOCRYPT_CTX_DONE - Static variable in class com.mongodb.crypt.capi.CAPI
- mongocrypt_ctx_encrypt_init(CAPI.mongocrypt_ctx_t, CAPI.cstring, int, CAPI.mongocrypt_binary_t) - Static method in class com.mongodb.crypt.capi.CAPI
-
Initialize a context for encryption.
- MONGOCRYPT_CTX_ERROR - Static variable in class com.mongodb.crypt.capi.CAPI
- mongocrypt_ctx_explicit_decrypt_init(CAPI.mongocrypt_ctx_t, CAPI.mongocrypt_binary_t) - Static method in class com.mongodb.crypt.capi.CAPI
-
Explicit helper method to decrypt a single BSON object.
- mongocrypt_ctx_explicit_encrypt_init(CAPI.mongocrypt_ctx_t, CAPI.mongocrypt_binary_t) - Static method in class com.mongodb.crypt.capi.CAPI
-
Explicit helper method to encrypt a single BSON object.
- mongocrypt_ctx_finalize(CAPI.mongocrypt_ctx_t, CAPI.mongocrypt_binary_t) - Static method in class com.mongodb.crypt.capi.CAPI
-
Perform the final encryption or decryption.
- mongocrypt_ctx_kms_done(CAPI.mongocrypt_ctx_t) - Static method in class com.mongodb.crypt.capi.CAPI
-
Call when done handling all KMS contexts.
- mongocrypt_ctx_mongo_done(CAPI.mongocrypt_ctx_t) - Static method in class com.mongodb.crypt.capi.CAPI
-
Call when done feeding the reply (or replies) back to the context.
- mongocrypt_ctx_mongo_feed(CAPI.mongocrypt_ctx_t, CAPI.mongocrypt_binary_t) - Static method in class com.mongodb.crypt.capi.CAPI
-
Feed a BSON reply or result when when mongocrypt_ctx_t is in MONGOCRYPT_CTX_NEED_MONGO_* states.
- mongocrypt_ctx_mongo_op(CAPI.mongocrypt_ctx_t, CAPI.mongocrypt_binary_t) - Static method in class com.mongodb.crypt.capi.CAPI
-
Get BSON necessary to run the mongo operation when mongocrypt_ctx_t is in MONGOCRYPT_CTX_NEED_MONGO_* states.
- MONGOCRYPT_CTX_NEED_KMS - Static variable in class com.mongodb.crypt.capi.CAPI
- MONGOCRYPT_CTX_NEED_KMS_CREDENTIALS - Static variable in class com.mongodb.crypt.capi.CAPI
- MONGOCRYPT_CTX_NEED_MONGO_COLLINFO - Static variable in class com.mongodb.crypt.capi.CAPI
- MONGOCRYPT_CTX_NEED_MONGO_KEYS - Static variable in class com.mongodb.crypt.capi.CAPI
- MONGOCRYPT_CTX_NEED_MONGO_MARKINGS - Static variable in class com.mongodb.crypt.capi.CAPI
- mongocrypt_ctx_new(CAPI.mongocrypt_t) - Static method in class com.mongodb.crypt.capi.CAPI
-
Create a new uninitialized @ref mongocrypt_ctx_t.
- mongocrypt_ctx_next_kms_ctx(CAPI.mongocrypt_ctx_t) - Static method in class com.mongodb.crypt.capi.CAPI
-
Get the next KMS handle.
- mongocrypt_ctx_provide_kms_providers(CAPI.mongocrypt_ctx_t, CAPI.mongocrypt_binary_t) - Static method in class com.mongodb.crypt.capi.CAPI
-
Call in response to the MONGOCRYPT_CTX_NEED_KMS_CREDENTIALS state to set per-context KMS provider settings.
- MONGOCRYPT_CTX_READY - Static variable in class com.mongodb.crypt.capi.CAPI
- mongocrypt_ctx_rewrap_many_datakey_init(CAPI.mongocrypt_ctx_t, CAPI.mongocrypt_binary_t) - Static method in class com.mongodb.crypt.capi.CAPI
-
Initialize a context to rewrap datakeys.
- mongocrypt_ctx_setopt_algorithm(CAPI.mongocrypt_ctx_t, CAPI.cstring, int) - Static method in class com.mongodb.crypt.capi.CAPI
-
Set the algorithm used for encryption to either deterministic or random encryption.
- mongocrypt_ctx_setopt_contention_factor(CAPI.mongocrypt_ctx_t, long) - Static method in class com.mongodb.crypt.capi.CAPI
-
Set the contention factor used for explicit encryption.
- mongocrypt_ctx_setopt_index_key_id(CAPI.mongocrypt_ctx_t, CAPI.mongocrypt_binary_t) - Static method in class com.mongodb.crypt.capi.CAPI
-
Set the index key id to use for Queryable Encryption explicit encryption.
- mongocrypt_ctx_setopt_key_alt_name(CAPI.mongocrypt_ctx_t, CAPI.mongocrypt_binary_t) - Static method in class com.mongodb.crypt.capi.CAPI
-
Set the keyAltName to use for explicit encryption.
- mongocrypt_ctx_setopt_key_encryption_key(CAPI.mongocrypt_ctx_t, CAPI.mongocrypt_binary_t) - Static method in class com.mongodb.crypt.capi.CAPI
-
Set key encryption key document for creating a data key.
- mongocrypt_ctx_setopt_key_id(CAPI.mongocrypt_ctx_t, CAPI.mongocrypt_binary_t) - Static method in class com.mongodb.crypt.capi.CAPI
-
Set the key id to use for explicit encryption.
- mongocrypt_ctx_setopt_key_material(CAPI.mongocrypt_ctx_t, CAPI.mongocrypt_binary_t) - Static method in class com.mongodb.crypt.capi.CAPI
-
Set the keyMaterial to use for encrypting data.
- mongocrypt_ctx_setopt_masterkey_aws(CAPI.mongocrypt_ctx_t, CAPI.cstring, int, CAPI.cstring, int) - Static method in class com.mongodb.crypt.capi.CAPI
-
Identify the AWS KMS master key to use for creating a data key.
- mongocrypt_ctx_setopt_masterkey_aws_endpoint(CAPI.mongocrypt_ctx_t, CAPI.cstring, int) - Static method in class com.mongodb.crypt.capi.CAPI
-
Identify a custom AWS endpoint when creating a data key.
- mongocrypt_ctx_setopt_masterkey_local(CAPI.mongocrypt_ctx_t) - Static method in class com.mongodb.crypt.capi.CAPI
-
Set the master key to "local" for creating a data key.
- mongocrypt_ctx_setopt_query_type(CAPI.mongocrypt_ctx_t, CAPI.cstring, int) - Static method in class com.mongodb.crypt.capi.CAPI
-
Set the query type to use for Queryable Encryption explicit encryption.
- mongocrypt_ctx_state(CAPI.mongocrypt_ctx_t) - Static method in class com.mongodb.crypt.capi.CAPI
-
Get the current state of a context.
- mongocrypt_ctx_status(CAPI.mongocrypt_ctx_t, CAPI.mongocrypt_status_t) - Static method in class com.mongodb.crypt.capi.CAPI
-
Get the status associated with a @ref mongocrypt_ctx_t object.
- mongocrypt_ctx_t() - Constructor for class com.mongodb.crypt.capi.CAPI.mongocrypt_ctx_t
- mongocrypt_destroy(CAPI.mongocrypt_t) - Static method in class com.mongodb.crypt.capi.CAPI
-
Destroy the @ref mongocrypt_t object.
- MONGOCRYPT_INDEX_TYPE_EQUALITY - Static variable in class com.mongodb.crypt.capi.CAPI
- MONGOCRYPT_INDEX_TYPE_NONE - Static variable in class com.mongodb.crypt.capi.CAPI
- mongocrypt_init(CAPI.mongocrypt_t) - Static method in class com.mongodb.crypt.capi.CAPI
-
Initialize new @ref mongocrypt_t object.
- mongocrypt_kms_ctx_bytes_needed(CAPI.mongocrypt_kms_ctx_t) - Static method in class com.mongodb.crypt.capi.CAPI
-
Indicates how many bytes to feed into @ref mongocrypt_kms_ctx_feed.
- mongocrypt_kms_ctx_endpoint(CAPI.mongocrypt_kms_ctx_t, PointerByReference) - Static method in class com.mongodb.crypt.capi.CAPI
-
Get the hostname from which to connect over TLS.
- mongocrypt_kms_ctx_feed(CAPI.mongocrypt_kms_ctx_t, CAPI.mongocrypt_binary_t) - Static method in class com.mongodb.crypt.capi.CAPI
-
Feed bytes from the HTTP response.
- mongocrypt_kms_ctx_get_kms_provider(CAPI.mongocrypt_kms_ctx_t, Pointer) - Static method in class com.mongodb.crypt.capi.CAPI
-
Get the KMS provider identifier associated with this KMS request.
- mongocrypt_kms_ctx_message(CAPI.mongocrypt_kms_ctx_t, CAPI.mongocrypt_binary_t) - Static method in class com.mongodb.crypt.capi.CAPI
-
Get the HTTP request message for a KMS handle.
- mongocrypt_kms_ctx_status(CAPI.mongocrypt_kms_ctx_t, CAPI.mongocrypt_status_t) - Static method in class com.mongodb.crypt.capi.CAPI
-
Get the status associated with a @ref mongocrypt_kms_ctx_t object.
- mongocrypt_kms_ctx_t() - Constructor for class com.mongodb.crypt.capi.CAPI.mongocrypt_kms_ctx_t
- MONGOCRYPT_LOG_LEVEL_ERROR - Static variable in class com.mongodb.crypt.capi.CAPI
- MONGOCRYPT_LOG_LEVEL_FATAL - Static variable in class com.mongodb.crypt.capi.CAPI
- MONGOCRYPT_LOG_LEVEL_INFO - Static variable in class com.mongodb.crypt.capi.CAPI
- MONGOCRYPT_LOG_LEVEL_TRACE - Static variable in class com.mongodb.crypt.capi.CAPI
- MONGOCRYPT_LOG_LEVEL_WARNING - Static variable in class com.mongodb.crypt.capi.CAPI
- mongocrypt_new() - Static method in class com.mongodb.crypt.capi.CAPI
-
Allocate a new @ref mongocrypt_t object.
- mongocrypt_opts_t() - Constructor for class com.mongodb.crypt.capi.CAPI.mongocrypt_opts_t
- MONGOCRYPT_QUERY_TYPE_EQUALITY - Static variable in class com.mongodb.crypt.capi.CAPI
- mongocrypt_setopt_aes_256_ctr(CAPI.mongocrypt_t, CAPI.mongocrypt_crypto_fn, CAPI.mongocrypt_crypto_fn, Pointer) - Static method in class com.mongodb.crypt.capi.CAPI
-
Set a crypto hook for the AES256-CTR operations.
- mongocrypt_setopt_append_crypt_shared_lib_search_path(CAPI.mongocrypt_t, CAPI.cstring) - Static method in class com.mongodb.crypt.capi.CAPI
-
Append an additional search directory to the search path for loading the crypt_shared dynamic library.
- mongocrypt_setopt_bypass_query_analysis(CAPI.mongocrypt_t) - Static method in class com.mongodb.crypt.capi.CAPI
-
Opt-into skipping query analysis.
- mongocrypt_setopt_crypto_hook_sign_rsaes_pkcs1_v1_5(CAPI.mongocrypt_t, CAPI.mongocrypt_hmac_fn, Pointer) - Static method in class com.mongodb.crypt.capi.CAPI
-
Set a crypto hook for the RSASSA-PKCS1-v1_5 algorithm with a SHA-256 hash.
- mongocrypt_setopt_crypto_hooks(CAPI.mongocrypt_t, CAPI.mongocrypt_crypto_fn, CAPI.mongocrypt_crypto_fn, CAPI.mongocrypt_random_fn, CAPI.mongocrypt_hmac_fn, CAPI.mongocrypt_hmac_fn, CAPI.mongocrypt_hash_fn, Pointer) - Static method in class com.mongodb.crypt.capi.CAPI
- mongocrypt_setopt_encrypted_field_config_map(CAPI.mongocrypt_t, CAPI.mongocrypt_binary_t) - Static method in class com.mongodb.crypt.capi.CAPI
-
Set a local EncryptedFieldConfigMap for encryption.
- mongocrypt_setopt_kms_provider_aws(CAPI.mongocrypt_t, CAPI.cstring, int, CAPI.cstring, int) - Static method in class com.mongodb.crypt.capi.CAPI
-
Set a handler to get called on every log message.
- mongocrypt_setopt_kms_provider_local(CAPI.mongocrypt_t, CAPI.mongocrypt_binary_t) - Static method in class com.mongodb.crypt.capi.CAPI
-
Configure a local KMS provider on the @ref mongocrypt_t object.
- mongocrypt_setopt_kms_providers(CAPI.mongocrypt_t, CAPI.mongocrypt_binary_t) - Static method in class com.mongodb.crypt.capi.CAPI
-
Configure KMS providers with a BSON document.
- mongocrypt_setopt_log_handler(CAPI.mongocrypt_t, CAPI.mongocrypt_log_fn_t, Pointer) - Static method in class com.mongodb.crypt.capi.CAPI
-
Set a handler to get called on every log message.
- mongocrypt_setopt_schema_map(CAPI.mongocrypt_t, CAPI.mongocrypt_binary_t) - Static method in class com.mongodb.crypt.capi.CAPI
-
Set a local schema map for encryption.
- mongocrypt_setopt_set_crypt_shared_lib_path_override(CAPI.mongocrypt_t, CAPI.cstring) - Static method in class com.mongodb.crypt.capi.CAPI
-
Set a single override path for loading the crypt_shared dynamic library.
- mongocrypt_setopt_use_need_kms_credentials_state(CAPI.mongocrypt_t) - Static method in class com.mongodb.crypt.capi.CAPI
-
Opt-into setting KMS providers before each KMS request.
- mongocrypt_status(CAPI.mongocrypt_t, CAPI.mongocrypt_status_t) - Static method in class com.mongodb.crypt.capi.CAPI
-
Get the status associated with a @ref mongocrypt_t object.
- mongocrypt_status_code(CAPI.mongocrypt_status_t) - Static method in class com.mongodb.crypt.capi.CAPI
-
Get an error code or 0.
- mongocrypt_status_destroy(CAPI.mongocrypt_status_t) - Static method in class com.mongodb.crypt.capi.CAPI
-
Free the memory for a status object.
- MONGOCRYPT_STATUS_ERROR_CLIENT - Static variable in class com.mongodb.crypt.capi.CAPI
- MONGOCRYPT_STATUS_ERROR_KMS - Static variable in class com.mongodb.crypt.capi.CAPI
- mongocrypt_status_message(CAPI.mongocrypt_status_t, Pointer) - Static method in class com.mongodb.crypt.capi.CAPI
-
Get the error message associated with a status, or an empty string.
- mongocrypt_status_new() - Static method in class com.mongodb.crypt.capi.CAPI
-
Create a new status object.
- mongocrypt_status_ok(CAPI.mongocrypt_status_t) - Static method in class com.mongodb.crypt.capi.CAPI
-
Returns true if the status indicates success.
- MONGOCRYPT_STATUS_OK - Static variable in class com.mongodb.crypt.capi.CAPI
- mongocrypt_status_set(CAPI.mongocrypt_status_t, int, int, CAPI.cstring, int) - Static method in class com.mongodb.crypt.capi.CAPI
-
Set a status object with message, type, and code.
- mongocrypt_status_t() - Constructor for class com.mongodb.crypt.capi.CAPI.mongocrypt_status_t
- mongocrypt_status_type(CAPI.mongocrypt_status_t) - Static method in class com.mongodb.crypt.capi.CAPI
-
Indicates success or the type of error.
- mongocrypt_t() - Constructor for class com.mongodb.crypt.capi.CAPI.mongocrypt_t
- mongocrypt_version(Pointer) - Static method in class com.mongodb.crypt.capi.CAPI
-
Returns the version string x.y.z for libmongocrypt.
- MongoCryptContext - Interface in com.mongodb.crypt.capi
-
An interface representing the lifecycle of an encryption or decryption request.
- MongoCryptContext.State - Enum in com.mongodb.crypt.capi
-
The possible states.
- MongoCryptException - Exception in com.mongodb.crypt.capi
-
Top level Exception for all Mongo Crypt CAPI exceptions
- MongoCryptException(String) - Constructor for exception com.mongodb.crypt.capi.MongoCryptException
- MongoCryptException(String, Throwable) - Constructor for exception com.mongodb.crypt.capi.MongoCryptException
- MongoCryptOptions - Class in com.mongodb.crypt.capi
-
The options for configuring MongoCrypt.
- MongoCryptOptions.Builder - Class in com.mongodb.crypt.capi
-
The builder for the options
- MongoCrypts - Class in com.mongodb.crypt.capi
-
The entry point to the MongoCrypt library.
- MongoCrypts() - Constructor for class com.mongodb.crypt.capi.MongoCrypts
- MongoDataKeyOptions - Class in com.mongodb.crypt.capi
-
The options for creation of a data key
- MongoDataKeyOptions.Builder - Class in com.mongodb.crypt.capi
-
Options builder
- MongoExplicitEncryptOptions - Class in com.mongodb.crypt.capi
-
Options for explicit encryption.
- MongoExplicitEncryptOptions.Builder - Class in com.mongodb.crypt.capi
-
The builder for the options
- MongoKeyDecryptor - Interface in com.mongodb.crypt.capi
-
An interface representing a key decryption operation using a key management service.
- MongoLocalKmsProviderOptions - Class in com.mongodb.crypt.capi
-
The options for configuring a local KMS provider.
- MongoLocalKmsProviderOptions.Builder - Class in com.mongodb.crypt.capi
-
The builder for the options
- MongoRewrapManyDataKeyOptions - Class in com.mongodb.crypt.capi
-
The rewrap many data key options
- MongoRewrapManyDataKeyOptions.Builder - Class in com.mongodb.crypt.capi
-
Options builder
N
- NEED_KMS - com.mongodb.crypt.capi.MongoCryptContext.State
-
Need the key management service
- NEED_KMS_CREDENTIALS - com.mongodb.crypt.capi.MongoCryptContext.State
-
Need to fetch/renew KMS credentials
- NEED_MONGO_COLLINFO - com.mongodb.crypt.capi.MongoCryptContext.State
-
Needs collection information from the cluster encrypting to
- NEED_MONGO_KEYS - com.mongodb.crypt.capi.MongoCryptContext.State
-
Need keys from the key vault
- NEED_MONGO_MARKINGS - com.mongodb.crypt.capi.MongoCryptContext.State
-
Need to mark command with encryption markers
- needsKmsCredentialsStateEnabled(boolean) - Method in class com.mongodb.crypt.capi.MongoCryptOptions.Builder
-
Sets whether the MONGOCRYPT_CTX_NEED_KMS_CREDENTIALS is enabled.
- nextKeyDecryptor() - Method in interface com.mongodb.crypt.capi.MongoCryptContext
P
- provideKmsProviderCredentials(BsonDocument) - Method in interface com.mongodb.crypt.capi.MongoCryptContext
-
Provide KMS credentials on demand, in response to NEED_KMS_CREDENTIALS state
- provider(String) - Method in class com.mongodb.crypt.capi.MongoRewrapManyDataKeyOptions.Builder
-
The provider
Q
- queryType(String) - Method in class com.mongodb.crypt.capi.MongoExplicitEncryptOptions.Builder
-
The QueryType.
R
- random(Pointer, CAPI.mongocrypt_binary_t, int, CAPI.mongocrypt_status_t) - Method in interface com.mongodb.crypt.capi.CAPI.mongocrypt_random_fn
- READY - com.mongodb.crypt.capi.MongoCryptContext.State
-
Ready for encryption/decryption
S
- searchPaths(List<String>) - Method in class com.mongodb.crypt.capi.MongoCryptOptions.Builder
-
Sets search paths
- secretAccessKey(String) - Method in class com.mongodb.crypt.capi.MongoAwsKmsProviderOptions.Builder
-
Sets the secret access key.
T
- toString() - Method in class com.mongodb.crypt.capi.CAPI.cstring
- toString() - Method in class com.mongodb.crypt.capi.MongoExplicitEncryptOptions
- trace(String) - Method in interface com.mongodb.crypt.capi.Logger
-
Log a message at the TRACE level.
- trace(String, Throwable) - Method in interface com.mongodb.crypt.capi.Logger
-
Log an exception (throwable) at the TRACE level with an accompanying message.
V
- valueOf(String) - Static method in enum com.mongodb.crypt.capi.MongoCryptContext.State
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.mongodb.crypt.capi.MongoCryptContext.State
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- warn(String) - Method in interface com.mongodb.crypt.capi.Logger
-
Log a message at the WARN level.
- warn(String, Throwable) - Method in interface com.mongodb.crypt.capi.Logger
-
Log an exception (throwable) at the WARN level with an accompanying message.
All Classes All Packages