public class JDKInMemoryTrustAnchorStore extends TimedTrustAnchorStoreBase
TrustAnchorStore which uses JDK's KeyStore
as a in-memory storage.| Modifier and Type | Field and Description |
|---|---|
protected Set<TrustAnchor> |
anchors |
protected X509Certificate[] |
ca |
protected KeyStore |
keystore |
observers, updateInterval| Modifier | Constructor and Description |
|---|---|
|
JDKInMemoryTrustAnchorStore(KeyStore ks) |
protected |
JDKInMemoryTrustAnchorStore(KeyStore ks,
Timer timer,
long updateInterval,
ObserversHandler observers) |
| Modifier and Type | Method and Description |
|---|---|
KeyStore |
getKeyStore() |
Set<TrustAnchor> |
getTrustAnchors() |
X509Certificate[] |
getTrustedCertificates() |
protected void |
load() |
protected void |
update()
implementation should update the contents of the trust anchor store.
|
dispose, scheduleUpdate, setUpdateIntervalcheckValidity, getUpdateIntervalprotected KeyStore keystore
protected Set<TrustAnchor> anchors
protected X509Certificate[] ca
public JDKInMemoryTrustAnchorStore(KeyStore ks) throws KeyStoreException
KeyStoreExceptionprotected JDKInMemoryTrustAnchorStore(KeyStore ks, Timer timer, long updateInterval, ObserversHandler observers) throws KeyStoreException
KeyStoreExceptionprotected void load()
throws KeyStoreException
KeyStoreExceptionpublic Set<TrustAnchor> getTrustAnchors()
public X509Certificate[] getTrustedCertificates()
public KeyStore getKeyStore()
protected void update()
TimedTrustAnchorStoreBaseupdate in class TimedTrustAnchorStoreBaseCopyright © 2012-2014 European Middleware Initiative. All Rights Reserved.