public class OCSPVerifier extends Object
OCSPParametes
to perform OCSP calls using
OCSPCachingClient
and returns the final response. Failures (exceptions) are reported via provided callback.Modifier and Type | Field and Description |
---|---|
static String |
OCSP_CACHE_PFX |
Constructor and Description |
---|
OCSPVerifier(OCSPParametes params,
ObserversHandler observers) |
Modifier and Type | Method and Description |
---|---|
protected List<OCSPResponder> |
getOCSPUrls(X509Certificate certificate,
X509Certificate issuerCert) |
OCSPResult |
verify(X509Certificate toCheck,
X509Certificate issuerCert) |
public static String OCSP_CACHE_PFX
public OCSPVerifier(OCSPParametes params, ObserversHandler observers)
public OCSPResult verify(X509Certificate toCheck, X509Certificate issuerCert) throws SimpleValidationErrorException
SimpleValidationErrorException
protected List<OCSPResponder> getOCSPUrls(X509Certificate certificate, X509Certificate issuerCert) throws SimpleValidationErrorException
SimpleValidationErrorException
Copyright © 2012-2017 European Middleware Initiative. All Rights Reserved.