Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-71338

Replace IDL FLE2InsertUpdatePayload with mc_FLE2InsertUpdatePayload_t

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Server Security

      Replace IDL FLE2InsertUpdatePayload with new class of same name that is backed by mc_FLE2InsertUpdatePayload_t via composition. New class will be strongly typed (i.e. return tokens, not ConstDataRange). It can use existing generated IDL code to bootstrap (the IDL header has all the declarations for getters/setters that are needed).

      For instance, the new class can have a method

      EDCDerivedFromDataToken getEdcDerivedToken()

      instead of the original IDL method

      ConstDataRange getEdcDerivedToken()

            Assignee:
            backlog-server-security [DO NOT USE] Backlog - Security Team
            Reporter:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: