PdfEncryptionDetails
Source: aspose.
Contains details for a pdf encryption.
new PdfEncryptionDetails()
Ctor.
Methods
getEncryptionAlgorithm()
Gets or sets the encryption mode. The value of the property is PdfEncryptionAlgorithm integer constant.
getOwnerPassword()
Gets or 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.
getPermissions()
Gets or sets the permissions. The value of the property is PdfPermissions integer constant.
getUserPassword()
Gets or 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.
setEncryptionAlgorithm()
Gets or sets the encryption mode. The value of the property is PdfEncryptionAlgorithm integer constant.
setOwnerPassword()
Gets or 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.
setPermissions()
Gets or sets the permissions. The value of the property is PdfPermissions integer constant.
setUserPassword()
Gets or 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.