#include <virtru_encrypt_file_params.h>
virtru::EncryptFileParams::EncryptFileParams |
( |
const std::string & |
inFilePath | ) |
|
Constructor NOTE: The out file path will have .html/.tdf extension appended to inFilePath based on protocol.
- Parameters
-
inFilePath | - The file on which the encryption is performed |
virtru::EncryptFileParams::EncryptFileParams |
( |
const std::string & |
inFilePath, |
|
|
const std::string & |
outFilePath |
|
) |
| |
Constructor
- Parameters
-
inFilePath | - The file on which the encryption is performed |
outFilePath | - The file path of the tdf after successful encryption |
virtru::EncryptFileParams::EncryptFileParams |
( |
| ) |
|
|
delete |
Default constructor not supported.
virtual virtru::EncryptFileParams::~EncryptFileParams |
( |
| ) |
|
|
virtual |
virtru::EncryptFileParams::EncryptFileParams |
( |
const EncryptFileParams & |
encryptedFileParams | ) |
|
virtru::EncryptFileParams::EncryptFileParams |
( |
EncryptFileParams && |
encryptedFileParams | ) |
|
Move assignment operator.
void virtru::EncryptParams::setDisplayMessage |
( |
const std::string & |
displayMessage | ) |
|
|
inherited |
Set the display message for the tdf, this message shows up on the Virtru dashboard
- Parameters
-
displayMessage | - The display message for the tdf |
void virtru::EncryptParams::setDisplayName |
( |
const std::string & |
displayName | ) |
|
|
inherited |
Set the display name for the tdf, this name shows up on the Virtru dashboard NOTE: If not set, the basename of inFilePath will be used
- Parameters
-
displayName | - The display name for the tdf |
void virtru::EncryptParams::setMimeType |
( |
const std::string & |
mimeType | ) |
|
|
inherited |
Set the mime type (format) of the file that will be encrypted NOTE: The default will be 'application/octet-stream' if not specified
- Parameters
-
mimeType | - The mime type of the file |
void virtru::EncryptParams::setPolicy |
( |
const Policy & |
policy | ) |
|
|
inherited |
Set the policy that to be applied to the tdf NOTE: If there is no policy defined for the tdf, default policy settings will be applied
- Parameters
-
policy | - The policy object |
void virtru::EncryptParams::shareWithUsers |
( |
const std::vector< std::string > & |
users | ) |
|
|
inherited |
Add access to the TDF file/data for the users in the list
- Parameters
-
users | - Share the TDF with the users in the vector |
friend virtru::EncryptFileParams::Client |
|
private |
std::string virtru::EncryptParams::m_displayMessage |
|
protectedinherited |
std::string virtru::EncryptParams::m_displayName |
|
protectedinherited |
std::string virtru::EncryptFileParams::m_inputFilePath |
|
private |
std::string virtru::EncryptParams::m_mimeType |
|
protectedinherited |
std::string virtru::EncryptFileParams::m_outFilePath |
|
private |
Policy virtru::EncryptParams::m_policy |
|
protectedinherited |
std::vector<std::string> virtru::EncryptParams::m_sharedUsers |
|
protectedinherited |
std::string virtru::EncryptParams::m_tdfOwner |
|
protectedinherited |
The documentation for this class was generated from the following file: