eu.emi.security.authn.x509.helpers.trust
Class JDKInMemoryTrustAnchorStore
java.lang.Object
eu.emi.security.authn.x509.helpers.trust.TrustAnchorStoreBase
eu.emi.security.authn.x509.helpers.trust.JDKInMemoryTrustAnchorStore
- All Implemented Interfaces:
- TrustAnchorStore
- Direct Known Subclasses:
- JDKFSTrustAnchorStore
public class JDKInMemoryTrustAnchorStore
- extends TrustAnchorStoreBase
Implementation of the TrustAnchorStore
which uses JDK's KeyStore
as a in-memory storage.
- Author:
- K. Benedyczak
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
keystore
protected KeyStore keystore
anchors
protected Set<TrustAnchor> anchors
ca
protected X509Certificate[] ca
JDKInMemoryTrustAnchorStore
public JDKInMemoryTrustAnchorStore(KeyStore ks)
throws KeyStoreException
- Throws:
KeyStoreException
JDKInMemoryTrustAnchorStore
protected JDKInMemoryTrustAnchorStore(KeyStore ks,
Timer timer,
long updateInterval,
ObserversHandler observers)
throws KeyStoreException
- Throws:
KeyStoreException
load
protected void load()
throws KeyStoreException
- Throws:
KeyStoreException
getTrustAnchors
public Set<TrustAnchor> getTrustAnchors()
getTrustedCertificates
public X509Certificate[] getTrustedCertificates()
getKeyStore
public KeyStore getKeyStore()
update
protected void update()
- Description copied from class:
TrustAnchorStoreBase
- implementation should update the contents of the trust anchor store.
It need not to bother with scheduling.
- Specified by:
update
in class TrustAnchorStoreBase
Copyright © 2012-2013 European Middleware Initiative. All Rights Reserved.