|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface KeyStoreLoader
An interface to key store loaders.
Method Summary | |
---|---|
void |
addKeyStore(KeyStore store)
Adds a new key store or refreshes a changed one. |
void |
clearKeyStores()
Clears all key stores. |
KeyStore |
getKeyStore(String alias)
Gets the first key store for the specified alias. |
KeyStore[] |
getKeyStores(String alias)
Gets all key stores for the specified alias. |
String |
getSecurityKey()
Gets the path finder key for resolving security paths. |
void |
load(File file,
String password)
Loads a key store from the specified file. |
void |
load(InputStream stream,
String password)
Loads a key store from the specified input stream. |
void |
load(String path,
String password)
Loads a key store from the specified path. |
void |
load(URL url,
String password)
Loads a key store from the specified URL. |
void |
removeKeyStore(KeyStore store)
Removes a key store. |
void |
removeKeyStores(String alias)
Removes all key stores for the specified alias. |
void |
setSecurityKey(String key)
Sets the path finder key for resolving security paths. |
Method Detail |
---|
String getSecurityKey()
void setSecurityKey(String key)
key
- the path finder key.KeyStore getKeyStore(String alias)
alias
- the alias.
KeyStore[] getKeyStores(String alias)
alias
- the alias.
void addKeyStore(KeyStore store) throws LogException
store
- a key store.
LogException
- on errors.void removeKeyStore(KeyStore store)
store
- a key store.void removeKeyStores(String alias)
Note that the associated key stores are removed from all of their other aliases as well.
alias
- the alias.void clearKeyStores()
void load(String path, String password) throws LogException
path
- the path from which the key store is loaded.password
- the (optional) password used to check the integrity.
LogException
- on errors.void load(File file, String password) throws LogException
file
- the file from which the key store is loaded.password
- the (optional) password used to check the integrity.
LogException
- on errors.void load(URL url, String password) throws LogException
url
- the URL from which the key store is loaded.password
- the (optional) password used to check the integrity.
LogException
- on errors.void load(InputStream stream, String password) throws LogException
stream
- the input stream from which the key store is loaded.password
- the (optional) password used to check the integrity.
LogException
- on errors.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |