|
TrueZIP Driver ZIP.RAES (TZP) 7.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
@DefaultAnnotation(value=edu.umd.cs.findbugs.annotations.NonNull.class) public interface Type0RaesParameters
The parameters of this interface are used with RAES type 0 files. Type 0 RAES files use password based encryption according to the specifications in PKCS #5 V2.0 und PKCS #12 V1.0.
| Nested Class Summary | |
|---|---|
static class |
Type0RaesParameters.KeyStrength
Defines the key strength for the AES algorithm. |
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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.
|
TrueZIP Driver ZIP.RAES (TZP) 7.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||