Package org.gudy.bouncycastle.asn1.x509
Class V2TBSCertListGenerator
java.lang.Object
org.gudy.bouncycastle.asn1.x509.V2TBSCertListGenerator
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
FieldsModifier and TypeFieldDescriptionprivate Vector
(package private) X509Extensions
(package private) X509Name
(package private) Time
(package private) AlgorithmIdentifier
(package private) Time
(package private) DERInteger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
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) void
setExtensions
(X509Extensions extensions) void
void
setNextUpdate
(DERUTCTime nextUpdate) void
setNextUpdate
(Time nextUpdate) void
setSignature
(AlgorithmIdentifier signature) void
setThisUpdate
(DERUTCTime thisUpdate) void
setThisUpdate
(Time thisUpdate)
-
Field Details
-
version
DERInteger version -
signature
AlgorithmIdentifier signature -
issuer
X509Name issuer -
thisUpdate
Time thisUpdate -
nextUpdate
Time nextUpdate -
extensions
X509Extensions extensions -
crlentries
-
-
Constructor Details
-
V2TBSCertListGenerator
public V2TBSCertListGenerator()
-
-
Method Details
-
setSignature
-
setIssuer
-
setThisUpdate
-
setNextUpdate
-
setThisUpdate
-
setNextUpdate
-
addCRLEntry
-
addCRLEntry
-
addCRLEntry
-
addCRLEntry
public void addCRLEntry(DERInteger userCertificate, Time revocationDate, int reason, DERGeneralizedTime invalidityDate) -
addCRLEntry
-
setExtensions
-
generateTBSCertList
-