Class OCSPVerifier
- java.lang.Object
-
- eu.emi.security.authn.x509.helpers.ocsp.OCSPVerifier
-
public class OCSPVerifier extends java.lang.Object
OCSP checker - uses providedOCSPParametes
to perform OCSP calls usingOCSPCachingClient
and returns the final response. Failures (exceptions) are reported via provided callback.- Author:
- K. Benedyczak
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
OCSP_CACHE_PFX
-
Constructor Summary
Constructors Constructor Description OCSPVerifier(OCSPParametes params, ObserversHandler observers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.List<OCSPResponder>
getOCSPUrls(java.security.cert.X509Certificate certificate, java.security.cert.X509Certificate issuerCert)
OCSPResult
verify(java.security.cert.X509Certificate toCheck, java.security.cert.X509Certificate issuerCert)
-
-
-
Constructor Detail
-
OCSPVerifier
public OCSPVerifier(OCSPParametes params, ObserversHandler observers)
-
-
Method Detail
-
verify
public OCSPResult verify(java.security.cert.X509Certificate toCheck, java.security.cert.X509Certificate issuerCert) throws SimpleValidationErrorException
- Throws:
SimpleValidationErrorException
-
getOCSPUrls
protected java.util.List<OCSPResponder> getOCSPUrls(java.security.cert.X509Certificate certificate, java.security.cert.X509Certificate issuerCert) throws SimpleValidationErrorException
- Throws:
SimpleValidationErrorException
-
-