public abstract class KeyManagerService extends AbstractKeyManagerProvider
KeyManagerLocator
.
Implementations must be thread-safe.
Constructor and Description |
---|
KeyManagerService() |
Modifier and Type | Method and Description |
---|---|
static Map<Class<?>,KeyManager<?>> |
newMap(Object[][] config)
A static factory method for an unmodifiable key manager map which is
constructed from the given configuration.
|
String |
toString()
Returns a string representation of this object for debugging and logging
purposes.
|
get, get
public static Map<Class<?>,KeyManager<?>> newMap(Object[][] config)
AbstractKeyManagerProvider.get()
method.config
- an array of key-value pair arrays.
The first element of each inner array must either be a
secret key class
, a
fully qualified name of a secret key class
,
or null
.
The second element of each inner array must either be a
key manager instance
, a
key manager class
, a
fully qualified name of a key manager class
,
or null
.AbstractKeyManagerProvider.get()
.NullPointerException
- if a required configuration element is
null
.IllegalArgumentException
- if any other parameter precondition
does not hold.Copyright © 2005–2018 Schlichtherle IT Services. All rights reserved.