eu.emi.security.authn.x509.helpers.pkipath.bc
Class CRLRevocationChecker

java.lang.Object
  extended by eu.emi.security.authn.x509.helpers.pkipath.bc.CRLRevocationChecker
All Implemented Interfaces:
RevocationChecker

public class CRLRevocationChecker
extends Object
implements RevocationChecker

Implementation of RevocationChecker using CRLs, the RFC3280CertPathUtilitiesHelper.

Author:
K. Benedyczak

Constructor Summary
CRLRevocationChecker(ExtPKIXParameters paramsPKIX, Date validDate, PublicKey workingPublicKey, List<?> certificates, CrlCheckingMode 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

CRLRevocationChecker

public CRLRevocationChecker(ExtPKIXParameters paramsPKIX,
                            Date validDate,
                            PublicKey workingPublicKey,
                            List<?> certificates,
                            CrlCheckingMode 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.