-
Type: New Feature
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: pymongocrypt
-
None
Before we start PYTHON-3245, we need to add FLE 2 APIs for explicit encryption to pymongocrypt. We need to:
Add the new API options: EncryptOpts.queryType and EncryptOpts.contentionFactor.
Pass EncryptOpts.queryType to libmongocrypt with mongocrypt_ctx_setopt_query_type.
Pass EncryptOpts.contentionFactor to libmongocrypt with mongocrypt_ctx_setopt_contention_factor.
If EncryptOpts.algorithm is "Indexed", call mongocrypt_ctx_setopt_index_type(ctx, MONGOCRYPT_INDEX_TYPE_EQUALITY).
If EncryptOpts.algorithm is "Unindexed", call mongocrypt_ctx_setopt_index_type(ctx, MONGOCRYPT_INDEX_TYPE_NONE).
- is depended on by
-
PYTHON-3245 Add FLE 2 API to ClientEncryptionOpts
- Closed