Bouncy Castle Cryptography Library 1.79

org.bouncycastle.cert.crmf
Class CertificateRepMessage

java.lang.Object
  |
  +--org.bouncycastle.cert.crmf.CertificateRepMessage

public class CertificateRepMessage
extends java.lang.Object


Constructor Summary
CertificateRepMessage(org.bouncycastle.asn1.cmp.CertRepMessage repMessage)
           
 
Method Summary
static CertificateRepMessage fromPKIBody(org.bouncycastle.asn1.cmp.PKIBody pkiBody)
           
 org.bouncycastle.asn1.cmp.CMPCertificate[] getCMPCertificates()
          Return the actual CMP certificates - useful if the array also contains non-X509 PK certificates.
 CertificateResponse[] getResponses()
           
 X509CertificateHolder[] getX509Certificates()
           
static boolean isCertificateRepMessage(int bodyType)
           
 boolean isOnlyX509PKCertificates()
          Return true if the message only contains X.509 public key certificates.
 org.bouncycastle.asn1.cmp.CertRepMessage toASN1Structure()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CertificateRepMessage

public CertificateRepMessage(org.bouncycastle.asn1.cmp.CertRepMessage repMessage)
Method Detail

fromPKIBody

public static CertificateRepMessage fromPKIBody(org.bouncycastle.asn1.cmp.PKIBody pkiBody)

isCertificateRepMessage

public static boolean isCertificateRepMessage(int bodyType)

getResponses

public CertificateResponse[] getResponses()

getX509Certificates

public X509CertificateHolder[] getX509Certificates()

isOnlyX509PKCertificates

public boolean isOnlyX509PKCertificates()
Return true if the message only contains X.509 public key certificates.
Returns:
true if only X.509 PK, false otherwise.

getCMPCertificates

public org.bouncycastle.asn1.cmp.CMPCertificate[] getCMPCertificates()
Return the actual CMP certificates - useful if the array also contains non-X509 PK certificates.
Returns:
CMPCertificate array

toASN1Structure

public org.bouncycastle.asn1.cmp.CertRepMessage toASN1Structure()

Bouncy Castle Cryptography Library 1.79