| 
SNMP Stack 4_12 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
  |
  +--org.bouncycastle.crypto.params.KeyParameter
        |
        +--org.bouncycastle.crypto.params.DESParameters
| Field Summary | |
static int | 
DES_KEY_LENGTH
 | 
| Constructor Summary | |
DESParameters(byte[] key)
 | 
|
| Method Summary | |
static boolean | 
isWeakKey(byte[] key,
          int offset)
DES has 16 weak keys.  | 
static void | 
setOddParity(byte[] bytes)
DES Keys use the LSB as the odd parity bit.  | 
| 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_KEY_LENGTH
| Constructor Detail | 
public DESParameters(byte[] key)
| Method Detail | 
public static boolean isWeakKey(byte[] key,
                                int offset)
See "Applied Cryptography" by Bruce Schneier for more information.
public static void setOddParity(byte[] bytes)
bytes - the byte array to set the parity on.
  | 
SNMP Stack 4_12 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||