Details
-
Task
-
Resolution: Fixed
-
Major - P3
-
None
-
None
-
None
-
Fully Compatible
-
Security 2023-01-23
Description
For v2 of the QE protocol, the following payload types need to be defined in fle_field_schema.idl:
1. FLE2InsertUpdatePayloadV2
2. FLE2FindEqualityPayloadV2
3. FLE2FindRangePayloadV2
FLE2InsertUpdatePayloadV2 is mostly similar to FLE2InsertUpdatePayload, but the "c" field is replaced by an "l" field that encodes the ServerDerivedFromDataToken; a "k" field is added (type "long") to hold the contentionFactor, and the "g" field is changed to be an array of EdgeTokenSetV2.
EdgeTokenSetV2 and FLE2FindEqualityPayloadV2 are similar to EdgeTokenSet and FLE2FindEqualityPayload, respectively, but with the "c" field replaced by an "l" field that holds the ServerDerivedFromDataToken.
FLE2FindRangePayloadV2 is similar to FLE2FindRangePayload, but with the "payload" field changed to be of type FLE2FindRangePayloadEdgesInfoV2.