Class CertificateRepMessage


  • public class CertificateRepMessage
    extends java.lang.Object
    • 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)
      • 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.ASN1Encodable toASN1Structure()