public class KeyProviderForTesting extends Object implements KeyProvider
PASSWORD, PASSWORDFILE
Constructor and Description |
---|
KeyProviderForTesting() |
Modifier and Type | Method and Description |
---|---|
Key |
getKey(String name)
Retrieve the key for a given key aliase
|
Key[] |
getKeys(String[] aliases)
Retrieve keys for a given set of key aliases
|
void |
init(String parameters)
Initialize the key provider
|
public void init(String parameters)
KeyProvider
init
in interface KeyProvider
public Key getKey(String name)
KeyProvider
getKey
in interface KeyProvider
public Key[] getKeys(String[] aliases)
KeyProvider
getKeys
in interface KeyProvider
aliases
- an array of aliases