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

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

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.6.0-rc0, 3.6.0
    • None
    • None

    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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: