[CXX-2063] options::encrypt::key_id() should take a bson_value Created: 02/Jul/20 Updated: 28/Oct/23 Resolved: 08/Jul/20 |
|
| Status: | Closed |
| Project: | C++ Driver |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 3.6.0-rc0, 3.6.0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Samantha Ritter (Inactive) | Assignee: | Samantha Ritter (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Epic Link: | Client Side Encryption (FLE) |
| Description |
|
Currently, this method takes a bsoncxx::types::b_binary, which is a non-owning type. The user is then responsible for managing the lifetime of the binary and ensuring that it outlives the options::encrypt instance. Let's change this method to take a bson_value, which can own its own memory. |
| Comments |
| Comment by Githook User [ 08/Jul/20 ] |
|
Author: {'name': 'samantharitter', 'email': 'samantha.ritter@10gen.com', 'username': 'samantharitter'}Message: |
| Comment by Githook User [ 08/Jul/20 ] |
|
Author: {'name': 'samantharitter', 'email': 'samantha.ritter@10gen.com', 'username': 'samantharitter'}Message: |
| Comment by Samantha Ritter (Inactive) [ 08/Jul/20 ] |
|
code review: https://github.com/mongodb/mongo-cxx-driver/pull/687 |