Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-2063

options::encrypt::key_id() should take a bson_value

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.0-rc0, 3.6.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      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.

            Assignee:
            samantha.ritter@mongodb.com Samantha Ritter (Inactive)
            Reporter:
            samantha.ritter@mongodb.com Samantha Ritter (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: