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
Modifier and Type | Field and Description |
---|---|
private ASN1EncodableVector |
crlentries |
private Extensions |
extensions |
private X500Name |
issuer |
private Time |
nextUpdate |
private static ASN1Sequence[] |
reasons |
private AlgorithmIdentifier |
signature |
private Time |
thisUpdate |
private ASN1Integer |
version |
Constructor and Description |
---|
V2TBSCertListGenerator() |
Modifier and Type | Method and Description |
---|---|
void |
addCRLEntry(ASN1Integer userCertificate,
DERUTCTime 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,
DERGeneralizedTime invalidityDate) |
void |
addCRLEntry(ASN1Sequence crlEntry) |
private static ASN1Sequence |
createInvalidityDateExtension(Time invalidityDate) |
private static ASN1Sequence |
createReasonExtension(int reasonCode) |
TBSCertList |
generateTBSCertList() |
private void |
internalAddCRLEntry(ASN1Integer userCertificate,
Time revocationDate,
ASN1Sequence extensions) |
void |
setExtensions(Extensions extensions) |
void |
setExtensions(X509Extensions extensions) |
void |
setIssuer(X500Name issuer) |
void |
setIssuer(X509Name issuer)
Deprecated.
use X500Name method
|
void |
setNextUpdate(DERUTCTime nextUpdate) |
void |
setNextUpdate(Time nextUpdate) |
void |
setSignature(AlgorithmIdentifier signature) |
void |
setThisUpdate(DERUTCTime thisUpdate) |
void |
setThisUpdate(Time thisUpdate) |
private ASN1Integer version
private AlgorithmIdentifier signature
private X500Name issuer
private Time thisUpdate
private Time nextUpdate
private Extensions extensions
private ASN1EncodableVector crlentries
private static final ASN1Sequence[] reasons
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(ASN1Integer userCertificate, DERUTCTime revocationDate, int reason)
public void addCRLEntry(ASN1Integer userCertificate, Time revocationDate, int reason)
public void addCRLEntry(ASN1Integer userCertificate, Time revocationDate, int reason, DERGeneralizedTime invalidityDate)
private void internalAddCRLEntry(ASN1Integer userCertificate, Time revocationDate, ASN1Sequence extensions)
public void addCRLEntry(ASN1Integer userCertificate, Time revocationDate, Extensions extensions)
public void setExtensions(X509Extensions extensions)
public void setExtensions(Extensions extensions)
public TBSCertList generateTBSCertList()
private static ASN1Sequence createReasonExtension(int reasonCode)
private static ASN1Sequence createInvalidityDateExtension(Time invalidityDate)