public class V2TBSCertListGenerator extends 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(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) |
TBSCertList |
generateTBSCertList() |
void |
setExtensions(X509Extensions extensions) |
void |
setIssuer(X500Name issuer) |
void |
setIssuer(X509Name issuer) |
void |
setNextUpdate(DERUTCTime nextUpdate) |
void |
setNextUpdate(Time nextUpdate) |
void |
setSignature(AlgorithmIdentifier signature) |
void |
setThisUpdate(DERUTCTime thisUpdate) |
void |
setThisUpdate(Time thisUpdate) |
public void setSignature(AlgorithmIdentifier signature)
public void setIssuer(X509Name issuer)
public void setIssuer(X500Name issuer)
public void setThisUpdate(DERUTCTime thisUpdate)
public void setNextUpdate(DERUTCTime nextUpdate)
public void setThisUpdate(Time thisUpdate)
public void setNextUpdate(Time nextUpdate)
public void addCRLEntry(ASN1Sequence crlEntry)
public void addCRLEntry(DERInteger userCertificate, DERUTCTime revocationDate, int reason)
public void addCRLEntry(DERInteger userCertificate, Time revocationDate, int reason)
public void addCRLEntry(DERInteger userCertificate, Time revocationDate, int reason, DERGeneralizedTime invalidityDate)
public void addCRLEntry(DERInteger userCertificate, Time revocationDate, X509Extensions extensions)
public void setExtensions(X509Extensions extensions)
public TBSCertList generateTBSCertList()
Copyright © 2015. All rights reserved.