Class CertStatus

java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.cmp.CertStatus
All Implemented Interfaces:
ASN1Encodable, Encodable

public class CertStatus extends ASN1Object
  • Constructor Details

    • CertStatus

      public CertStatus(byte[] certHash, BigInteger certReqId)
    • CertStatus

      public CertStatus(byte[] certHash, BigInteger certReqId, PKIStatusInfo statusInfo)
  • Method Details

    • getInstance

      public static CertStatus getInstance(Object o)
    • getCertHash

      public ASN1OctetString getCertHash()
    • getCertReqId

      public ASN1Integer getCertReqId()
    • getStatusInfo

      public PKIStatusInfo getStatusInfo()
    • toASN1Primitive

      public ASN1Primitive toASN1Primitive()
       CertStatus ::= SEQUENCE {
                         certHash    OCTET STRING,
                         -- the hash of the certificate, using the same hash algorithm
                         -- as is used to create and verify the certificate signature
                         certReqId   INTEGER,
                         -- to match this confirmation with the corresponding req/rep
                         statusInfo  PKIStatusInfo OPTIONAL
       }
       
      Specified by:
      toASN1Primitive in interface ASN1Encodable
      Specified by:
      toASN1Primitive in class ASN1Object
      Returns:
      a basic ASN.1 object representation.