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
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, setUpdateInterval
checkValidity, getUpdateInterval
protected KeyStore keystore
protected Set<TrustAnchor> anchors
protected X509Certificate[] ca
public JDKInMemoryTrustAnchorStore(KeyStore ks) throws KeyStoreException
KeyStoreException
protected JDKInMemoryTrustAnchorStore(KeyStore ks, Timer timer, long updateInterval, ObserversHandler observers) throws KeyStoreException
KeyStoreException
protected void load() throws KeyStoreException
KeyStoreException
public Set<TrustAnchor> getTrustAnchors()
public X509Certificate[] getTrustedCertificates()
public KeyStore getKeyStore()
protected void update()
TimedTrustAnchorStoreBase
update
in class TimedTrustAnchorStoreBase
Copyright © 2012-2017 European Middleware Initiative. All Rights Reserved.