Class JDKFSTrustAnchorStore
- java.lang.Object
-
- eu.emi.security.authn.x509.helpers.trust.AbstractTrustAnchorStore
-
- eu.emi.security.authn.x509.helpers.trust.TimedTrustAnchorStoreBase
-
- eu.emi.security.authn.x509.helpers.trust.JDKInMemoryTrustAnchorStore
-
- eu.emi.security.authn.x509.helpers.trust.JDKFSTrustAnchorStore
-
- All Implemented Interfaces:
TrustAnchorStore
public class JDKFSTrustAnchorStore extends JDKInMemoryTrustAnchorStore
Implementation of theTrustAnchorStore
which load JDK'sKeyStore
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.AbstractTrustAnchorStore
observers
-
-
Constructor Summary
Constructors Constructor Description JDKFSTrustAnchorStore(java.lang.String truststorePath, char[] password, java.lang.String type, java.util.Timer t, long updateInterval, ObserversHandler observers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getTruststorePath()
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.TimedTrustAnchorStoreBase
dispose, scheduleUpdate, setUpdateInterval
-
Methods inherited from class eu.emi.security.authn.x509.helpers.trust.AbstractTrustAnchorStore
checkValidity, getUpdateInterval
-
-
-
-
Constructor Detail
-
JDKFSTrustAnchorStore
public JDKFSTrustAnchorStore(java.lang.String truststorePath, char[] password, java.lang.String type, java.util.Timer t, long updateInterval, ObserversHandler observers) throws java.security.KeyStoreException, java.io.IOException
- Throws:
java.security.KeyStoreException
java.io.IOException
-
-
Method Detail
-
update
public void update()
Description copied from class:TimedTrustAnchorStoreBase
implementation should update the contents of the trust anchor store. It need not to bother with scheduling.- Overrides:
update
in classJDKInMemoryTrustAnchorStore
-
getTruststorePath
public java.lang.String getTruststorePath()
-
-