Class CertificateValidator.OCSPChecker

java.lang.Object
org.keycloak.authentication.authenticators.x509.CertificateValidator.OCSPChecker
Direct Known Subclasses:
CertificateValidator.BouncyCastleOCSPChecker
Enclosing class:
CertificateValidator

public abstract static class CertificateValidator.OCSPChecker extends Object
  • Constructor Details

    • OCSPChecker

      public OCSPChecker()
  • Method Details

    • check

      public abstract org.keycloak.utils.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 checked
      issuerCertificate - The issuer certificate
      Returns:
      revocation status
      Throws:
      CertPathValidatorException