@Immutable @DefaultAnnotation(value=edu.umd.cs.findbugs.annotations.NonNull.class) public final class PromptingKeyManagerService extends KeyManagerService
AesPbeParameters.| Modifier and Type | Field and Description |
|---|---|
private Map<Class<?>,KeyManager<?>> |
managers |
| Constructor and Description |
|---|
PromptingKeyManagerService()
Constructs a new prompting key manager service using the default view.
|
PromptingKeyManagerService(PromptingKeyProvider.View<AesPbeParameters> view)
Constructs a new prompting key manager service using the given view.
|
| Modifier and Type | Method and Description |
|---|---|
Map<Class<?>,KeyManager<?>> |
get()
Returns an unmodifiable map of secret key classes to key managers.
|
newMap, toStringgetprivate final Map<Class<?>,KeyManager<?>> managers
public PromptingKeyManagerService()
headless,
then the view of the prompting key provider of the prompting key manager
is an instance of ConsoleAesPbeParametersView.
Otherwise, it's an instance of SwingAesPbeParametersView.public PromptingKeyManagerService(PromptingKeyProvider.View<AesPbeParameters> view)
view - the view for the prompting key providers of the prompting
key manager.public Map<Class<?>,KeyManager<?>> get()
AbstractKeyManagerProvidernull
and subsequent calls must return a map which compares at least
equal with the previously returned map.get in class AbstractKeyManagerProviderCopyright © 2004-2011 Schlichtherle IT Services. All Rights Reserved.