public static class X509CRLImpl.TBSCertList
extends java.lang.Object
| Constructor and Description |
|---|
TBSCertList(com.tencent.kona.sun.security.util.DerValue value)
Constructs from the encoding.
|
TBSCertList(X500Name issuer,
java.util.Date thisDate,
java.util.Date nextDate)
Initial TBSCertList constructor, no revoked certs, and no extensions.
|
TBSCertList(X500Name issuer,
java.util.Date thisDate,
java.util.Date nextDate,
java.security.cert.X509CRLEntry[] badCerts)
TBSCertList constructor, revoked certs, no extensions.
|
TBSCertList(X500Name issuer,
java.util.Date thisDate,
java.util.Date nextDate,
java.security.cert.X509CRLEntry[] badCerts,
CRLExtensions crlExts)
TBSCertList constructor, revoked certs and extensions.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
encodeInfo()
Encodes the "to-be-signed" TBSCertList to the OutputStream.
|
javax.security.auth.x500.X500Principal |
getIssuerX500Principal()
Return the issuer as X500Principal.
|
public TBSCertList(X500Name issuer, java.util.Date thisDate, java.util.Date nextDate)
issuer - the name of the CA issuing this CRL.thisDate - the Date of this issue.nextDate - the Date of the next CRL.public TBSCertList(X500Name issuer, java.util.Date thisDate, java.util.Date nextDate, java.security.cert.X509CRLEntry[] badCerts) throws java.security.cert.CRLException
issuer - the name of the CA issuing this CRL.thisDate - the Date of this issue.nextDate - the Date of the next CRL.badCerts - the array of CRL entries.java.security.cert.CRLException - on parsing/construction errors.public TBSCertList(X500Name issuer, java.util.Date thisDate, java.util.Date nextDate, java.security.cert.X509CRLEntry[] badCerts, CRLExtensions crlExts) throws java.security.cert.CRLException
issuer - the name of the CA issuing this CRL.thisDate - the Date of this issue.nextDate - the Date of the next CRL.badCerts - the array of CRL entries.crlExts - the CRL extensions.java.security.cert.CRLException - on parsing/construction errors.public TBSCertList(com.tencent.kona.sun.security.util.DerValue value)
throws java.io.IOException,
java.security.cert.CRLException
java.io.IOExceptionjava.security.cert.CRLExceptionpublic javax.security.auth.x500.X500Principal getIssuerX500Principal()
public byte[] encodeInfo()
throws java.security.cert.CRLException
java.security.cert.CRLException - on encoding errors.