aboutsummaryrefslogtreecommitdiffstats
path: root/libraries/spongycastle/jce/src/main/java/javax/crypto/interfaces/DHPrivateKey.java
blob: 3fc7de99b549fbaa50dfcaf523323cb3d027176e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package javax.crypto.interfaces;

import java.math.BigInteger;
import java.security.PrivateKey;

/**
 * The interface to a Diffie-Hellman private key.
 *
 * @see DHKey
 * @see DHPublicKey
 */
public abstract interface DHPrivateKey
    extends DHKey, PrivateKey
{
    /**
     * Returns the private value, <code>x</code>.
     *
     * @return the private value, <code>x</code>
     */
    public BigInteger getX();
}