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, keystoreobservers| 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, loaddispose, scheduleUpdate, setUpdateIntervalcheckValidity, getUpdateIntervalprivate 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.KeyStoreExceptionjava.io.IOExceptionprivate static java.security.KeyStore readKeyStore(java.lang.String truststorePath,
char[] password,
java.lang.String type)
throws java.io.IOException,
java.security.KeyStoreException
java.io.IOExceptionjava.security.KeyStoreExceptionpublic void update()
TimedTrustAnchorStoreBaseupdate in class JDKInMemoryTrustAnchorStorepublic java.lang.String getTruststorePath()