-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
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.