Interface KeyProvider
- All Known Implementing Classes:
KeyStoreKeyProvider
KeyProvider is a interface to abstract the different methods of retrieving key material from key
storage such as Java key store.
-
Field Summary
-
Method Summary
-
Field Details
-
PASSWORD
- See Also:
-
PASSWORDFILE
- See Also:
-
-
Method Details
-
init
Initialize the key provider -
getKey
Retrieve the key for a given key aliase- Returns:
- the keys corresponding to the supplied alias, or null if a key is not found
-
getKeys
Retrieve keys for a given set of key aliases- Parameters:
aliases
- an array of aliases- Returns:
- an array of keys corresponding to the supplied aliases, an entry will be null if a key is not found
-