public class PdfEncryptionInfo
extends java.lang.Object
Contains details for a pdf encryption.
| Constructor and Description |
|---|
PdfEncryptionInfo(java.lang.String userPassword,
java.lang.String ownerPassword,
int permissions,
int encryptionAlgorithm)
Initializes a new instance of the
PdfEncryptionInfo class. |
| Modifier and Type | Method and Description |
|---|---|
int |
getEncryptionAlgorithm()
Gets or sets the encryption mode.
|
java.lang.String |
getOwnerPassword()
Gets or sets the Owner password.
|
int |
getPermissions()
Gets or sets the permissions.
|
java.lang.String |
getUserPassword()
Gets or sets the User password.
|
void |
setEncryptionAlgorithm(int value)
Gets or sets the encryption mode.
|
void |
setOwnerPassword(java.lang.String value)
Gets or sets the Owner password.
|
void |
setPermissions(int value)
Gets or sets the permissions.
|
void |
setUserPassword(java.lang.String value)
Gets or sets the User password.
|
public PdfEncryptionInfo(java.lang.String userPassword,
java.lang.String ownerPassword,
int permissions,
int encryptionAlgorithm)
Initializes a new instance of the PdfEncryptionInfo class.
userPassword - The user password.ownerPassword - The owner password.permissions - The permissions.encryptionAlgorithm - The encryption algorithm.public java.lang.String getUserPassword()
Gets or sets the User password.
Value: The user password.public void setUserPassword(java.lang.String value)
Gets or sets the User password.
Value: The user password.public java.lang.String getOwnerPassword()
Gets or sets the Owner password.
Value: The owner password.public void setOwnerPassword(java.lang.String value)
Gets or sets the Owner password.
Value: The owner password.public int getPermissions()
Gets or sets the permissions.
Value: The permissions.public void setPermissions(int value)
Gets or sets the permissions.
Value: The permissions.public int getEncryptionAlgorithm()
Gets or sets the encryption mode.
Value: The encryption algorithm.public void setEncryptionAlgorithm(int value)
Gets or sets the encryption mode.
Value: The encryption algorithm.