Package org.bouncycastle.asn1.cmp
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
CertStatus ::= SEQUENCE {
certHash OCTET STRING,
certReqId INTEGER,
statusInfo PKIStatusInfo OPTIONAL,
hashAlg [0] AlgorithmIdentifier{DIGEST-ALGORITHM, {...}}
OPTIONAL
}
-
Constructor Summary
ConstructorDescriptionCertStatus
(byte[] certHash, BigInteger certReqId) CertStatus
(byte[] certHash, BigInteger certReqId, PKIStatusInfo statusInfo) CertStatus
(byte[] certHash, BigInteger certReqId, PKIStatusInfo statusInfo, org.bouncycastle.asn1.x509.AlgorithmIdentifier hashAlg) CertStatus
(byte[] certHash, org.bouncycastle.asn1.ASN1Integer certReqId) -
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.asn1.ASN1OctetString
org.bouncycastle.asn1.ASN1Integer
org.bouncycastle.asn1.x509.AlgorithmIdentifier
static CertStatus
org.bouncycastle.asn1.ASN1Primitive
CertStatus ::= SEQUENCE { certHash OCTET STRING, certReqId INTEGER, statusInfo PKIStatusInfo OPTIONAL, hashAlg [0] AlgorithmIdentifier{DIGEST-ALGORITHM, {...}} OPTIONAL }Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Constructor Details
-
CertStatus
-
CertStatus
public CertStatus(byte[] certHash, org.bouncycastle.asn1.ASN1Integer certReqId) -
CertStatus
-
CertStatus
public CertStatus(byte[] certHash, BigInteger certReqId, PKIStatusInfo statusInfo, org.bouncycastle.asn1.x509.AlgorithmIdentifier hashAlg)
-
-
Method Details
-
getInstance
-
getCertHash
public org.bouncycastle.asn1.ASN1OctetString getCertHash() -
getCertReqId
public org.bouncycastle.asn1.ASN1Integer getCertReqId() -
getStatusInfo
-
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 interfaceorg.bouncycastle.asn1.ASN1Encodable
- Specified by:
toASN1Primitive
in classorg.bouncycastle.asn1.ASN1Object
- Returns:
- a basic ASN.1 object representation.
-