@DefaultAnnotation(value=edu.umd.cs.findbugs.annotations.NonNull.class) public interface Type0RaesParameters extends RaesParameters
| Modifier and Type | Interface and Description |
|---|---|
static class |
Type0RaesParameters.KeyStrength
Defines the key strength for the AES algorithm.
|
| 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.
|
char[] getWritePassword()
throws RaesKeyException
RaesKeyException - If password retrieval has been disabled or
cancelled.char[] getReadPassword(boolean invalid)
throws RaesKeyException
invalid - true iff a previous call to this method resulted
in an invalid password.RaesKeyException - If password retrieval has been disabled or
cancelled.Type0RaesParameters.KeyStrength getKeyStrength()
RuntimeException - if getWritePassword() hasn't
been called before and the implementation can't tolerate this.void setKeyStrength(Type0RaesParameters.KeyStrength keyStrength)
keyStrength - the key strength to use for creating or overwriting
the RAES file.RuntimeException - if getReadPassword(boolean) hasn't
been called before and the implementation can't tolerate this.Copyright © 2005-2011 Schlichtherle IT Services. All Rights Reserved.