summaryrefslogtreecommitdiff
path: root/src/mongo/crypto/fle_crypto.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/crypto/fle_crypto.h')
-rw-r--r--src/mongo/crypto/fle_crypto.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mongo/crypto/fle_crypto.h b/src/mongo/crypto/fle_crypto.h
index a64f567219b..e259a7848f0 100644
--- a/src/mongo/crypto/fle_crypto.h
+++ b/src/mongo/crypto/fle_crypto.h
@@ -714,6 +714,14 @@ public:
static std::pair<BSONType, std::vector<uint8_t>> decrypt(BSONElement element,
FLEKeyVault* keyVault);
+ static FLE2FindEqualityPayload parseFindPayload(ConstDataRange cdr);
+
+ static FLE2FindEqualityPayload serializeFindPayload(FLEIndexKeyAndId indexKey,
+ FLEUserKeyAndId userKey,
+ BSONElement element,
+ uint64_t maxContentionFactor);
+
+
/**
* Generates a client-side payload that is sent to the server.
*