PdfEncryptionDetails
Inheritance: java.lang.Object
public class PdfEncryptionDetails
Contains details for a pdf encryption.
Constructors
Constructor | Description |
---|---|
PdfEncryptionDetails(String userPassword, String ownerPassword, int encryptionAlgorithm) | Ctor. |
Methods
Method | Description |
---|---|
equals(Object arg0) | |
getClass() | |
getEncryptionAlgorithm() | the encryption mode. |
getOwnerPassword() | the Owner password. |
getPermissions() | the permissions. |
getUserPassword() | the User password. |
hashCode() | |
notify() | |
notifyAll() | |
setEncryptionAlgorithm(int value) | For the description of this property, please see getEncryptionAlgorithm() |
setOwnerPassword(String value) | For the description of this property, please see getOwnerPassword() |
setPermissions(int value) | For the description of this property, please see getPermissions() |
setUserPassword(String value) | For the description of this property, please see getUserPassword() |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
PdfEncryptionDetails(String userPassword, String ownerPassword, int encryptionAlgorithm)
public PdfEncryptionDetails(String userPassword, String ownerPassword, int encryptionAlgorithm)
Ctor.
Parameters:
Parameter | Type | Description |
---|---|---|
userPassword | java.lang.String | |
ownerPassword | java.lang.String | |
encryptionAlgorithm | int |
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getEncryptionAlgorithm()
public int getEncryptionAlgorithm()
the encryption mode.
Returns: int
getOwnerPassword()
public String getOwnerPassword()
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\u9225\u6a9a passwords and access permissions.
Returns: java.lang.String
getPermissions()
public int getPermissions()
the permissions.
Returns: int
getUserPassword()
public String getUserPassword()
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\u9225\u6a9a encryption dictionary.
Returns: java.lang.String
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setEncryptionAlgorithm(int value)
public void setEncryptionAlgorithm(int value)
For the description of this property, please see getEncryptionAlgorithm()
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setOwnerPassword(String value)
public void setOwnerPassword(String value)
For the description of this property, please see getOwnerPassword()
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
setPermissions(int value)
public void setPermissions(int value)
For the description of this property, please see getPermissions()
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
setUserPassword(String value)
public void setUserPassword(String value)
For the description of this property, please see getUserPassword()
Parameters:
Parameter | Type | Description |
---|---|---|
value | java.lang.String |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final native void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |