|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.adobe.livecycle.encryption.client.BasePasswordEncryptionSpec
public class BasePasswordEncryptionSpec
Specifies encryption perferences for password protecting a PDF document using the LiveCycle Encryption service. To see an object of this type used in a code example, see the Encrypting a PDF document using the Java API quick start in Programming with LiveCycle ES3.
Constructor Summary | |
---|---|
BasePasswordEncryptionSpec()
A standard constructor that creates a BasePasswordEncryptionSpec object. |
|
BasePasswordEncryptionSpec(String documentOpenPassword,
String permissionsPassword)
Constructs a BasePasswordEncryptionSpec object that is used to encrypt a
PDF document with a password. |
Method Summary | |
---|---|
String |
getDocumentOpenPassword()
Gets the password value that is used to open the password-encrypted PDF document. |
String |
getPermissionPassword()
Gets the password value that is used to modify permissions or remove password-based encryption from the PDF document. |
List |
getPermissionsRequested()
Gets the permissions that are applicable to users that open a password-encrypted PDF document within Adobe Reader or Acrobat. |
void |
setDocumentOpenPassword(String password)
Sets the password value that is used to open the password-encrypted PDF document. |
void |
setPermissionPassword(String password)
Sets the password value that is used to modify permissions or remove password-based encryption from the PDF document. |
void |
setPermissionsRequested(List p)
Sets the permissions that are applicable to users that open a password-encrypted PDF document within Adobe Reader or Acrobat. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BasePasswordEncryptionSpec()
BasePasswordEncryptionSpec
object.
public BasePasswordEncryptionSpec(String documentOpenPassword, String permissionsPassword)
BasePasswordEncryptionSpec
object that is used to encrypt a
PDF document with a password.
documentOpenPassword
- The password value that is required to open a password-encrypted PDF document.permissionsPassword
- The password value that is required to modify permissions on the document or remove encryption.Method Detail |
---|
public final void setPermissionsRequested(List p)
PasswordEncryptionPermission
enumeration value.
To see this method used in
a code example, see the Encrypting a PDF document using the Java API quick start
in Programming with LiveCycle ES3.
p
- A java.util.List
object of PasswordEncryptionPermission
constants that define the permissions.public final List getPermissionsRequested()
java.util.List
of PasswordEncryptionPermission
constants that define the permissions.public final String getDocumentOpenPassword()
public final void setDocumentOpenPassword(String password)
password
- The password value that is used to open the password-encrypted PDF document.public final String getPermissionPassword()
public final void setPermissionPassword(String password)
password
- The password value that is used to modify permissions or remove password-based encryption from the PDF document.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |