@ImplementationsShouldExtend(value=AbstractKeyManagerMap.class) public interface KeyManagerMap
AbstractKeyManagerMap
class rather than directly implementing this
interface in order to maintain binary backwards compatibility even if this
interface is changed.
Implementations must be safe for multi-threading.
Modifier and Type | Method and Description |
---|---|
<K> KeyManager<K> |
manager(Class<K> type)
Returns the key manager for the given secret key class.
|
<K> KeyManager<K> manager(Class<K> type)
This is a pure function - multiple calls must return the same value for the same parameter.
K
- the type of the keys.type
- the class for the key type.ServiceConfigurationError
- if no appropriate key manager is
available.Copyright © 2012–2018 Schlichtherle IT Services. All rights reserved.