#include <mongocxx/v1/encrypt_options.hpp>
Options related to explicit encryption for In-Use Encryption.
Supported fields include:
- See also
-
- Attention
- This feature is experimental! It is not ready for use!
◆ encryption_algorithm
An encryption algorithm.
- See also
-
| Enumerator |
|---|
| k_deterministic | "AEAD_AES_256_CBC_HMAC_SHA_512-Deterministic"
|
| k_random | "AEAD_AES_256_CBC_HMAC_SHA_512-Random"
|
| k_indexed | "Indexed"
|
| k_unindexed | "Unindexed"
|
| k_range | "Range"
|
| k_textPreview | "TextPreview"
- Attention
- This feature is experimental! It is not ready for use!
|
◆ encryption_query_type
A query type.
- See also
-
| Enumerator |
|---|
| k_equality | "equalty"
|
| k_range | "range"
|
| k_prefixPreview | "prefixPreview"
- Attention
- This feature is experimental! It is not ready for use!
|
| k_suffixPreview | "suffixPreview"
- Attention
- This feature is experimental! It is not ready for use!
|
| k_substringPreview | "substringPreview"
- Attention
- This feature is experimental! It is not ready for use!
|
◆ ~encrypt_options()
| mongocxx::v1::encrypt_options::~encrypt_options |
( |
| ) |
|
Destroy this object.
- Warning
- Invalidates all associated views.
◆ encrypt_options() [1/3]
| mongocxx::v1::encrypt_options::encrypt_options |
( |
encrypt_options && | other | ) |
|
|
noexcept |
Move constructor.
- Postconditions:
- other is in an assign-or-destroy-only state.
◆ encrypt_options() [2/3]
| mongocxx::v1::encrypt_options::encrypt_options |
( |
encrypt_options const & | other | ) |
|
◆ encrypt_options() [3/3]
| mongocxx::v1::encrypt_options::encrypt_options |
( |
| ) |
|
Default initialization.
- Postconditions:
- All supported fields are "unset" or zero-initialized.
◆ algorithm() [1/2]
Return the current "algorithm" field.
◆ algorithm() [2/2]
Set the "algorithm" field.
◆ contention_factor() [1/2]
Return the current "contentionFactor" field.
◆ contention_factor() [2/2]
| encrypt_options & mongocxx::v1::encrypt_options::contention_factor |
( |
std::int64_t | v | ) |
|
Set the "contentionFactor" field.
◆ key_alt_name() [1/2]
Return the "keyAltName" field.
◆ key_alt_name() [2/2]
| encrypt_options & mongocxx::v1::encrypt_options::key_alt_name |
( |
std::string | v | ) |
|
Set the "keyAltName" field.
◆ key_id() [1/2]
Return the current "keyId" field.
◆ key_id() [2/2]
Set the "keyId" field.
- Parameters
-
◆ operator=() [1/2]
Move assignment.
- Postconditions:
- other is in an assign-or-destroy-only state.
◆ operator=() [2/2]
◆ query_type() [1/2]
Return the current "queryType" field.
◆ query_type() [2/2]
Set the "queryType" field.
◆ range_opts() [1/2]
Return the current "rangeOpts" field.
◆ range_opts() [2/2]
Set the "rangeOpts" field.
◆ text_opts() [1/2]
Return the current "textOpts" field.
- Attention
- This feature is experimental! It is not ready for use!
◆ text_opts() [2/2]
Set the "textOpts" field.
The documentation for this class was generated from the following file: