DESedeKeySpec


DESedeKeySpec javax.crypto.spec

Java 1.4

This class is a transparent representation of a DESede (triple-DES) key. The key is 24 bytes long.

Figure 17-15. javax.crypto.spec.DESedeKeySpec

 public class  DESedeKeySpec  implements java.security.spec.KeySpec {  // Public Constructors  public  DESedeKeySpec  (byte[ ]  key  ) throws java.security.InvalidKeyException;        public  DESedeKeySpec  (byte[ ]  key  , int  offset  ) throws java.security.InvalidKeyException;  // Public Constants  public static final int  DES_EDE_KEY_LEN  ;  =24   // Public Class Methods  public static boolean  isParityAdjusted  (byte[ ]  key  , int  offset  )          throws java.security.InvalidKeyException;  // Public Instance Methods  public byte[ ]  getKey  ( );   } 



Java In A Nutshell
Java In A Nutshell, 5th Edition
ISBN: 0596007736
EAN: 2147483647
Year: 2004
Pages: 1220

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net