com.adobe.livecycle.encryption.client
Class Recipient

java.lang.Object
  extended by com.adobe.livecycle.encryption.client.Recipient
All Implemented Interfaces:
java.io.Serializable

public class Recipient
extends java.lang.Object
implements java.io.Serializable

Represents the recipient that is used to encrypt a PDF document with a certificate. A certificate can be a .cer file, a .crt file, or a .pem file. A PKCS#12 file is used to store private keys with corresponding certificates. To see an object of this type used in a code example, see the Encrypting a PDF document with a certificate using the Java API quick start in Programming with Adobe Experience Manager forms.

See Also:
Serialized Form

Constructor Summary
Recipient()
          A constructor that creates a Recipient object.
 
Method Summary
 java.lang.String getAlias()
          Retrieves a string value that specifies an alias value that corresponds to the certifiicate used to encrypt a PDF document.
 java.lang.String getLdapURI()
          Retrieves the URI of the LDAP that corresponds to the recipient.
 Document getX509Cert()
          Retrieves the certificate used to encrypt a PDF document.
 void setAlias(java.lang.String alias)
          Sets the alias value that corresponds to the certifiicate used to encrypt a PDF document.
 void setLdapURI(java.lang.String ldapURI)
          Sets the URI of the LDAP that corresponds to the recipient.
 void setX509Cert(Document cert)
          Sets the certificate used to encrypt a PDF document.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Recipient

public Recipient()
A constructor that creates a Recipient object.

Method Detail

getAlias

public java.lang.String getAlias()
Retrieves a string value that specifies an alias value that corresponds to the certifiicate used to encrypt a PDF document.

Returns:
A string value that specifies an alias value.

setAlias

public void setAlias(java.lang.String alias)
Sets the alias value that corresponds to the certifiicate used to encrypt a PDF document.

Parameters:
alias - A string value that specifies an alias value.

getX509Cert

public Document getX509Cert()
Retrieves the certificate used to encrypt a PDF document.

Returns:
A Document object that contains the certificate used to encrypt a PDF document.

setX509Cert

public void setX509Cert(Document cert)
Sets the certificate used to encrypt a PDF document. To see an object of this type used in a code example, see the Encrypting a PDF document with a certificate using the Java API quick start in Programming with Adobe Experience Manager forms.

Parameters:
cert - A Document object that contains the certificate used to encrypt a PDF document.

getLdapURI

public java.lang.String getLdapURI()
Retrieves the URI of the LDAP that corresponds to the recipient.

Returns:
A stirng value that specifies the URI of the LDAP that corresponds to the recipient.

setLdapURI

public void setLdapURI(java.lang.String ldapURI)
Sets the URI of the LDAP that corresponds to the recipient.

Parameters:
ldapURI - A stirng value that specifies the URI of the LDAP that corresponds to the recipient.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object