org.bouncycastle.asn1.x509

Class TBSCertList

public class TBSCertList extends ASN1Encodable

PKIX RFC-2459 - TBSCertList object.
 TBSCertList  ::=  SEQUENCE  {
      version                 Version OPTIONAL,
                                   -- if present, shall be v2
      signature               AlgorithmIdentifier,
      issuer                  Name,
      thisUpdate              Time,
      nextUpdate              Time OPTIONAL,
      revokedCertificates     SEQUENCE OF SEQUENCE  {
           userCertificate         CertificateSerialNumber,
           revocationDate          Time,
           crlEntryExtensions      Extensions OPTIONAL
                                         -- if present, shall be v2
                                }  OPTIONAL,
      crlExtensions           [0]  EXPLICIT Extensions OPTIONAL
                                         -- if present, shall be v2
                                }
 
Nested Class Summary
classTBSCertList.CRLEntry
Constructor Summary
TBSCertList(ASN1Sequence seq)
Method Summary
X509ExtensionsgetExtensions()
static TBSCertListgetInstance(ASN1TaggedObject obj, boolean explicit)
static TBSCertListgetInstance(Object obj)
X509NamegetIssuer()
TimegetNextUpdate()
TBSCertList.CRLEntry[]getRevokedCertificates()
AlgorithmIdentifiergetSignature()
TimegetThisUpdate()
intgetVersion()
DERIntegergetVersionNumber()
DERObjecttoASN1Object()

Constructor Detail

TBSCertList

public TBSCertList(ASN1Sequence seq)

Method Detail

getExtensions

public X509Extensions getExtensions()

getInstance

public static TBSCertList getInstance(ASN1TaggedObject obj, boolean explicit)

getInstance

public static TBSCertList getInstance(Object obj)

getIssuer

public X509Name getIssuer()

getNextUpdate

public Time getNextUpdate()

getRevokedCertificates

public TBSCertList.CRLEntry[] getRevokedCertificates()

getSignature

public AlgorithmIdentifier getSignature()

getThisUpdate

public Time getThisUpdate()

getVersion

public int getVersion()

getVersionNumber

public DERInteger getVersionNumber()

toASN1Object

public DERObject toASN1Object()