Top Fields Constructors Methods
org.bouncycastle.asn1.cmp

public Class CertStatus

extends ASN1Object
Class Inheritance
Imports
java.math.BigInteger, org.bouncycastle.asn1.ASN1EncodableVector, .ASN1Integer, .ASN1Object, .ASN1OctetString, .ASN1Primitive, .ASN1Sequence, .DEROctetString, .DERSequence

Field Summary

Modifier and TypeField and Description
private ASN1OctetString
private ASN1Integer
private PKIStatusInfo

Constructor Summary

AccessConstructor and Description
private
public
CertStatus(byte[] certHash, BigInteger certReqId)

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

Method Summary

Modifier and TypeMethod and Description
public ASN1OctetString
public ASN1Integer
public static CertStatus
public PKIStatusInfo
public ASN1Primitive

Returns:

a basic ASN.1 object representation.
toASN1Primitive
()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.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
}
Inherited from org.bouncycastle.asn1.ASN1Object:
equalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

certHashback to summary
private ASN1OctetString certHash
certReqIdback to summary
private ASN1Integer certReqId
statusInfoback to summary
private PKIStatusInfo statusInfo

Constructor Detail

CertStatusback to summary
private CertStatus(ASN1Sequence seq)
CertStatusback to summary
public CertStatus(byte[] certHash, BigInteger certReqId)
CertStatusback to summary
public CertStatus(byte[] certHash, BigInteger certReqId, PKIStatusInfo statusInfo)

Method Detail

getCertHashback to summary
public ASN1OctetString getCertHash()
getCertReqIdback to summary
public ASN1Integer getCertReqId()
getInstanceback to summary
public static CertStatus getInstance(Object o)
getStatusInfoback to summary
public PKIStatusInfo getStatusInfo()
toASN1Primitiveback to summary
public ASN1Primitive toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.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
}
Returns:ASN1Primitive

a basic ASN.1 object representation.