|
TrueZIP 6.8.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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.
| Field Summary | |
|---|---|
static int |
KEY_STRENGTH_128
Identifier for a 128 bit ciphering key. |
static int |
KEY_STRENGTH_192
Identifier for a 192 bit ciphering key. |
static int |
KEY_STRENGTH_256
Identifier for a 256 bit ciphering key. |
| Method Summary | |
|---|---|
char[] |
getCreatePasswd()
Returns the password required to create or overwrite the RAES type 0 file. |
int |
getKeyStrength()
Returns the key strength to use for creating or overwriting the RAES file. |
char[] |
getOpenPasswd()
Returns the password required to open the RAES type 0 file for reading. |
void |
invalidOpenPasswd()
Callback to report that the password returned by getOpenPasswd()
is wrong. |
void |
setKeyStrength(int keyStrength)
Sets the key strength which was used when creating or overwriting the RAES file. |
| Field Detail |
|---|
static final int KEY_STRENGTH_128
static final int KEY_STRENGTH_192
static final int KEY_STRENGTH_256
| Method Detail |
|---|
char[] getCreatePasswd()
throws RaesKeyException
null.
RaesKeyException - If password retrieval has been disabled or
cancelled.
char[] getOpenPasswd()
throws RaesKeyException
null.
RaesKeyException - If password retrieval has been disabled or
cancelled.void invalidOpenPasswd()
getOpenPasswd()
is wrong.
int getKeyStrength()
KEY_STRENGTH_128,
KEY_STRENGTH_192,
KEY_STRENGTH_256void setKeyStrength(int keyStrength)
|
TrueZIP 6.8.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||