public class JDKFSTrustAnchorStore extends JDKInMemoryTrustAnchorStore
TrustAnchorStore
which load JDK's KeyStore
from a file.Modifier and Type | Field and Description |
---|---|
private char[] |
password |
private java.lang.String |
truststorePath |
private java.lang.String |
type |
anchors, ca, keystore
observers
Constructor and Description |
---|
JDKFSTrustAnchorStore(java.lang.String truststorePath,
char[] password,
java.lang.String type,
java.util.Timer t,
long updateInterval,
ObserversHandler observers) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getTruststorePath() |
private static java.security.KeyStore |
readKeyStore(java.lang.String truststorePath,
char[] password,
java.lang.String type) |
void |
update()
implementation should update the contents of the trust anchor store.
|
getKeyStore, getTrustAnchors, getTrustedCertificates, load
dispose, scheduleUpdate, setUpdateInterval
checkValidity, getUpdateInterval
private final java.lang.String truststorePath
private final transient char[] password
private final java.lang.String type
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
java.security.KeyStoreException
java.io.IOException
private static java.security.KeyStore readKeyStore(java.lang.String truststorePath, char[] password, java.lang.String type) throws java.io.IOException, java.security.KeyStoreException
java.io.IOException
java.security.KeyStoreException
public void update()
TimedTrustAnchorStoreBase
update
in class JDKInMemoryTrustAnchorStore
public java.lang.String getTruststorePath()