home *** CD-ROM | disk | FTP | other *** search
/ Java 1.2 How-To / JavaHowTo.iso / 3rdParty / jbuilder / unsupported / JDK1.2beta3 / SOURCE / SRC.ZIP / java / security / interfaces / DSAKey.java next >
Encoding:
Java Source  |  1998-03-20  |  1.0 KB  |  41 lines

  1. /*
  2.  * @(#)DSAKey.java    1.10 98/03/18
  3.  *
  4.  * Copyright 1996, 1997 by Sun Microsystems, Inc.,
  5.  * 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
  6.  * All rights reserved.
  7.  *
  8.  * This software is the confidential and proprietary information
  9.  * of Sun Microsystems, Inc. ("Confidential Information").  You
  10.  * shall not disclose such Confidential Information and shall use
  11.  * it only in accordance with the terms of the license agreement
  12.  * you entered into with Sun.
  13.  */
  14.  
  15. package java.security.interfaces;
  16.  
  17. /**
  18.  * The interface to a DSA public or private key. DSA (Digital Signature
  19.  * Algorithm) is defined in NIST's FIPS-186.
  20.  *
  21.  * @see DSAParams
  22.  * @see java.security.Key
  23.  * @see java.security.Signature
  24.  * 
  25.  * @version 1.10, 98/03/18
  26.  * @author Benjamin Renaud 
  27.  * @author Josh Bloch 
  28.  */
  29. public interface DSAKey {
  30.  
  31.     /**
  32.      * Returns the DSA-specific key parameters. These parameters are
  33.      * never secret.
  34.      *
  35.      * @return the DSA-specific key parameters.
  36.      * 
  37.      * @see DSAParams
  38.      */
  39.     public DSAParams getParams();
  40. }
  41.