org.bouncycastle.asn1.x509
Class V2TBSCertListGenerator
java.lang.Object
org.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
V2TBSCertListGenerator
public V2TBSCertListGenerator()
addCRLEntry
public void addCRLEntry(DERInteger userCertificate,
DERUTCTime revocationDate,
int reason)
addCRLEntry
public void addCRLEntry(DERInteger userCertificate,
Time revocationDate,
int reason)
generateTBSCertList
public TBSCertList generateTBSCertList()
setIssuer
public void setIssuer(X509Name issuer)
setNextUpdate
public void setNextUpdate(DERUTCTime nextUpdate)
setNextUpdate
public void setNextUpdate(Time nextUpdate)
setThisUpdate
public void setThisUpdate(DERUTCTime thisUpdate)
setThisUpdate
public void setThisUpdate(Time thisUpdate)