Aspose::Words::Saving::PdfEncryptionDetails class

PdfEncryptionDetails class

Contains details for encrypting and access permissions for a PDF document. To learn more, visit the Protect or Encrypt a Document documentation article.

class PdfEncryptionDetails : public System::Object

Methods

MethodDescription
PdfEncryptionDetails(const System::String &, const System::String &)Initializes an instance of this class.
PdfEncryptionDetails(const System::String &, const System::String &, Aspose::Words::Saving::PdfPermissions)Initializes an instance of this class.
get_OwnerPassword() constSpecifies the owner password for the encrypted PDF document.
get_Permissions() constSpecifies the operations that are allowed to a user on an encrypted PDF document. The default value is DisallowAll.
get_UserPassword() constSpecifies the user password required for opening the encrypted PDF document.
set_OwnerPassword(const System::String &)Specifies the owner password for the encrypted PDF document.
set_Permissions(Aspose::Words::Saving::PdfPermissions)Specifies the operations that are allowed to a user on an encrypted PDF document. The default value is DisallowAll.
set_UserPassword(const System::String &)Specifies the user password required for opening the encrypted PDF document.

See Also