|
Bouncy Castle Cryptography 1.28 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.bouncycastle.crypto.params.KeyParameter
org.bouncycastle.crypto.params.DESParameters
org.bouncycastle.crypto.params.DESedeParameters
| Field Summary | |
static int |
DES_EDE_KEY_LENGTH
|
| Fields inherited from class org.bouncycastle.crypto.params.DESParameters |
DES_KEY_LENGTH |
| Constructor Summary | |
DESedeParameters(byte[] key)
|
|
| Method Summary | |
static boolean |
isWeakKey(byte[] key,
int offset)
return true if the passed in key is a DES-EDE weak key. |
static boolean |
isWeakKey(byte[] key,
int offset,
int length)
return true if the passed in key is a DES-EDE weak key. |
| Methods inherited from class org.bouncycastle.crypto.params.DESParameters |
setOddParity |
| Methods inherited from class org.bouncycastle.crypto.params.KeyParameter |
getKey |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int DES_EDE_KEY_LENGTH
| Constructor Detail |
public DESedeParameters(byte[] key)
| Method Detail |
public static boolean isWeakKey(byte[] key,
int offset,
int length)
key - bytes making up the keyoffset - offset into the byte array the key starts atlength - number of bytes making up the key
public static boolean isWeakKey(byte[] key,
int offset)
key - bytes making up the keyoffset - offset into the byte array the key starts at
|
Bouncy Castle Cryptography 1.28 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||