|
|||||||||
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 Adobe Experience Manager forms 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 Adobe Experience Manager forms.
Constructor Summary | |
---|---|
BasePasswordEncryptionSpec()
A standard constructor that creates a BasePasswordEncryptionSpec object. |
|
BasePasswordEncryptionSpec(java.lang.String documentOpenPassword,
java.lang.String permissionsPassword)
Constructs a BasePasswordEncryptionSpec object that is used to encrypt a
PDF document with a password. |
Method Summary | |
---|---|
java.lang.String |
getDocumentOpenPassword()
Gets the password value that is used to open the password-encrypted PDF document. |
java.lang.String |
getPermissionPassword()
Gets the password value that is used to modify permissions or remove password-based encryption from the PDF document. |
java.util.List |
getPermissionsRequested()
Gets the permissions that are applicable to users that open a password-encrypted PDF document within Adobe Reader or Acrobat. |
void |
setDocumentOpenPassword(java.lang.String password)
Sets the password value that is used to open the password-encrypted PDF document. |
void |
setPermissionPassword(java.lang.String password)
Sets the password value that is used to modify permissions or remove password-based encryption from the PDF document. |
void |
setPermissionsRequested(java.util.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(java.lang.String documentOpenPassword, java.lang.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(java.util.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 Adobe Experience Manager forms.
p
- A java.util.List
object of PasswordEncryptionPermission
constants that define the permissions.public final java.util.List getPermissionsRequested()
java.util.List
of PasswordEncryptionPermission
constants that define the permissions.public final java.lang.String getDocumentOpenPassword()
public final void setDocumentOpenPassword(java.lang.String password)
password
- The password value that is used to open the password-encrypted PDF document.public final java.lang.String getPermissionPassword()
public final void setPermissionPassword(java.lang.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 |