eu.emi.security.authn.x509.helpers.trust
Class AbstractTrustAnchorStore

java.lang.Object
  extended by eu.emi.security.authn.x509.helpers.trust.AbstractTrustAnchorStore
All Implemented Interfaces:
TrustAnchorStore
Direct Known Subclasses:
LazyOpensslTrustAnchorStoreImpl, TimedTrustAnchorStoreBase

public abstract class AbstractTrustAnchorStore
extends Object
implements TrustAnchorStore

Base implementation of Trust Anchor stores. Provides observers support and utility methods to warn about expired certs.

Author:
K. Benedyczak

Field Summary
protected  ObserversHandler observers
           
protected  long updateInterval
           
 
Constructor Summary
AbstractTrustAnchorStore(long updateInterval, ObserversHandler observers)
           
 
Method Summary
protected  void checkValidity(String location, X509Certificate certificate, boolean addSubject)
           
 long getUpdateInterval()
           
 void setUpdateInterval(long newInterval)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface eu.emi.security.authn.x509.helpers.trust.TrustAnchorStore
dispose, getTrustAnchors, getTrustedCertificates
 

Field Detail

observers

protected final ObserversHandler observers

updateInterval

protected long updateInterval
Constructor Detail

AbstractTrustAnchorStore

public AbstractTrustAnchorStore(long updateInterval,
                                ObserversHandler observers)
Method Detail

getUpdateInterval

public long getUpdateInterval()
Specified by:
getUpdateInterval in interface TrustAnchorStore

setUpdateInterval

public void setUpdateInterval(long newInterval)
Specified by:
setUpdateInterval in interface TrustAnchorStore

checkValidity

protected void checkValidity(String location,
                             X509Certificate certificate,
                             boolean addSubject)


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