Class CertificateRepMessage

java.lang.Object
org.bouncycastle.cert.crmf.CertificateRepMessage

public class CertificateRepMessage extends Object
  • Constructor Details

    • CertificateRepMessage

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

    • 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()