Package org.bouncycastle.asn1.ocsp
Class CertStatus
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.ocsp.CertStatus
- All Implemented Interfaces:
ASN1Choice,ASN1Encodable,Encodable
-
Constructor Summary
ConstructorsConstructorDescriptioncreate a CertStatus object with a tag of zero.CertStatus(int tagNo, ASN1Encodable value) CertStatus(RevokedInfo info) -
Method Summary
Modifier and TypeMethodDescriptionstatic CertStatusgetInstance(Object obj) static CertStatusgetInstance(ASN1TaggedObject obj, boolean explicit) intgetTagNo()Produce an object suitable for an ASN1OutputStream.Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Constructor Details
-
CertStatus
public CertStatus()create a CertStatus object with a tag of zero. -
CertStatus
-
CertStatus
-
-
Method Details
-
getInstance
-
getInstance
-
getTagNo
public int getTagNo() -
getStatus
-
toASN1Primitive
Produce an object suitable for an ASN1OutputStream.CertStatus ::= CHOICE { good [0] IMPLICIT NULL, revoked [1] IMPLICIT RevokedInfo, unknown [2] IMPLICIT UnknownInfo }- Specified by:
toASN1Primitivein interfaceASN1Encodable- Specified by:
toASN1Primitivein classASN1Object- Returns:
- a primitive representation of this object.
-