public abstract class AbstractKeyManagerProvider extends Object implements KeyManagerProvider
Implementations must be thread-safe.
Constructor and Description |
---|
AbstractKeyManagerProvider() |
Modifier and Type | Method and Description |
---|---|
abstract Map<Class<?>,KeyManager<?>> |
get()
Returns an unmodifiable map of secret key classes to key managers.
|
<K> KeyManager<K> |
get(Class<K> type)
Returns the key manager for the given secret key class.
|
public abstract Map<Class<?>,KeyManager<?>> get()
null
and subsequent calls must return a map which compares at least
equal
with the previously returned map.public final <K> KeyManager<K> get(Class<K> type)
KeyManagerProvider
get
in interface KeyManagerProvider
K
- the type of the secret keys.type
- the class for the secret key type.Copyright © 2005–2018 Schlichtherle IT Services. All rights reserved.