Class JDKInMemoryTrustAnchorStore
java.lang.Object
eu.emi.security.authn.x509.helpers.trust.AbstractTrustAnchorStore
eu.emi.security.authn.x509.helpers.trust.TimedTrustAnchorStoreBase
eu.emi.security.authn.x509.helpers.trust.JDKInMemoryTrustAnchorStore
- All Implemented Interfaces:
TrustAnchorStore
- Direct Known Subclasses:
JDKFSTrustAnchorStore
Implementation of the
TrustAnchorStore
which uses JDK's KeyStore
as a in-memory storage.- Author:
- K. Benedyczak
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Set<TrustAnchor>
protected X509Certificate[]
protected KeyStore
Fields inherited from class eu.emi.security.authn.x509.helpers.trust.AbstractTrustAnchorStore
observers
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
JDKInMemoryTrustAnchorStore
(KeyStore ks, Timer timer, long updateInterval, ObserversHandler observers) -
Method Summary
Methods inherited from class eu.emi.security.authn.x509.helpers.trust.TimedTrustAnchorStoreBase
dispose, scheduleUpdate, setUpdateInterval
Methods inherited from class eu.emi.security.authn.x509.helpers.trust.AbstractTrustAnchorStore
checkValidity, getUpdateInterval
-
Field Details
-
keystore
-
anchors
-
ca
-
-
Constructor Details
-
JDKInMemoryTrustAnchorStore
- Throws:
KeyStoreException
-
JDKInMemoryTrustAnchorStore
protected JDKInMemoryTrustAnchorStore(KeyStore ks, Timer timer, long updateInterval, ObserversHandler observers) throws KeyStoreException - Throws:
KeyStoreException
-
-
Method Details
-
load
- Throws:
KeyStoreException
-
getTrustAnchors
-
getTrustedCertificates
-
getKeyStore
-
update
public void update()Description copied from class:TimedTrustAnchorStoreBase
implementation should update the contents of the trust anchor store. It need not to bother with scheduling.- Specified by:
update
in classTimedTrustAnchorStoreBase
-