[CSHARP-4157] Add FLE 2 API to ClientEncryptionOpts Created: 28/Apr/22 Updated: 28/Oct/23 Resolved: 02/Jun/22 |
|
| Status: | Closed |
| Project: | C# Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 2.16.0 |
| Type: | Spec Change | Priority: | Unknown |
| Reporter: | PM Bot | Assignee: | Dmitry Lukyanov (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Epic Link: | FLE 2.0 Support | ||||||||
| Server Compat: | 6.0 | ||||||||
| Quarter: | FY23Q2 | ||||||||
| Upstream Changes Summary: |
Please see the Go driver implementation for reference. Bindings changesUpgrade libmongocrypt dependency to 1.5.0. Drivers can use 1.5.0-alpha1 to test. Binaries are available from this upload-all task. Update the bindings to libmongocrypt to add the new functions: mongocrypt_ctx_setopt_index_type, mongocrypt_ctx_setopt_query_type, and mongocrypt_ctx_setopt_contention_factor. Driver changesAdd the new driver 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). Test changesAdd new prose tests for FLE 2.0 explicit encryption. |
||||||||
| Description |
|
This ticket was split from |
| Comments |
| Comment by Githook User [ 02/Jun/22 ] |
|
Author: {'name': 'Dmitry Lukyanov', 'email': 'dmitry.lukyanov@mongodb.com', 'username': 'DmitryLukyanov'}Message:
|
| Comment by Githook User [ 01/Jun/22 ] |
|
Author: {'name': 'Dmitry Lukyanov', 'email': 'dmitry.lukyanov@mongodb.com', 'username': 'DmitryLukyanov'}Message:
Co-authored-by: Boris <boris.dogadov@mongodb.com> |