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
-
-
Constructor Summary
Constructors Constructor Description CertStatus(byte[] certHash, java.math.BigInteger certReqId)CertStatus(byte[] certHash, java.math.BigInteger certReqId, PKIStatusInfo statusInfo)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.bouncycastle.asn1.ASN1OctetStringgetCertHash()org.bouncycastle.asn1.ASN1IntegergetCertReqId()static CertStatusgetInstance(java.lang.Object o)PKIStatusInfogetStatusInfo()org.bouncycastle.asn1.ASN1PrimitivetoASN1Primitive()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 }
-
-
-
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 org.bouncycastle.asn1.ASN1OctetString getCertHash()
-
getCertReqId
public org.bouncycastle.asn1.ASN1Integer getCertReqId()
-
getStatusInfo
public PKIStatusInfo getStatusInfo()
-
toASN1Primitive
public org.bouncycastle.asn1.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:
toASN1Primitivein interfaceorg.bouncycastle.asn1.ASN1Encodable- Specified by:
toASN1Primitivein classorg.bouncycastle.asn1.ASN1Object- Returns:
- a basic ASN.1 object representation.
-
-