public class V2TBSCertListGenerator
extends java.lang.Object
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 and Description |
---|
V2TBSCertListGenerator() |
Modifier and Type | Method and Description |
---|---|
void |
addCRLEntry(ASN1Integer userCertificate,
ASN1UTCTime revocationDate,
int reason) |
void |
addCRLEntry(ASN1Integer userCertificate,
Time revocationDate,
Extensions extensions) |
void |
addCRLEntry(ASN1Integer userCertificate,
Time revocationDate,
int reason) |
void |
addCRLEntry(ASN1Integer userCertificate,
Time revocationDate,
int reason,
ASN1GeneralizedTime invalidityDate) |
void |
addCRLEntry(ASN1Sequence crlEntry) |
TBSCertList |
generateTBSCertList() |
void |
setExtensions(Extensions extensions) |
void |
setIssuer(X500Name issuer) |
void |
setNextUpdate(ASN1UTCTime nextUpdate) |
void |
setNextUpdate(Time nextUpdate) |
void |
setSignature(AlgorithmIdentifier signature) |
void |
setThisUpdate(ASN1UTCTime thisUpdate) |
void |
setThisUpdate(Time thisUpdate) |
public void setSignature(AlgorithmIdentifier signature)
public void setIssuer(X500Name issuer)
public void setThisUpdate(ASN1UTCTime thisUpdate)
public void setNextUpdate(ASN1UTCTime nextUpdate)
public void setThisUpdate(Time thisUpdate)
public void setNextUpdate(Time nextUpdate)
public void addCRLEntry(ASN1Sequence crlEntry)
public void addCRLEntry(ASN1Integer userCertificate, ASN1UTCTime revocationDate, int reason)
public void addCRLEntry(ASN1Integer userCertificate, Time revocationDate, int reason)
public void addCRLEntry(ASN1Integer userCertificate, Time revocationDate, int reason, ASN1GeneralizedTime invalidityDate)
public void addCRLEntry(ASN1Integer userCertificate, Time revocationDate, Extensions extensions)
public void setExtensions(Extensions extensions)
public TBSCertList generateTBSCertList()