-
Notifications
You must be signed in to change notification settings - Fork 456
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CDRIVER-5644 Add option to configure DEK cache lifetime (#1779)
Implement new libmongocrypt option to configure cache expiration time. Sync new spec tests.
- Loading branch information
1 parent
9ce5695
commit b0edf30
Showing
16 changed files
with
612 additions
and
7 deletions.
There are no files selected for viewing
27 changes: 27 additions & 0 deletions
27
src/libmongoc/doc/mongoc_auto_encryption_opts_set_key_expiration.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
:man_page: mongoc_auto_encryption_opts_set_key_expiration | ||
|
||
mongoc_auto_encryption_opts_set_key_expiration() | ||
======================================================== | ||
|
||
Synopsis | ||
-------- | ||
|
||
.. code-block:: c | ||
void | ||
mongoc_auto_encryption_opts_set_key_expiration ( | ||
mongoc_auto_encryption_opts_t *opts, uint64_t cache_expiration_ms); | ||
Parameters | ||
---------- | ||
|
||
* ``opts``: The :symbol:`mongoc_auto_encryption_opts_t` | ||
* ``cache_expiration_ms``: The data encryption key cache expiration time in milliseconds. | ||
|
||
.. seealso:: | ||
|
||
| :symbol:`mongoc_client_enable_auto_encryption()` | ||
| `In-Use Encryption <in-use-encryption_>`_ | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
src/libmongoc/doc/mongoc_client_encryption_opts_set_key_expiration.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
:man_page: mongoc_client_encryption_opts_set_key_expiration | ||
|
||
mongoc_client_encryption_opts_set_key_expiration() | ||
======================================================== | ||
|
||
Synopsis | ||
-------- | ||
|
||
.. code-block:: c | ||
void | ||
mongoc_client_encryption_opts_set_key_expiration ( | ||
mongoc_client_encryption_opts_t *opts, uint64_t cache_expiration_ms); | ||
Parameters | ||
---------- | ||
|
||
* ``opts``: The :symbol:`mongoc_client_encryption_opts_t` | ||
* ``cache_expiration_ms``: The data encryption key cache expiration time in milliseconds. | ||
|
||
.. seealso:: | ||
|
||
| :symbol:`mongoc_client_encryption_new()` | ||
| `In-Use Encryption <in-use-encryption_>`_ | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.