public interface KeyStoreObjectCache
KeyStoreParameters.CACHE option. It is strongly recommended that cache implementations evict key store
objects after a period of time in order to avoid returning stale objects.| Modifier and Type | Field and Description |
|---|---|
static KeyStoreObjectCache |
NONE
A cache implementation that does not cache anything.
|
| Modifier and Type | Method and Description |
|---|---|
KeyStoreObject |
get(String alias)
Returns the named key store object from the cache if present, or
null if the object is not present or
has been removed. |
void |
put(KeyStoreObject keyStoreObject)
Puts a key store object in the cache replacing any existing key store object with the same alias.
|
static final KeyStoreObjectCache NONE
void put(KeyStoreObject keyStoreObject)
keyStoreObject - The key store object.KeyStoreObject get(String alias)
null if the object is not present or
has been removed.alias - The alias of the key store object to be retrieved.null if the object is not present.Copyright © 2017-2020 Wren Security. All Rights Reserved.