eu.emi.security.authn.x509.helpers.ocsp
Class OCSPVerifier
java.lang.Object
eu.emi.security.authn.x509.helpers.ocsp.OCSPVerifier
public class OCSPVerifier
- extends Object
OCSP checker - uses provided OCSPParametes
to perform OCSP calls using
OCSPCachingClient
and returns the final response. Failures (exceptions) are reported via provided callback.
- Author:
- K. Benedyczak
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OCSP_CACHE_PFX
public static String OCSP_CACHE_PFX
OCSPVerifier
public OCSPVerifier(OCSPParametes params,
ObserversHandler observers)
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
Copyright © 2012-2013 European Middleware Initiative. All Rights Reserved.