TrueZIP Driver ZIP.RAES (TZP) 7.1

de.schlichtherle.truezip.key
Interface KeyManagerProvider

All Known Implementing Classes:
KeyManagerLocator, KeyManagerService, PromptingKeyManagerService

public interface KeyManagerProvider

A service for the singleton key manager for given key type.

Implementations must be thread-safe.

Author:
Christian Schlichtherle

Method Summary
<K> KeyManager<K>
get(Class<K> type)
          Returns the singleton key manager for the given key type.
 

Method Detail

get

@NonNull
<K> KeyManager<K> get(@NonNull
                              Class<K> type)
Returns the singleton key manager for the given key type.

Calling this method several 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 ZIP.RAES (TZP) 7.1

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