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

java.lang.Object
  extended by eu.emi.security.authn.x509.helpers.trust.TrustAnchorStoreBase
      extended by eu.emi.security.authn.x509.helpers.trust.JDKInMemoryTrustAnchorStore
          extended by eu.emi.security.authn.x509.helpers.trust.JDKFSTrustAnchorStore
All Implemented Interfaces:
TrustAnchorStore

public class JDKFSTrustAnchorStore
extends JDKInMemoryTrustAnchorStore

Implementation of the TrustAnchorStore which load JDK's KeyStore from a file.

Author:
K. Benedyczak

Field Summary
 
Fields inherited from class eu.emi.security.authn.x509.helpers.trust.JDKInMemoryTrustAnchorStore
anchors, ca, keystore
 
Constructor Summary
JDKFSTrustAnchorStore(String truststorePath, char[] password, String type, Timer t, long updateInterval, Collection<? extends StoreUpdateListener> listeners)
           
 
Method Summary
 String getTruststorePath()
           
protected  void update()
          implementation should update the contents of the trust anchor store.
 
Methods inherited from class eu.emi.security.authn.x509.helpers.trust.JDKInMemoryTrustAnchorStore
getKeyStore, getTrustAnchors, getTrustedCertificates, load
 
Methods inherited from class eu.emi.security.authn.x509.helpers.trust.TrustAnchorStoreBase
addUpdateListener, checkValidity, dispose, getUpdateInterval, notifyObservers, removeUpdateListener, setUpdateInterval
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDKFSTrustAnchorStore

public JDKFSTrustAnchorStore(String truststorePath,
                             char[] password,
                             String type,
                             Timer t,
                             long updateInterval,
                             Collection<? extends StoreUpdateListener> listeners)
                      throws KeyStoreException,
                             IOException
Throws:
KeyStoreException
IOException
Method Detail

update

protected void update()
Description copied from class: TrustAnchorStoreBase
implementation should update the contents of the trust anchor store. It need not to bother with scheduling.

Overrides:
update in class JDKInMemoryTrustAnchorStore

getTruststorePath

public String getTruststorePath()


Copyright © 2012 European Middleware Initiative. All Rights Reserved.