public class

V2TBSCertListGenerator

extends Object
java.lang.Object
   ↳ org.bouncycastle.asn1.x509.V2TBSCertListGenerator

Class Overview

Generator for Version 2 TBSCertList structures.

  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
                                 }
 
Note: This class may be subject to change

Summary

Public Constructors
V2TBSCertListGenerator()
Public Methods
void addCRLEntry(DERInteger userCertificate, Time revocationDate, int reason)
void addCRLEntry(DERInteger userCertificate, Time revocationDate, X509Extensions extensions)
void addCRLEntry(DERInteger userCertificate, Time revocationDate, int reason, DERGeneralizedTime invalidityDate)
void addCRLEntry(DERInteger userCertificate, DERUTCTime revocationDate, int reason)
void addCRLEntry(ASN1Sequence crlEntry)
TBSCertList generateTBSCertList()
void setExtensions(X509Extensions extensions)
void setIssuer(X500Name issuer)
void setIssuer(X509Name issuer)
void setNextUpdate(Time nextUpdate)
void setNextUpdate(DERUTCTime nextUpdate)
void setSignature(AlgorithmIdentifier signature)
void setThisUpdate(Time thisUpdate)
void setThisUpdate(DERUTCTime thisUpdate)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public V2TBSCertListGenerator ()

Public Methods

public void addCRLEntry (DERInteger userCertificate, Time revocationDate, int reason)

public void addCRLEntry (DERInteger userCertificate, Time revocationDate, X509Extensions extensions)

public void addCRLEntry (DERInteger userCertificate, Time revocationDate, int reason, DERGeneralizedTime invalidityDate)

public void addCRLEntry (DERInteger userCertificate, DERUTCTime revocationDate, int reason)

public void addCRLEntry (ASN1Sequence crlEntry)

public TBSCertList generateTBSCertList ()

public void setExtensions (X509Extensions extensions)

public void setIssuer (X500Name issuer)

public void setIssuer (X509Name issuer)

public void setNextUpdate (Time nextUpdate)

public void setNextUpdate (DERUTCTime nextUpdate)

public void setSignature (AlgorithmIdentifier signature)

public void setThisUpdate (Time thisUpdate)

public void setThisUpdate (DERUTCTime thisUpdate)