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

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

    XMLWordPrintable

    Details

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

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

              Dates

              Created:
              Updated:
              Resolved: