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