1   /* $RCSfile: DESKeySpec.java,v $
2    * $Revision: 1.7 $
3    * $Date: 2001/11/02 09:11:01 $
4    * $Author: uwe $
5    * $State: Exp $
6    *
7    * Created on August 11, 2001 11:18 AM
8    *
9    * Copyright (C) 2001 Uwe Guenther <uwe@cscc.de>
10   *
11   * This file is part of the jhbci JCE-ServiceProvider. The jhbci JCE-
12   * ServiceProvider is a library, written in JavaTM, that should be 
13   * used in HBCI banking applications (clients and may be servers),
14   * to do cryptographic operations.
15   *
16   * The jhbci library is free software; you can redistribute it and/or
17   * modify it under the terms of the GNU Lesser General Public
18   * License as published by the Free Software Foundation; either
19   * version 2.1 of the License, or (at your option) any later version.
20   *
21   * The jhbci library is distributed in the hope that it will be useful,
22   * but WITHOUT ANY WARRANTY; without even the implied warranty of
23   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
24   * Lesser General Public License for more details.
25   *
26   * You should have received a copy of the GNU Lesser General Public
27   * License along with this library; if not, write to the Free Software
28   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
29   *
30   */
31  
32  package de.cscc.crypto.provider.spec;
33  
34  import java.security.spec.KeySpec;
35  
36  /** 
37   * DESKeySpec interface. Defines a general interface for
38   * all 3 sorts of DES Keys, DES1KeySpec, DESede2KeySpec and
39   * DESede3KeySpec.
40   *
41   * @author  <a href=mailto:uwe@cscc.de>Uwe G&uuml;nther</a>
42   * @version $Revision: 1.7 $
43   */
44  public interface DESKeySpec extends KeySpec {
45  
46      /** 
47       * Get the DES Key as byte[8,16 or 24].
48       *
49       * @return the DES Key as byte[8,16 or 24]. 
50       */
51      public byte[] getKey();    
52  }
53