Aspose.Tasks for C++
|
Contains details for a PDF encryption. More...
#include <PdfEncryptionDetails.h>
Inherits System::Object.
Public Member Functions | |
PdfEncryptionAlgorithm | get_EncryptionAlgorithm () const |
Gets the encryption mode. More... | |
void | set_EncryptionAlgorithm (PdfEncryptionAlgorithm value) |
Sets the encryption mode. More... | |
System::String | get_OwnerPassword () const |
Gets the Owner password. More... | |
void | set_OwnerPassword (const System::String &value) |
Sets the Owner password. More... | |
PdfPermissions | get_Permissions () const |
Gets the permissions. More... | |
void | set_Permissions (PdfPermissions value) |
Sets the permissions. More... | |
System::String | get_UserPassword () const |
Gets the User password. More... | |
void | set_UserPassword (const System::String &value) |
Sets the User password. More... | |
PdfEncryptionDetails (const System::String &userPassword, const System::String &ownerPassword, PdfEncryptionAlgorithm encryptionAlgorithm) | |
Initializes a new instance of the PdfEncryptionDetails class. More... | |
Contains details for a PDF encryption.
Aspose::Tasks::Saving::PdfEncryptionDetails::PdfEncryptionDetails | ( | const System::String & | userPassword, |
const System::String & | ownerPassword, | ||
PdfEncryptionAlgorithm | encryptionAlgorithm | ||
) |
Initializes a new instance of the PdfEncryptionDetails class.
userPassword | The user password allowing to open protected documents. |
ownerPassword | The owner password allowing to open protected documents. |
encryptionAlgorithm | The PdfEncryptionAlgorithm instance which indicate encryption algorithm. |
PdfEncryptionAlgorithm Aspose::Tasks::Saving::PdfEncryptionDetails::get_EncryptionAlgorithm | ( | ) | const |
Gets the encryption mode.
System::String Aspose::Tasks::Saving::PdfEncryptionDetails::get_OwnerPassword | ( | ) | const |
Gets the Owner password.
Opening the document with the correct owner password (assuming it is not the same as the user password) allows full (owner) access to the document. This unlimited access includes the ability to change the document’s passwords and access permissions.
PdfPermissions Aspose::Tasks::Saving::PdfEncryptionDetails::get_Permissions | ( | ) | const |
Gets the permissions.
System::String Aspose::Tasks::Saving::PdfEncryptionDetails::get_UserPassword | ( | ) | const |
Gets the User password.
Opening the document with the correct user password (or opening a document that does not have a user password) allows additional operations to be performed according to the user access permissions specified in the document’s encryption dictionary.
void Aspose::Tasks::Saving::PdfEncryptionDetails::set_EncryptionAlgorithm | ( | PdfEncryptionAlgorithm | value | ) |
Sets the encryption mode.
void Aspose::Tasks::Saving::PdfEncryptionDetails::set_OwnerPassword | ( | const System::String & | value | ) |
Sets the Owner password.
Opening the document with the correct owner password (assuming it is not the same as the user password) allows full (owner) access to the document. This unlimited access includes the ability to change the document’s passwords and access permissions.
void Aspose::Tasks::Saving::PdfEncryptionDetails::set_Permissions | ( | PdfPermissions | value | ) |
Sets the permissions.
void Aspose::Tasks::Saving::PdfEncryptionDetails::set_UserPassword | ( | const System::String & | value | ) |
Sets the User password.
Opening the document with the correct user password (or opening a document that does not have a user password) allows additional operations to be performed according to the user access permissions specified in the document’s encryption dictionary.