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