|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AesKeyProvider
A KeyProvider
which allows to select the cipher key strength
when creating a new AES encrypted resource or replacing the entire
contents of an already existing AES encrypted resource.
The cipher key strength for the AES encryption may be either 128, 192 or
256 bits.
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. |
Fields inherited from interface de.schlichtherle.key.KeyProvider |
---|
MIN_KEY_RETRY_DELAY |
Method Summary | |
---|---|
int |
getKeyStrength()
Returns the cipher key strength for the AES encryption. |
void |
setKeyStrength(int keyStrength)
Sets the cipher key strength for the AES encryption. |
Methods inherited from interface de.schlichtherle.key.KeyProvider |
---|
getCreateKey, getOpenKey, invalidOpenKey |
Field Detail |
---|
static final int KEY_STRENGTH_128
static final int KEY_STRENGTH_192
static final int KEY_STRENGTH_256
Method Detail |
---|
int getKeyStrength()
KEY_STRENGTH_128
,
KEY_STRENGTH_192
or KEY_STRENGTH_256
.void setKeyStrength(int keyStrength)
keyStrength
- One of KEY_STRENGTH_128
,
KEY_STRENGTH_192
or KEY_STRENGTH_256
.
IllegalArgumentException
- If the preconditions for the parameter
do not hold.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |