org.bouncycastle.asn1.x509

Class TBSCertList

Implemented Interfaces:
DEREncodable

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

class
TBSCertList.CRLEntry

Field Summary

Fields inherited from class org.bouncycastle.asn1.ASN1Encodable

BER, DER

Constructor Summary

TBSCertList(ASN1Sequence seq)

Method Summary

X509Extensions
getExtensions()
static TBSCertList
getInstance(Object obj)
static TBSCertList
getInstance(ASN1TaggedObject obj, boolean explicit)
X509Name
getIssuer()
Time
getNextUpdate()
TBSCertList.CRLEntry[]
getRevokedCertificates()
AlgorithmIdentifier
getSignature()
Time
getThisUpdate()
int
getVersion()
DERInteger
getVersionNumber()
DERObject
toASN1Object()

Methods inherited from class org.bouncycastle.asn1.ASN1Encodable

equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode, toASN1Object

Constructor Details

TBSCertList

public TBSCertList(ASN1Sequence seq)

Method Details

getExtensions

public X509Extensions getExtensions()

getInstance

public static TBSCertList getInstance(Object obj)

getInstance

public static TBSCertList getInstance(ASN1TaggedObject obj,
                                      boolean explicit)

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()
Overrides:
toASN1Object in interface ASN1Encodable