[CXX-1964] Make bsoncxx value types capable of owning their own memory Created: 17/Mar/20  Updated: 28/Oct/23  Resolved: 23/Apr/20

Status: Closed
Project: C++ Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 3.6.0-rc0, 3.6.0

Type: Task 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

Issue Links:
Gantt Dependency
has to be done before CXX-1687 Support Client-side Field Level Encry... Closed
Related
related to CXX-2251 Missing bsoncxx/types/value.hpp Closed
Epic Link: Client Side Encryption (FLE)

 Description   

The bsoncxx value types are all views into a buffer of memory managed by an owning bsoncxx document.  However, the Client Side Encryption project requires that BSON values be handling and passed around independently of documents; specifically, this supports explicit encrypt() and decrypt() methods, which operate on a per-BSON-value level.  Before CXX-1687 can be completed bsoncxx value types must be capable of owning their own memory, not just containing views into a buffer hosted elsewhere.



 Comments   
Comment by Githook User [ 23/Apr/20 ]

Author:

{'name': 'samantharitter', 'email': 'samantha.ritter@10gen.com', 'username': 'samantharitter'}

Message: CXX-1964 implement a types::bson_value::value class
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/2c3b173bb4c3eb8a1b3ef3bced61726814122837

Comment by Githook User [ 23/Apr/20 ]

Author:

{'name': 'samantharitter', 'email': 'samantha.ritter@10gen.com', 'username': 'samantharitter'}

Message: CXX-1964 change all uses of types::value to types::bson_value::view
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/27b36071a50d953cc68c96033c0d0d58f3a54f8d

Comment by Githook User [ 23/Apr/20 ]

Author:

{'name': 'samantharitter', 'email': 'samantha.ritter@10gen.com', 'username': 'samantharitter'}

Message: CXX-1964 rename types::value to types::bson_value::view
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/fb7764bcff42047dc490d3ba62ec688108fe4434

Comment by Githook User [ 23/Apr/20 ]

Author:

{'name': 'samantharitter', 'email': 'samantha.ritter@10gen.com', 'username': 'samantharitter'}

Message: CXX-1964 move bsoncxx::types struct creation into bsoncxx::types::value class
Branch: master
https://github.com/mongodb/mongo-cxx-driver/commit/600142f13f5de060ca5b974dd8b662d7cd549f27

Generated at Wed Feb 07 22:04:28 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.