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

java.lang.Object
  extended by eu.emi.security.authn.x509.helpers.ocsp.OCSPRevocationChecker
All Implemented Interfaces:
RevocationChecker

public class OCSPRevocationChecker
extends Object
implements RevocationChecker

Implementation of RevocationChecker using CRLs, the OCSPVerifier

Author:
K. Benedyczak

Constructor Summary
OCSPRevocationChecker(OCSPVerifier verifier, OCSPCheckingMode checkingMode)
           
 
Method Summary
 RevocationStatus checkRevocation(X509Certificate certitifcate, X509Certificate issuer)
          Checks revocation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OCSPRevocationChecker

public OCSPRevocationChecker(OCSPVerifier verifier,
                             OCSPCheckingMode checkingMode)
Method Detail

checkRevocation

public RevocationStatus checkRevocation(X509Certificate certitifcate,
                                        X509Certificate issuer)
                                 throws SimpleValidationErrorException
Description copied from interface: RevocationChecker
Checks revocation.

Specified by:
checkRevocation in interface RevocationChecker
Returns:
whether the revocation was successfully checked or if the status is unknown.
Throws:
SimpleValidationErrorException - if revocation validation finished with error, in particular also when certificate is revoked.


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