aspose.diagram
Class PdfEncryptionDetails

Contains details for a pdf encryption.

Constructor Summary
PdfEncryptionDetails(userPassword, ownerPassword, encryptionAlgorithm)
           Ctor.
 
Property Getters/Setters Summary
functiongetEncryptionAlgorithm()
functionsetEncryptionAlgorithm(value)
           Gets or sets the encryption mode. The value of the property is PdfEncryptionAlgorithm integer constant.
functiongetOwnerPassword()
functionsetOwnerPassword(value)
           Gets or sets the Owner password.
functiongetPermissions()
functionsetPermissions(value)
           Gets or sets the permissions. The value of the property is PdfPermissions integer constant.
functiongetUserPassword()
functionsetUserPassword(value)
           Gets or sets the User password.
 

Constructor Detail

PdfEncryptionDetails

function PdfEncryptionDetails(userPassword, ownerPassword, encryptionAlgorithm)
Ctor.
Parameters:
encryptionAlgorithm - A PdfEncryptionAlgorithm value.

Property Getters/Setters Detail

getUserPassword/setUserPassword : String 

function getUserPassword() / function setUserPassword(value)
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.

getOwnerPassword/setOwnerPassword : String 

function getOwnerPassword() / function setOwnerPassword(value)
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/setPermissions : Number 

function getPermissions() / function setPermissions(value)
Gets or sets the permissions. The value of the property is PdfPermissions integer constant.

getEncryptionAlgorithm/setEncryptionAlgorithm : Number 

function getEncryptionAlgorithm() / function setEncryptionAlgorithm(value)
Gets or sets the encryption mode. The value of the property is PdfEncryptionAlgorithm integer constant.

See Also:
          Aspose.Cells Documentation - the home page for the Aspose.Cellss Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.