public abstract class AbstractKeyStoreKeyProvider extends AbstractPropertyChange implements KeyProvider
PROP_LOCKED| Constructor and Description |
|---|
AbstractKeyStoreKeyProvider(Realm realm) |
| Modifier and Type | Method and Description |
|---|---|
protected Key |
createKey(java.lang.String alias,
java.security.KeyStore keyStore,
java.lang.String initialPassword) |
void |
dispose() |
IObservableList |
getKeys() |
protected void |
handleLoadError(java.lang.Throwable e) |
boolean |
isLocked() |
protected void |
load() |
protected void |
load(CallbackHandler callbackHandler) |
protected void |
load(java.io.File file,
CallbackHandler callbackHandler) |
protected void |
performLoad() |
protected void |
performLoad(CallbackHandler callbackHandler) |
protected void |
performLoad(java.io.File file,
java.lang.String password) |
protected void |
setKeyStore(java.security.KeyStore keyStore) |
protected void |
setLocked(boolean locked) |
protected void setKeyStore(java.security.KeyStore keyStore)
public IObservableList getKeys()
getKeys in interface KeyProviderpublic void dispose()
dispose in interface KeyProviderprotected void setLocked(boolean locked)
protected void handleLoadError(java.lang.Throwable e)
protected void load()
protected void load(CallbackHandler callbackHandler)
protected void load(java.io.File file,
CallbackHandler callbackHandler)
protected void performLoad(CallbackHandler callbackHandler)
throws java.lang.Exception
java.lang.Exceptionprotected void performLoad()
throws java.lang.Exception
java.lang.Exceptionprotected void performLoad(java.io.File file,
java.lang.String password)
throws java.lang.Exception
java.lang.Exceptionprotected Key createKey(java.lang.String alias, java.security.KeyStore keyStore, java.lang.String initialPassword)
Copyright (c) IBH SYSTEMS GmbH and others 2010, 2013.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0