public class PdfEncryptionDetails
Constructor Summary |
---|
PdfEncryptionDetails(java.lang.StringuserPassword, java.lang.StringownerPassword, intencryptionAlgorithm)
Ctor. |
Property Getters/Setters Summary | ||
---|---|---|
int | getEncryptionAlgorithm() | |
void | setEncryptionAlgorithm(intvalue) | |
Gets or sets the encryption mode. The value of the property is PdfEncryptionAlgorithm integer constant. | ||
java.lang.String | getOwnerPassword() | |
void | setOwnerPassword(java.lang.Stringvalue) | |
Gets or sets the Owner password. | ||
int | getPermissions() | |
void | setPermissions(intvalue) | |
Gets or sets the permissions. The value of the property is PdfPermissions integer constant. | ||
java.lang.String | getUserPassword() | |
void | setUserPassword(java.lang.Stringvalue) | |
Gets or sets the User password. |
public PdfEncryptionDetails(java.lang.String userPassword, java.lang.String ownerPassword, int encryptionAlgorithm)
encryptionAlgorithm
- A PdfEncryptionAlgorithm value.public java.lang.String getUserPassword() / public void setUserPassword(java.lang.String value)
public java.lang.String getOwnerPassword() / public void setOwnerPassword(java.lang.String value)
public int getPermissions() / public void setPermissions(int value)
public int getEncryptionAlgorithm() / public void setEncryptionAlgorithm(int value)