org.bouncycastle.asn1.ocsp

Class RevokedInfo

public class RevokedInfo extends ASN1Encodable

Constructor Summary
RevokedInfo(DERGeneralizedTime revocationTime, CRLReason revocationReason)
RevokedInfo(ASN1Sequence seq)
Method Summary
static RevokedInfogetInstance(ASN1TaggedObject obj, boolean explicit)
static RevokedInfogetInstance(Object obj)
CRLReasongetRevocationReason()
DERGeneralizedTimegetRevocationTime()
DERObjecttoASN1Object()
Produce an object suitable for an ASN1OutputStream.

Constructor Detail

RevokedInfo

public RevokedInfo(DERGeneralizedTime revocationTime, CRLReason revocationReason)

RevokedInfo

public RevokedInfo(ASN1Sequence seq)

Method Detail

getInstance

public static RevokedInfo getInstance(ASN1TaggedObject obj, boolean explicit)

getInstance

public static RevokedInfo getInstance(Object obj)

getRevocationReason

public CRLReason getRevocationReason()

getRevocationTime

public DERGeneralizedTime getRevocationTime()

toASN1Object

public DERObject toASN1Object()
Produce an object suitable for an ASN1OutputStream.
 RevokedInfo ::= SEQUENCE {
      revocationTime              GeneralizedTime,
      revocationReason    [0]     EXPLICIT CRLReason OPTIONAL }