#include <encryption_hooks.h>
◆ ~EncryptionHooks()
mongo::EncryptionHooks::~EncryptionHooks |
( |
| ) |
|
|
virtual |
◆ additionalBytesForProtectedBuffer()
size_t mongo::EncryptionHooks::additionalBytesForProtectedBuffer |
( |
| ) |
|
|
inline |
Returns the maximum size addition when doing transforming temp data.
◆ enabled()
bool mongo::EncryptionHooks::enabled |
( |
| ) |
const |
|
virtual |
Returns true if the encryption hooks are enabled.
◆ get()
◆ getDataProtector()
std::unique_ptr< DataProtector > mongo::EncryptionHooks::getDataProtector |
( |
| ) |
|
|
virtual |
Get the data protector object.
◆ getProtectedPathSuffix()
boost::filesystem::path mongo::EncryptionHooks::getProtectedPathSuffix |
( |
| ) |
|
|
virtual |
Get an implementation specific path suffix to tag files with.
◆ protectTmpData()
Status mongo::EncryptionHooks::protectTmpData |
( |
const uint8_t * |
in, |
|
|
size_t |
inLen, |
|
|
uint8_t * |
out, |
|
|
size_t |
outLen, |
|
|
size_t * |
resultLen |
|
) |
| |
|
virtual |
Transform temp data to non-readable form before writing it to disk.
◆ restartRequired()
bool mongo::EncryptionHooks::restartRequired |
( |
| ) |
|
|
virtual |
Perform any encryption engine initialization/sanity checking that needs to happen after storage engine initialization but before the server starts accepting incoming connections.
Returns true if the server needs to be rebooted because of configuration changes.
◆ set()
void mongo::EncryptionHooks::set |
( |
ServiceContext * |
service, |
|
|
std::unique_ptr< EncryptionHooks > |
custHooks |
|
) |
| |
|
static |
◆ unprotectTmpData()
Status mongo::EncryptionHooks::unprotectTmpData |
( |
const uint8_t * |
in, |
|
|
size_t |
inLen, |
|
|
uint8_t * |
out, |
|
|
size_t |
outLen, |
|
|
size_t * |
resultLen |
|
) |
| |
|
virtual |
Tranforms temp data back to readable form, after reading from disk.
The documentation for this class was generated from the following files: