1 /* 2 * @(#)DSAPrivateKey.java 1.19 03/12/19 3 * 4 * Copyright 2004 Sun Microsystems, Inc. All rights reserved. 5 * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 6 */ 7 8 package java.security.interfaces; 9 10 import java.math.BigInteger; 11 12 /** 13 * The standard interface to a DSA private key. DSA (Digital Signature 14 * Algorithm) is defined in NIST's FIPS-186. 15 * 16 * @see java.security.Key 17 * @see java.security.Signature 18 * @see DSAKey 19 * @see DSAPublicKey 20 * 21 * @version 1.19 03/12/19 22 * @author Benjamin Renaud 23 */ 24 public interface DSAPrivateKey extends DSAKey, java.security.PrivateKey { 25 26 // Declare serialVersionUID to be compatible with JDK1.1 27 28 /** 29 * The class fingerprint that is set to indicate 30 * serialization compatibility with a previous 31 * version of the class. 32 */ 33 static final long serialVersionUID = 7776497482533790279L; 34 35 /** 36 * Returns the value of the private key, <code>x</code>. 37 * 38 * @return the value of the private key, <code>x</code>. 39 */ 40 public BigInteger getX(); 41 } 42 43 44