@ThreadSafe public class KeyManagerRaesParameters extends Object implements RaesParametersProvider
RaesParameters by using a
KeyManager for AesCipherParameters.
The current implementation supports only Type0RaesParameters.
| Modifier and Type | Field and Description |
|---|---|
protected KeyManager<AesCipherParameters> |
manager
The key manager for accessing RAES encrypted data.
|
protected URI |
raes
The resource URI of the RAES file.
|
| Constructor and Description |
|---|
KeyManagerRaesParameters(KeyManager<AesCipherParameters> manager,
URI raes)
Constructs new RAES parameters.
|
KeyManagerRaesParameters(KeyManagerProvider provider,
URI raes)
Constructs RAES parameters using the given key manager provider.
|
protected final KeyManager<AesCipherParameters> manager
protected final URI raes
public KeyManagerRaesParameters(KeyManager<AesCipherParameters> manager, URI raes)
manager - the key manager for accessing RAES encrypted data.raes - the resource URI of the RAES file.public KeyManagerRaesParameters(KeyManagerProvider provider, URI raes)
provider - the provider for the key manager for accessing RAES
encrypted data.raes - the absolute URI of the RAES file.public <P extends RaesParameters> P get(Class<P> type)
RaesParameters of the given type
or null if not available.
If type is assignable from Type0RaesParameters, then the
KeyManager for AesCipherParameters will get used which
has been provided to the constructor.
Otherwise, null gets returned.
get in interface RaesParametersProviderP - the type of the RAES parameters.type - the RaesParameters interface class which's
implementation is searched.RaesParameters of the given type
or null if not available.Copyright © 2005-2013 Schlichtherle IT Services. All Rights Reserved.