Bouncy Castle Cryptography Library 1.48

org.bouncycastle.asn1.cmp
Class CertStatus

java.lang.Object
  extended by org.bouncycastle.asn1.ASN1Object
      extended by org.bouncycastle.asn1.cmp.CertStatus
All Implemented Interfaces:
ASN1Encodable

public class CertStatus
extends ASN1Object


Constructor Summary
CertStatus(byte[] certHash, java.math.BigInteger certReqId)
           
CertStatus(byte[] certHash, java.math.BigInteger certReqId, PKIStatusInfo statusInfo)
           
 
Method Summary
 ASN1OctetString getCertHash()
           
 ASN1Integer getCertReqId()
           
static CertStatus getInstance(java.lang.Object o)
           
 PKIStatusInfo getStatusInfo()
           
 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 }
 
Methods inherited from class org.bouncycastle.asn1.ASN1Object
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object
 
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)
Method Detail

getInstance

public static CertStatus getInstance(java.lang.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.

Bouncy Castle Cryptography Library 1.48