Class CertStatus

  • All Implemented Interfaces:
    org.bouncycastle.asn1.ASN1Encodable, org.bouncycastle.util.Encodable

    public class CertStatus
    extends org.bouncycastle.asn1.ASN1Object
    CertStatus ::= SEQUENCE { certHash OCTET STRING, certReqId INTEGER, statusInfo PKIStatusInfo OPTIONAL, hashAlg [0] AlgorithmIdentifier{DIGEST-ALGORITHM, {...}} OPTIONAL }
    • Constructor Summary

      Constructors 
      Constructor Description
      CertStatus​(byte[] certHash, java.math.BigInteger certReqId)  
      CertStatus​(byte[] certHash, java.math.BigInteger certReqId, PKIStatusInfo statusInfo)  
      CertStatus​(byte[] certHash, java.math.BigInteger certReqId, PKIStatusInfo statusInfo, org.bouncycastle.asn1.x509.AlgorithmIdentifier hashAlg)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.bouncycastle.asn1.ASN1OctetString getCertHash()  
      org.bouncycastle.asn1.ASN1Integer getCertReqId()  
      org.bouncycastle.asn1.x509.AlgorithmIdentifier getHashAlg()  
      static CertStatus getInstance​(java.lang.Object o)  
      PKIStatusInfo getStatusInfo()  
      org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
      CertStatus ::= SEQUENCE { certHash OCTET STRING, certReqId INTEGER, statusInfo PKIStatusInfo OPTIONAL, hashAlg [0] AlgorithmIdentifier{DIGEST-ALGORITHM, {...}}
      • 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 Detail

      • CertStatus

        public CertStatus​(byte[] certHash,
                          java.math.BigInteger certReqId)
      • CertStatus

        public CertStatus​(byte[] certHash,
                          java.math.BigInteger certReqId,
                          PKIStatusInfo statusInfo)
      • CertStatus

        public CertStatus​(byte[] certHash,
                          java.math.BigInteger certReqId,
                          PKIStatusInfo statusInfo,
                          org.bouncycastle.asn1.x509.AlgorithmIdentifier hashAlg)
    • Method Detail

      • getInstance

        public static CertStatus getInstance​(java.lang.Object o)
      • getCertHash

        public org.bouncycastle.asn1.ASN1OctetString getCertHash()
      • getCertReqId

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

        public org.bouncycastle.asn1.x509.AlgorithmIdentifier getHashAlg()
      • toASN1Primitive

        public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
        
          CertStatus ::= SEQUENCE {
             certHash    OCTET STRING,
             certReqId   INTEGER,
             statusInfo  PKIStatusInfo OPTIONAL,
             hashAlg [0] AlgorithmIdentifier{DIGEST-ALGORITHM, {...}} 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.