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

XMLWordPrintableJSON

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

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

              Created:
              Updated:
              Resolved: