public final class CRLManager extends Object
| Modifier and Type | Method and Description |
|---|---|
static List<CRLData> |
getCRLs(X509Certificate certificate)
Returns a List of CRLData that match the specified certificate.
|
static X509CRL |
parseCRL(InputStream is) |
static Collection<X509CRL> |
selectCRLs(X509Certificate certificate)
Returns a Collection of CRLs that match the specified certificate.
|
public static Collection<X509CRL> selectCRLs(X509Certificate certificate) throws IOException, CRLException
certificate - the certificate.IOException - if CRL cannot be loaded from the associated URL.CRLException - if CRL local file cannot be parsed.public static List<CRLData> getCRLs(X509Certificate certificate) throws CRLException
Usually the resulting list will contain one Base and one Delta CRL. If no CRLs match the certificate, an empty List will be returned.
certificate - the certificate.CRLException - if CRL cannot be loaded or parsed.public static X509CRL parseCRL(InputStream is) throws CRLException
CRLException