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 Summary
Constructors Constructor Description OCSPChecker()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract OCSPProvider.OCSPRevocationStatus
check(X509Certificate cert, X509Certificate issuerCertificate)
Requests certificate revocation status using OCSP.
-
-
-
Method Detail
-
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
-
-