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
    • None
    • Server Security
    • Security 2024-11-11, Security 2024-11-25, Security 2024-12-09, Security 2024-12-23

      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:
            sara.golemon@mongodb.com Sara Golemon
            Reporter:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: