1 /* 2 * @(#)DHPrivateKey.java 1.5 04/01/14 3 * 4 * Copyright (c) 2004 Sun Microsystems, Inc. All Rights Reserved. 5 * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 6 */ 7 8 /* 9 * NOTE: 10 * Because of various external restrictions (i.e. US export 11 * regulations, etc.), the actual source code can not be provided 12 * at this time. This file represents the skeleton of the source 13 * file, so that javadocs of the API can be created. 14 */ 15 16 package javax.crypto.interfaces; 17 18 import java.math.BigInteger; 19 20 /** 21 * The interface to a Diffie-Hellman private key. 22 * 23 * @author Jan Luehe 24 * 25 * @version 1.12, 01/14/04 26 * 27 * @see DHKey 28 * @see DHPublicKey 29 * @since 1.4 30 */ 31 public interface DHPrivateKey extends DHKey, java.security.PrivateKey 32 { 33 /** 34 * The class fingerprint that is set to indicate serialization 35 * compatibility since J2SE 1.4. 36 */ 37 public static final long serialVersionUID = 2211791113380396553L; 38 39 /** 40 * Returns the private value, <code>x</code>. 41 * 42 * @return the private value, <code>x</code> 43 */ 44 public BigInteger getX(); 45 } 46