aboutsummaryrefslogtreecommitdiffstats
path: root/libraries/spongycastle/jce/src/main/java/javax/crypto/interfaces/DHPublicKey.java
blob: 3d395afa4ecbc4a82b1f913a8beeeefa237bb091 (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.PublicKey;

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