Package com.adobe.livecycle.encryption.client
Classpublic class BasePasswordEncryptionSpec
InheritanceBasePasswordEncryptionSpec Inheritance Object

Specifies encryption perferences for password protecting a PDF document using the LiveCycle Encryption service.



Public Methods
 MethodDefined by
  
The default constructor.
BasePasswordEncryptionSpec
  
BasePasswordEncryptionSpec(String documentOpenPassword, String permissionsPassword)
Constructs a BasePasswordEncryptionSpec object that is used to encrypt a PDF document with a password.
BasePasswordEncryptionSpec
  
Gets the password value that is used to open the password-encrypted PDF document.
BasePasswordEncryptionSpec
  
Gets the password value that is used to modify permissions or remove password-based encryption from the PDF document.
BasePasswordEncryptionSpec
  
Gets the permissions that are applicable to users that open a password-encrypted PDF document within Adobe Reader or Acrobat.
BasePasswordEncryptionSpec
Constructor Detail
BasePasswordEncryptionSpec()
public BasePasswordEncryptionSpec()

The default constructor.

BasePasswordEncryptionSpec() 
public BasePasswordEncryptionSpec(String documentOpenPassword, String permissionsPassword)

Constructs a BasePasswordEncryptionSpec object that is used to encrypt a PDF document with a password.

Parameters
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
getDocumentOpenPassword()
public String getDocumentOpenPassword()

Gets the password value that is used to open the password-encrypted PDF document.

Returns
The password value that is used to open the password-encrypted PDF document.
getPermissionPassword() 
public String getPermissionPassword()

Gets the password value that is used to modify permissions or remove password-based encryption from the PDF document.

Returns
The password value that is used to modify permissions or remove password-based encryption from the PDF document.
getPermissionsRequested() 
public List getPermissionsRequested()

Gets the permissions that are applicable to users that open a password-encrypted PDF document within Adobe Reader or Acrobat.

Returns
An array of permission constants.




 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/livecycle/es/sdkHelp/programmer/javadoc/com/adobe/livecycle/encryption/client/BasePasswordEncryptionSpec.html