Class CertificateValidator.OCSPChecker
java.lang.Object
org.keycloak.authentication.authenticators.x509.CertificateValidator.OCSPChecker
- Direct Known Subclasses:
CertificateValidator.BouncyCastleOCSPChecker
- Enclosing class:
- CertificateValidator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract OCSPProvider.OCSPRevocationStatus
check
(X509Certificate cert, X509Certificate issuerCertificate) Requests certificate revocation status using OCSP.
-
Constructor Details
-
OCSPChecker
public OCSPChecker()
-
-
Method Details
-
check
public abstract OCSPProvider.OCSPRevocationStatus check(X509Certificate cert, X509Certificate issuerCertificate) throws CertPathValidatorException Requests certificate revocation status using OCSP. The OCSP responder URI is obtained from the certificate's AIA extension.- Parameters:
cert
- the certificate to be checkedissuerCertificate
- The issuer certificate- Returns:
- revocation status
- Throws:
CertPathValidatorException
-