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
 
Fields inherited from class eu.emi.security.authn.x509.helpers.trust.TrustAnchorStoreBase
observers
 
Constructor Summary
JDKFSTrustAnchorStore(String truststorePath, char[] password, String type, Timer t, long updateInterval, ObserversHandler observers)
           
 
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
checkValidity, dispose, getUpdateInterval, scheduleUpdate, 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,
                             ObserversHandler observers)
                      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-2013 European Middleware Initiative. All Rights Reserved.