Class OCSPVerifier
- java.lang.Object
-
- eu.emi.security.authn.x509.helpers.ocsp.OCSPVerifier
-
public class OCSPVerifier extends 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 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 List<OCSPResponder>
getOCSPUrls(X509Certificate certificate, X509Certificate issuerCert)
OCSPResult
verify(X509Certificate toCheck, X509Certificate issuerCert)
-
-
-
Field Detail
-
OCSP_CACHE_PFX
public static String OCSP_CACHE_PFX
-
-
Constructor Detail
-
OCSPVerifier
public OCSPVerifier(OCSPParametes params, ObserversHandler observers)
-
-
Method Detail
-
verify
public OCSPResult verify(X509Certificate toCheck, X509Certificate issuerCert) throws SimpleValidationErrorException
- Throws:
SimpleValidationErrorException
-
getOCSPUrls
protected List<OCSPResponder> getOCSPUrls(X509Certificate certificate, X509Certificate issuerCert) throws SimpleValidationErrorException
- Throws:
SimpleValidationErrorException
-
-