Top Fields Constructors Methods
org.bouncycastle.crypto.internal.params

public Class DesEdeParameters

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final int

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static boolean
isActuallyDesKey(byte[] key)

public static boolean
isReal2Key(byte[] key)

public static boolean
isReal3Key(byte[] key)

public static boolean
isRealEDEKey(byte[] key)

public static boolean
isWeakKey(byte[]
bytes making up the key
key
,
int
offset into the byte array the key starts at
offset
,
int
number of bytes making up the key
length
)

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

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

DES_EDE_KEY_LENGTHback to summary
public static final int DES_EDE_KEY_LENGTH

Constructor Detail

DesEdeParametersback to summary
public DesEdeParameters()

Method Detail

isActuallyDesKeyback to summary
public static boolean isActuallyDesKey(byte[] key)
isReal2Keyback to summary
public static boolean isReal2Key(byte[] key)
isReal3Keyback to summary
public static boolean isReal3Key(byte[] key)
isRealEDEKeyback to summary
public static boolean isRealEDEKey(byte[] key)
isWeakKeyback to summary
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:byte[]

bytes making up the key

offset:int

offset into the byte array the key starts at

length:int

number of bytes making up the key