public class

DESedeParameters

extends DESParameters
java.lang.Object
   ↳ org.bouncycastle.crypto.params.KeyParameter
     ↳ org.bouncycastle.crypto.params.DESParameters
       ↳ org.bouncycastle.crypto.params.DESedeParameters

Summary

Constants
int DES_EDE_KEY_LENGTH
[Expand]
Inherited Constants
From class org.bouncycastle.crypto.params.DESParameters
Public Constructors
DESedeParameters(byte[] key)
Public Methods
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.
[Expand]
Inherited Methods
From class org.bouncycastle.crypto.params.DESParameters
From class org.bouncycastle.crypto.params.KeyParameter
From class java.lang.Object

Constants

public static final int DES_EDE_KEY_LENGTH

Constant Value: 24 (0x00000018)

Public Constructors

public DESedeParameters (byte[] key)

Public Methods

public static boolean isWeakKey (byte[] key, int offset)

return true if the passed in key is a DES-EDE weak key.

Parameters
key bytes making up the key
offset offset into the byte array the key starts at

public static boolean isWeakKey (byte[] key, int offset, int length)

return true if the passed in key is a DES-EDE weak key.

Parameters
key bytes making up the key
offset offset into the byte array the key starts at
length number of bytes making up the key