Package org.gudy.bouncycastle.asn1.x509
Class V2TBSCertListGenerator
- java.lang.Object
-
- org.gudy.bouncycastle.asn1.x509.V2TBSCertListGenerator
-
public class V2TBSCertListGenerator extends java.lang.Object
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
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.Vector
crlentries
(package private) X509Extensions
extensions
(package private) X509Name
issuer
(package private) Time
nextUpdate
(package private) AlgorithmIdentifier
signature
(package private) Time
thisUpdate
(package private) DERInteger
version
-
Constructor Summary
Constructors Constructor Description V2TBSCertListGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCRLEntry(ASN1Sequence crlEntry)
void
addCRLEntry(DERInteger userCertificate, DERUTCTime revocationDate, int reason)
void
addCRLEntry(DERInteger userCertificate, Time revocationDate, int reason)
void
addCRLEntry(DERInteger userCertificate, Time revocationDate, int reason, DERGeneralizedTime invalidityDate)
void
addCRLEntry(DERInteger userCertificate, Time revocationDate, X509Extensions extensions)
TBSCertList
generateTBSCertList()
void
setExtensions(X509Extensions extensions)
void
setIssuer(X509Name issuer)
void
setNextUpdate(DERUTCTime nextUpdate)
void
setNextUpdate(Time nextUpdate)
void
setSignature(AlgorithmIdentifier signature)
void
setThisUpdate(DERUTCTime thisUpdate)
void
setThisUpdate(Time thisUpdate)
-
-
-
Field Detail
-
version
DERInteger version
-
signature
AlgorithmIdentifier signature
-
issuer
X509Name issuer
-
thisUpdate
Time thisUpdate
-
nextUpdate
Time nextUpdate
-
extensions
X509Extensions extensions
-
crlentries
private java.util.Vector crlentries
-
-
Method Detail
-
setSignature
public void setSignature(AlgorithmIdentifier signature)
-
setIssuer
public void setIssuer(X509Name issuer)
-
setThisUpdate
public void setThisUpdate(DERUTCTime thisUpdate)
-
setNextUpdate
public void setNextUpdate(DERUTCTime nextUpdate)
-
setThisUpdate
public void setThisUpdate(Time thisUpdate)
-
setNextUpdate
public void setNextUpdate(Time nextUpdate)
-
addCRLEntry
public void addCRLEntry(ASN1Sequence crlEntry)
-
addCRLEntry
public void addCRLEntry(DERInteger userCertificate, DERUTCTime revocationDate, int reason)
-
addCRLEntry
public void addCRLEntry(DERInteger userCertificate, Time revocationDate, int reason)
-
addCRLEntry
public void addCRLEntry(DERInteger userCertificate, Time revocationDate, int reason, DERGeneralizedTime invalidityDate)
-
addCRLEntry
public void addCRLEntry(DERInteger userCertificate, Time revocationDate, X509Extensions extensions)
-
setExtensions
public void setExtensions(X509Extensions extensions)
-
generateTBSCertList
public TBSCertList generateTBSCertList()
-
-