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 TypeMethodDescriptionvoidaddCRLEntry(ASN1Sequence crlEntry) voidaddCRLEntry(DERInteger userCertificate, DERUTCTime revocationDate, int reason) voidaddCRLEntry(DERInteger userCertificate, Time revocationDate, int reason) voidaddCRLEntry(DERInteger userCertificate, Time revocationDate, int reason, DERGeneralizedTime invalidityDate) voidaddCRLEntry(DERInteger userCertificate, Time revocationDate, X509Extensions extensions) voidsetExtensions(X509Extensions extensions) voidvoidsetNextUpdate(DERUTCTime nextUpdate) voidsetNextUpdate(Time nextUpdate) voidsetSignature(AlgorithmIdentifier signature) voidsetThisUpdate(DERUTCTime thisUpdate) voidsetThisUpdate(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
-