TrueZIP Driver TZP (ZIP.RAES) 7.0-rc1

de.schlichtherle.truezip.fs.archive.zip.raes
Class PromptingKeyManagerProvider

java.lang.Object
  extended by de.schlichtherle.truezip.key.spi.KeyManagerProvider
      extended by 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

Field Summary
private static PromptingKeyManager<AesCipherParameters> manager
           
 
Constructor Summary
PromptingKeyManagerProvider()
           
 
Method Summary
<K> KeyManager<? extends K,?>
getManager(Class<K> type)
          Returns the key manager for the given key type.
 
Methods inherited from class de.schlichtherle.truezip.key.spi.KeyManagerProvider
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

manager

private static final PromptingKeyManager<AesCipherParameters> manager
Constructor Detail

PromptingKeyManagerProvider

public PromptingKeyManagerProvider()
Method Detail

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.

TrueZIP Driver TZP (ZIP.RAES) 7.0-rc1

Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.