Name

Class javax.crypto.spec.DESKeySpec

Synopsis

This class represents a key specification for DES keys; this specification may be used with a secret key factory to import and export DES keys.

Class Definition

public class javax.crypto.spec.DESKeySpec
	extends java.lang.Object
	implements java.security.spec.KeySpec {

	//Constants
	public static final int DES_KEY_LEN;

	// Constructors
	public DESKeySpec(byte[]);
	public DESKeySpec(byte[], int);

	// Class Methods
	public static boolean isParityAdjusted(byte[], int);
	public static boolean isWeak(byte[], int);

	// Instance Methods
	public byte[] getKey();
}

See also:

SecretKeyFactory

Get Java Security now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.