@ThreadSafe public class KeyManagerRaesParameters extends Object implements RaesParametersProvider
RaesParameters by using a
KeyManager for AesPbeParameters.
The current implementation supports only Type0RaesParameters.
| Modifier and Type | Field and Description |
|---|---|
protected net.java.truecommons.key.spec.KeyManager<net.java.truecommons.key.spec.common.AesPbeParameters> |
manager
The key manager for accessing RAES encrypted data.
|
protected URI |
raes
The resource URI of the RAES file.
|
| Constructor and Description |
|---|
KeyManagerRaesParameters(net.java.truecommons.key.spec.KeyManager<net.java.truecommons.key.spec.common.AesPbeParameters> manager,
URI raes)
Constructs new RAES parameters.
|
KeyManagerRaesParameters(net.java.truecommons.key.spec.KeyManagerMap container,
URI raes)
Constructs RAES parameters using the given key manager provider.
|
protected final net.java.truecommons.key.spec.KeyManager<net.java.truecommons.key.spec.common.AesPbeParameters> manager
protected final URI raes
public KeyManagerRaesParameters(net.java.truecommons.key.spec.KeyManager<net.java.truecommons.key.spec.common.AesPbeParameters> manager,
URI raes)
manager - the key manager for accessing RAES encrypted data.raes - the resource URI of the RAES file.public KeyManagerRaesParameters(net.java.truecommons.key.spec.KeyManagerMap container,
URI raes)
container - the container of 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 AesPbeParameters will getKeyManager 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–2018 Schlichtherle IT Services. All rights reserved.