PdfEncryptionDetails

Inheritance: java.lang.Object

public class PdfEncryptionDetails

Contains details for a pdf encryption.

Constructors

ConstructorDescription
PdfEncryptionDetails(String userPassword, String ownerPassword, int encryptionAlgorithm)Ctor.

Methods

MethodDescription
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:

ParameterTypeDescription
userPasswordjava.lang.String
ownerPasswordjava.lang.String
encryptionAlgorithmint

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.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:

ParameterTypeDescription
valueint

setOwnerPassword(String value)

public void setOwnerPassword(String value)

For the description of this property, please see getOwnerPassword()

Parameters:

ParameterTypeDescription
valuejava.lang.String

setPermissions(int value)

public void setPermissions(int value)

For the description of this property, please see getPermissions()

Parameters:

ParameterTypeDescription
valueint

setUserPassword(String value)

public void setUserPassword(String value)

For the description of this property, please see getUserPassword()

Parameters:

ParameterTypeDescription
valuejava.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:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int