eu.emi.security.authn.x509.helpers.crl
Class AbstractCRLCertStoreSpi
java.lang.Object
java.security.cert.CertStoreSpi
eu.emi.security.authn.x509.helpers.crl.AbstractCRLCertStoreSpi
- Direct Known Subclasses:
- PlainCRLStoreSpi
public abstract class AbstractCRLCertStoreSpi
- extends CertStoreSpi
Contains methods which are common to all CertStore providing CRLs for this library
- Author:
- K. Benedyczak
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractCRLCertStoreSpi
public AbstractCRLCertStoreSpi(CertStoreParameters params,
Collection<? extends StoreUpdateListener> initialObservers)
throws InvalidAlgorithmParameterException
- Throws:
InvalidAlgorithmParameterException
addUpdateListener
public void addUpdateListener(StoreUpdateListener listener)
- Registers a listener which can react to errors found during refreshing
of the trust material: trusted CAs or CRLs. This method is useful only if
the implementation supports updating of CAs or CRLs, otherwise the listener
will not be invoked.
- Parameters:
listener
- to be registered
removeUpdateListener
public void removeUpdateListener(StoreUpdateListener listener)
- Unregisters a previously registered CA or CRL update listener. If the listener
was not registered then the method does nothing.
- Parameters:
listener
- to be unregistered
notifyObservers
protected void notifyObservers(String url,
StoreUpdateListener.Severity level,
Exception e)
removeAllObservers
protected void removeAllObservers()
dispose
public abstract void dispose()
Copyright © 2012 European Middleware Initiative. All Rights Reserved.