public final class CRLVerifier extends Object
| Modifier and Type | Method and Description |
|---|---|
static List<String> |
getCrlDistributionPoints(X509Certificate cert)
Extracts all CRL distribution point URLs from the
"CRL Distribution Point" extension in a X.509 certificate.
|
static void |
verifyCertificateCRLs(X509Certificate cert)
Extracts the CRL distribution points from the certificate (if available)
and checks the certificate revocation status against the CRLs coming from
the distribution points.
|
public static void verifyCertificateCRLs(X509Certificate cert) throws CertificateVerificationException
cert - the certificate to be checked for revocationCertificateVerificationException - if the certificate is revokedpublic static List<String> getCrlDistributionPoints(X509Certificate cert) throws CertificateParsingException, IOException
cert - CertificateCertificateParsingException - Parsing exceptionIOException - IO exceptionCopyright © 2020 Hyland Software Germany GmbH. All rights reserved.