public class JDKInMemoryTrustAnchorStore extends TimedTrustAnchorStoreBase
TrustAnchorStore
which uses JDK's KeyStore
as a in-memory storage.Modifier and Type | Field and Description |
---|---|
protected java.util.Set<java.security.cert.TrustAnchor> |
anchors |
protected java.security.cert.X509Certificate[] |
ca |
protected java.security.KeyStore |
keystore |
observers
Modifier | Constructor and Description |
---|---|
|
JDKInMemoryTrustAnchorStore(java.security.KeyStore ks) |
protected |
JDKInMemoryTrustAnchorStore(java.security.KeyStore ks,
java.util.Timer timer,
long updateInterval,
ObserversHandler observers) |
Modifier and Type | Method and Description |
---|---|
java.security.KeyStore |
getKeyStore() |
java.util.Set<java.security.cert.TrustAnchor> |
getTrustAnchors() |
java.security.cert.X509Certificate[] |
getTrustedCertificates() |
protected void |
load() |
protected void |
update()
implementation should update the contents of the trust anchor store.
|
dispose, scheduleUpdate, setUpdateInterval
checkValidity, getUpdateInterval
protected java.security.KeyStore keystore
protected java.util.Set<java.security.cert.TrustAnchor> anchors
protected java.security.cert.X509Certificate[] ca
public JDKInMemoryTrustAnchorStore(java.security.KeyStore ks) throws java.security.KeyStoreException
java.security.KeyStoreException
protected JDKInMemoryTrustAnchorStore(java.security.KeyStore ks, java.util.Timer timer, long updateInterval, ObserversHandler observers) throws java.security.KeyStoreException
java.security.KeyStoreException
protected void load() throws java.security.KeyStoreException
java.security.KeyStoreException
public java.util.Set<java.security.cert.TrustAnchor> getTrustAnchors()
public java.security.cert.X509Certificate[] getTrustedCertificates()
public java.security.KeyStore getKeyStore()
protected void update()
TimedTrustAnchorStoreBase
update
in class TimedTrustAnchorStoreBase