Top Description Fields Constructors Methods
org.bouncycastle.asn1.cmp

public Class CertStatus

extends ASN1Object
Class Inheritance
Imports
java.math.BigInteger, org.bouncycastle.asn1.ASN1Encodable, .ASN1EncodableVector, .ASN1Integer, .ASN1Object, .ASN1OctetString, .ASN1Primitive, .ASN1Sequence, .ASN1TaggedObject, .ASN1Util, .DEROctetString, .DERSequence, .DERTaggedObject, org.bouncycastle.asn1.x509.AlgorithmIdentifier

CertStatus ::= SEQUENCE { certHash OCTET STRING, certReqId INTEGER, statusInfo PKIStatusInfo OPTIONAL, hashAlg [0] AlgorithmIdentifier{DIGEST-ALGORITHM, {...}} OPTIONAL }

Field Summary

Modifier and TypeField and Description
private final ASN1OctetString
private final ASN1Integer
private final AlgorithmIdentifier
private final PKIStatusInfo

Constructor Summary

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

public
CertStatus(byte[] certHash, ASN1Integer certReqId)

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

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

Method Summary

Modifier and TypeMethod and Description
public ASN1OctetString
public ASN1Integer
public AlgorithmIdentifier
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,
    certReqId   INTEGER,
    statusInfo  PKIStatusInfo OPTIONAL,
    hashAlg [0] AlgorithmIdentifier{DIGEST-ALGORITHM, {...}} OPTIONAL
  }

Inherited from org.bouncycastle.asn1.ASN1Object:
encodeToencodeToequalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

certHashback to summary
private final ASN1OctetString certHash
certReqIdback to summary
private final ASN1Integer certReqId
hashAlgback to summary
private final AlgorithmIdentifier hashAlg
statusInfoback to summary
private final 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, ASN1Integer certReqId)
CertStatusback to summary
public CertStatus(byte[] certHash, BigInteger certReqId, PKIStatusInfo statusInfo)
CertStatusback to summary
public CertStatus(byte[] certHash, BigInteger certReqId, PKIStatusInfo statusInfo, AlgorithmIdentifier hashAlg)

Method Detail

getCertHashback to summary
public ASN1OctetString getCertHash()
getCertReqIdback to summary
public ASN1Integer getCertReqId()
getHashAlgback to summary
public AlgorithmIdentifier getHashAlg()
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,
    certReqId   INTEGER,
    statusInfo  PKIStatusInfo OPTIONAL,
    hashAlg [0] AlgorithmIdentifier{DIGEST-ALGORITHM, {...}} OPTIONAL
  }

Returns:ASN1Primitive

a basic ASN.1 object representation.