de.schlichtherle.truezip.fs.archive.zip.raes
Class PromptingKeyManagerProvider
java.lang.Object
de.schlichtherle.truezip.key.spi.KeyManagerProvider
de.schlichtherle.truezip.fs.archive.zip.raes.PromptingKeyManagerProvider
- All Implemented Interfaces:
- KeyManagerService
@Immutable
public final class PromptingKeyManagerProvider
- extends KeyManagerProvider
A container for a prompting key manager implementation for
AesCipherParameters.
If this JVM is running headless,
then its UI is an instance of
AesCipherParametersUI.
Otherwise, it's an instance of
AesCipherParametersUI.
- Author:
- Christian Schlichtherle
|
Method Summary |
|
getManager(Class<K> type)
Returns the key manager for the given key type. |
manager
private static final PromptingKeyManager<AesCipherParameters> manager
PromptingKeyManagerProvider
public PromptingKeyManagerProvider()
getManager
public <K> KeyManager<? extends K,?> getManager(Class<K> type)
- Description copied from interface:
KeyManagerService
- Returns the key manager for the given key type.
Calling this method multiple times must return the same key manager
for the same key type in order to ensure consistency of the key space.
- Returns:
- The key manager for the given key type.
Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.