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() |
void |
update()
implementation should update the contents of the trust anchor store.
|
dispose, scheduleUpdate, setUpdateIntervalcheckValidity, getUpdateIntervalprotected 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.KeyStoreExceptionprotected JDKInMemoryTrustAnchorStore(java.security.KeyStore ks,
java.util.Timer timer,
long updateInterval,
ObserversHandler observers)
throws java.security.KeyStoreException
java.security.KeyStoreExceptionprotected void load()
throws java.security.KeyStoreException
java.security.KeyStoreExceptionpublic java.util.Set<java.security.cert.TrustAnchor> getTrustAnchors()
public java.security.cert.X509Certificate[] getTrustedCertificates()
public java.security.KeyStore getKeyStore()
public void update()
TimedTrustAnchorStoreBaseupdate in class TimedTrustAnchorStoreBase