com.adobe.livecycle.signatures.client.types
Class CertificateInformation

java.lang.Object
  extended by com.adobe.livecycle.signatures.client.types.CertificateInformation
All Implemented Interfaces:
java.io.Serializable

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

Provides information about a given certificate. For example, using this object, you can obtain information about the certificate such as whether it has been revoked. This class was added in LiveCycle ES 8.2.

See Also:
Serialized Form

Constructor Summary
CertificateInformation()
           
 
Method Summary
 byte[] getCertificate()
          Retrieves the certificiate that is a part of the validation done for the signer's certificate.
 RevocationInformation getRevocationInformation()
          Retrieves a RevocationInformation object that is associated with this certificate.
 boolean isTrusted()
          Specifies whether the certificate is trusted as a Trust Anchor in LiveCycle ES Trust Store.
 void setCertificate(byte[] certificate)
          Sets the certificiate that is a part of the validation done for the signer's certificate.
 void setRevocationInformation(RevocationInformation revocationInformation)
          Sets certificate revocation information.
 void setTrusted(boolean isTrusted)
          Sets whether the certificate is trusted as a Trust Anchor in LiveCycle ES Trust Store.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CertificateInformation

public CertificateInformation()
Method Detail

setCertificate

public void setCertificate(byte[] certificate)
Sets the certificiate that is a part of the validation done for the signer's certificate.

Parameters:
certificate - A byte array that represents the certificate.

getCertificate

public byte[] getCertificate()
Retrieves the certificiate that is a part of the validation done for the signer's certificate.

Returns:
A byte array that represents the certificate.

getRevocationInformation

public RevocationInformation getRevocationInformation()
Retrieves a RevocationInformation object that is associated with this certificate. A RevocationInformation object specifies information about a revoked certificate.

Returns:
A RevocationInformation object that is associated with this certificate.

setRevocationInformation

public void setRevocationInformation(RevocationInformation revocationInformation)
Sets certificate revocation information.

Parameters:
revocationInformation - A RevocationInformation object that specifies certificate revocation information.

isTrusted

public boolean isTrusted()
Specifies whether the certificate is trusted as a Trust Anchor in LiveCycle ES Trust Store.

Returns:
A boolean value that specifies whether the certificate is trusted.

setTrusted

public void setTrusted(boolean isTrusted)
Sets whether the certificate is trusted as a Trust Anchor in LiveCycle ES Trust Store.

Parameters:
isTrusted - A boolean value that specifies whether the certificate is valid.


[an error occurred while processing this directive] [an error occurred while processing this directive]