eu.emi.security.authn.x509.helpers.ocsp
Class OCSPVerifier

java.lang.Object
  extended by 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

Field Summary
static String OCSP_CACHE_PFX
           
 
Constructor Summary
OCSPVerifier(OCSPParametes params, ObserversHandler observers)
           
 
Method Summary
protected  List<OCSPResponder> getOCSPUrls(X509Certificate certificate, X509Certificate issuerCert)
           
 OCSPResult verify(X509Certificate toCheck, X509Certificate issuerCert)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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


Copyright © 2012-2013 European Middleware Initiative. All Rights Reserved.