DESKeySpec

Class DESKeySpec

All Implemented Interfaces:
KeySpec
public class DESKeySpec
extends Object
implements KeySpec

This class specifies a DES key.

Since:
1.4

Fields

DES_KEY_LEN

public static final int DES_KEY_LEN

The constant which defines the length of a DES key in bytes.

Constructors

DESKeySpec

public DESKeySpec(byte[] key)
           throws InvalidKeyException

Creates a DESKeySpec object using the firs