summaryrefslogtreecommitdiff
path: root/src/mongo/shell/encrypted_dbclient_base.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mongo/shell/encrypted_dbclient_base.h')
-rw-r--r--src/mongo/shell/encrypted_dbclient_base.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/mongo/shell/encrypted_dbclient_base.h b/src/mongo/shell/encrypted_dbclient_base.h
index 838d110a477..8a6bab60f59 100644
--- a/src/mongo/shell/encrypted_dbclient_base.h
+++ b/src/mongo/shell/encrypted_dbclient_base.h
@@ -118,6 +118,9 @@ public:
using EncryptionCallbacks::decrypt;
void decrypt(mozjs::MozJSImplScope* scope, JSContext* cx, JS::CallArgs args) final;
+ using EncryptionCallbacks::compact;
+ void compact(JSContext* cx, JS::CallArgs args) final;
+
using EncryptionCallbacks::trace;
void trace(JSTracer* trc) final;
@@ -201,6 +204,8 @@ private:
std::shared_ptr<SymmetricKey> getDataKeyFromDisk(const UUID& uuid);
SecureVector<uint8_t> getKeyMaterialFromDisk(const UUID& uuid);
+ boost::optional<EncryptedFieldConfig> getEncryptedFieldConfig(const NamespaceString& nss);
+
protected:
std::unique_ptr<DBClientBase> _conn;
ClientSideFLEOptions _encryptionOptions;