TrueZIP Driver TZP (ZIP.RAES) 7.0-rc1

de.schlichtherle.truezip.key
Interface KeyManagerService

All Known Implementing Classes:
KeyManagerLocator, KeyManagerProvider, PromptingKeyManagerProvider

public interface KeyManagerService

A service for key managers.

Implementations must be thread-safe.

Author:
Christian Schlichtherle

Method Summary
<K> KeyManager<? extends K,?>
getManager(Class<K> type)
          Returns the key manager for the given key type.
 

Method Detail

getManager

@NonNull
<K> KeyManager<? extends K,?> getManager(@NonNull
                                                 Class<K> type)
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.
Throws:
ServiceConfigurationError - if no appropriate key manager is available.

TrueZIP Driver TZP (ZIP.RAES) 7.0-rc1

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