public interface Type0RaesParameters extends RaesParameters
Implementations do not need to be safe for multi-threading.
| Modifier and Type | Interface and Description |
|---|---|
static class |
Type0RaesParameters.KeyStrength
Enumerates the AES cipher key strenghts.
|
| 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.
|
Type0RaesParameters.KeyStrength getKeyStrength() throws RaesKeyException
RaesKeyException - If key retrieval has failed for some reason.char[] getReadPassword(boolean invalid)
throws RaesKeyException
invalid - true iff a previous call to this method returned
an invalid password.RaesKeyException - If key retrieval has failed for some reason.char[] getWritePassword()
throws RaesKeyException
RaesKeyException - If key retrieval has failed for some reason.void setKeyStrength(Type0RaesParameters.KeyStrength keyStrength) throws RaesKeyException
keyStrength - the key strength obtained from reading a RAES type 0
file.RaesKeyException - If key retrieval has failed for some reason.Copyright © 2005-2013 Schlichtherle IT Services. All Rights Reserved.