diff options
Diffstat (limited to 'src/mongo/shell/encrypted_dbclient_base.h')
-rw-r--r-- | src/mongo/shell/encrypted_dbclient_base.h | 5 |
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; |