Bouncy Castle Cryptography Library 1.37

org.bouncycastle.asn1.ocsp
Class RevokedInfo

java.lang.Object
  extended by org.bouncycastle.asn1.ASN1Encodable
      extended by org.bouncycastle.asn1.ocsp.RevokedInfo
All Implemented Interfaces:
DEREncodable

public class RevokedInfo
extends ASN1Encodable


Field Summary
 
Fields inherited from class org.bouncycastle.asn1.ASN1Encodable
BER, DER
 
Constructor Summary
RevokedInfo(ASN1Sequence seq)
           
RevokedInfo(DERGeneralizedTime revocationTime, CRLReason revocationReason)
           
 
Method Summary
static RevokedInfo getInstance(ASN1TaggedObject obj, boolean explicit)
           
static RevokedInfo getInstance(java.lang.Object obj)
           
 CRLReason getRevocationReason()
           
 DERGeneralizedTime getRevocationTime()
           
 DERObject toASN1Object()
          Produce an object suitable for an ASN1OutputStream.
 
Methods inherited from class org.bouncycastle.asn1.ASN1Encodable
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

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(java.lang.Object obj)

getRevocationTime

public DERGeneralizedTime getRevocationTime()

getRevocationReason

public CRLReason getRevocationReason()

toASN1Object

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

Specified by:
toASN1Object in class ASN1Encodable

Bouncy Castle Cryptography Library 1.37