Class CertStatus

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

public class CertStatus extends org.bouncycastle.asn1.ASN1Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    CertStatus(byte[] certHash, BigInteger certReqId)
     
    CertStatus(byte[] certHash, BigInteger certReqId, PKIStatusInfo statusInfo)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.bouncycastle.asn1.ASN1OctetString
     
    org.bouncycastle.asn1.ASN1Integer
     
    static CertStatus
     
     
    org.bouncycastle.asn1.ASN1Primitive
    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 }

    Methods inherited from class org.bouncycastle.asn1.ASN1Object

    encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • 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 org.bouncycastle.asn1.ASN1OctetString getCertHash()
    • getCertReqId

      public org.bouncycastle.asn1.ASN1Integer getCertReqId()
    • getStatusInfo

      public PKIStatusInfo getStatusInfo()
    • toASN1Primitive

      public org.bouncycastle.asn1.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 org.bouncycastle.asn1.ASN1Encodable
      Specified by:
      toASN1Primitive in class org.bouncycastle.asn1.ASN1Object
      Returns:
      a basic ASN.1 object representation.