|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.adobe.livecycle.encryption.client.CertificateEncryptionIdentity
public class CertificateEncryptionIdentity
Enables the creation of a Java object that specifies permissions that apply to an encrypted PDF document and the certificate that is used to encrypt the document. That is, when encrypting a PDF document with a certificate, you create an object of this type and set permission and certificate information.
Certificate information is set by creating a Recipient
object,
invoking its setX509Cert
method
and passing the Recipient
object to this object's
setRecipient
method. For
information about encrypting a PDF document with a certificate, see the Encrypting PDF
Documents with Certificates section in Programming with Adobe Experience Manager forms.
Constructor Summary | |
---|---|
CertificateEncryptionIdentity()
A standard constructor that creates a CertificateEncryptionIdentity object. |
Method Summary | |
---|---|
java.util.List |
getPerms()
Returns a list of permissions that are associated with this object. |
Recipient |
getRecipient()
Retrieves the recipient that is associated with this object. |
void |
setPerms(java.util.List perms)
Sets the permissions to add a certificate-encryted PDF document. |
void |
setRecipient(Recipient recipient)
Sets the recipient that is associated with this object. |
java.lang.String |
toString()
Converts this object to a string. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CertificateEncryptionIdentity()
CertificateEncryptionIdentity
object.
Method Detail |
---|
public java.util.List getPerms()
java.util.List
object that contains a list of permissions. Each element is a
CertificateEncryptionPermissions
enumeration value.public void setPerms(java.util.List perms)
To see this method 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.
perms
- A java.util.List
object that contains a list of permissions. Each element is a
CertificateEncryptionPermissions
enumeration value.public java.lang.String toString()
toString
in class java.lang.Object
public Recipient getRecipient()
Recipient
object that represents the recipient.public void setRecipient(Recipient recipient)
To see this method in a code example, see the Encrypting a PDF document with a certificate using the Java API quick start in the Programming with Adobe Experience Manager forms.
recipient
- A Recipient
object that represents the recipient.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |