private class KeyManagerRaesParameters.Type0 extends Object implements Type0RaesParameters
KeyProvider for AesCipherParameters obtained
from the KeyManagerRaesParameters.manager to Type0RaesParameters.Type0RaesParameters.KeyStrength| Modifier | Constructor and Description |
|---|---|
private |
KeyManagerRaesParameters.Type0() |
| Modifier and Type | Method and Description |
|---|---|
Type0RaesParameters.KeyStrength |
getKeyStrength()
Returns the key strength to use for writing a RAES type 0 file.
|
char[] |
getReadPassword(boolean invalid)
Returns the password to use for reading a RAES type 0 file.
|
char[] |
getWritePassword()
Returns the password to use for writing a RAES type 0 file.
|
void |
setKeyStrength(Type0RaesParameters.KeyStrength keyStrength)
Sets the key strength obtained from reading a RAES type 0 file.
|
public Type0RaesParameters.KeyStrength getKeyStrength() throws RaesKeyException
Type0RaesParametersgetKeyStrength in interface Type0RaesParametersRaesKeyException - If key retrieval has failed for some reason.public char[] getReadPassword(boolean invalid)
throws RaesKeyException
Type0RaesParametersgetReadPassword in interface Type0RaesParametersinvalid - true iff a previous call to this method returned
an invalid password.RaesKeyException - If key retrieval has failed for some reason.public char[] getWritePassword()
throws RaesKeyException
Type0RaesParametersgetWritePassword in interface Type0RaesParametersRaesKeyException - If key retrieval has failed for some reason.public void setKeyStrength(Type0RaesParameters.KeyStrength keyStrength) throws RaesKeyException
Type0RaesParameterssetKeyStrength in interface Type0RaesParameterskeyStrength - the key strength obtained from reading a RAES type 0
file.RaesKeyException - If key retrieval has failed for some reason.Copyright © 2004-2011 Schlichtherle IT Services. All Rights Reserved.