private class KeyManagerRaesParameters.Type0 extends Object implements Type0RaesParameters
KeyProvider
interface as Type0RaesParameters.Type0RaesParameters.KeyStrength| Modifier and Type | Field and Description |
|---|---|
private AesCipherParameters |
param |
| Modifier | Constructor and Description |
|---|---|
private |
KeyManagerRaesParameters.Type0() |
| Modifier and Type | Method and Description |
|---|---|
Type0RaesParameters.KeyStrength |
getKeyStrength()
Returns the key strength to use for creating or overwriting the RAES file.
|
char[] |
getReadPassword(boolean invalid)
Returns the password required to open the RAES type 0 file for reading.
|
char[] |
getWritePassword()
Returns the password required to create or overwrite the RAES type 0 file.
|
void |
setKeyStrength(Type0RaesParameters.KeyStrength keyStrength)
Sets the key strength to use for creating or overwriting the RAES file.
|
private AesCipherParameters param
public char[] getWritePassword()
throws RaesKeyException
Type0RaesParametersgetWritePassword in interface Type0RaesParametersRaesKeyException - If password retrieval has been disabled or
cancelled.public char[] getReadPassword(boolean invalid)
throws RaesKeyException
Type0RaesParametersgetReadPassword in interface Type0RaesParametersinvalid - true iff a previous call to this method resulted
in an invalid password.RaesKeyException - If password retrieval has been disabled or
cancelled.public Type0RaesParameters.KeyStrength getKeyStrength()
Type0RaesParametersgetKeyStrength in interface Type0RaesParameterspublic void setKeyStrength(Type0RaesParameters.KeyStrength keyStrength)
Type0RaesParameterssetKeyStrength in interface Type0RaesParameterskeyStrength - the key strength to use for creating or overwriting
the RAES file.Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.