Package org.bouncycastle.asn1.x509
Class V2TBSCertListGenerator
java.lang.Object
org.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-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCRLEntry(ASN1Integer userCertificate, ASN1UTCTime revocationDate, int reason) voidaddCRLEntry(ASN1Integer userCertificate, Time revocationDate, int reason) voidaddCRLEntry(ASN1Integer userCertificate, Time revocationDate, int reason, ASN1GeneralizedTime invalidityDate) voidaddCRLEntry(ASN1Integer userCertificate, Time revocationDate, Extensions extensions) voidaddCRLEntry(ASN1Sequence crlEntry) voidsetExtensions(Extensions extensions) voidvoidsetNextUpdate(ASN1UTCTime nextUpdate) voidsetNextUpdate(Time nextUpdate) voidsetSignature(AlgorithmIdentifier signature) voidsetThisUpdate(ASN1UTCTime thisUpdate) voidsetThisUpdate(Time thisUpdate)
-
Constructor Details
-
V2TBSCertListGenerator
public V2TBSCertListGenerator()
-
-
Method Details
-
setSignature
-
setIssuer
-
setThisUpdate
-
setNextUpdate
-
setThisUpdate
-
setNextUpdate
-
addCRLEntry
-
addCRLEntry
-
addCRLEntry
-
addCRLEntry
public void addCRLEntry(ASN1Integer userCertificate, Time revocationDate, int reason, ASN1GeneralizedTime invalidityDate) -
addCRLEntry
-
setExtensions
-
generateTBSCertList
-