public interface Type0RaesParameters extends RaesParameters
Implementations do not need to be safe for multi-threading.
| Modifier and Type | Method and Description |
|---|---|
net.java.truecommons.key.spec.common.AesKeyStrength |
getKeyStrength()
Returns the key strength to use for writing a RAES type 0 file.
|
char[] |
getPasswordForReading(boolean invalid)
Returns the password to use for reading a RAES type 0 file.
|
char[] |
getPasswordForWriting()
Returns the password to use for writing a RAES type 0 file.
|
void |
setKeyStrength(net.java.truecommons.key.spec.common.AesKeyStrength keyStrength)
Sets the key strength obtained from reading a RAES type 0 file.
|
char[] getPasswordForWriting()
throws RaesKeyException
RaesKeyException - If key retrieval has failed for some reason.char[] getPasswordForReading(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.net.java.truecommons.key.spec.common.AesKeyStrength getKeyStrength()
throws RaesKeyException
RaesKeyException - If key retrieval has failed for some reason.void setKeyStrength(net.java.truecommons.key.spec.common.AesKeyStrength keyStrength)
throws RaesKeyException
keyStrength - the key strength obtained from reading a RAES type 0
file.RaesKeyException - If key retrieval has failed for some reason.