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,
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) |
private static ASN1Sequence |
createInvalidityDateExtension(ASN1GeneralizedTime 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(ASN1UTCTime nextUpdate) |
void |
setNextUpdate(Time nextUpdate) |
void |
setSignature(AlgorithmIdentifier signature) |
void |
setThisUpdate(ASN1UTCTime thisUpdate) |
void |
setThisUpdate(Time thisUpdate) |
private ASN1Integer version
private AlgorithmIdentifier signature
private Time thisUpdate
private Time nextUpdate
private Extensions extensions
private ASN1EncodableVector crlentries
private static final ASN1Sequence[] reasons
public V2TBSCertListGenerator()
public void setSignature(AlgorithmIdentifier signature)
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)
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(ASN1GeneralizedTime invalidityDate)