Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.crypto.interfaces
Interface DHPublicKey  view DHPublicKey download DHPublicKey.java

All Superinterfaces:
DHKey, java.security.Key, java.security.PublicKey, java.io.Serializable

public interface DHPublicKey
extends DHKey, java.security.PublicKey

This interface marks a public key in the Diffie-Hellman key-exchange algorithm.

Implementations of Diffie-Hellman public keys should implement this interface. Applications that know that a particular key is a Diffie-Hellman public key it can be safely cast to this interface.

Since:
1.4

Field Summary
static long serialVersionUID
          Compatible with JDK1.4.
 
Method Summary
 java.math.BigInteger getY()
          Get the public value y.
 
Methods inherited from interface javax.crypto.interfaces.DHKey
getParams
 
Methods inherited from interface java.security.Key
getAlgorithm, getEncoded, getFormat
 

Field Detail

serialVersionUID

public static final long serialVersionUID
Compatible with JDK1.4.

See Also:
Constant Field Values
Method Detail

getY

public java.math.BigInteger getY()
Get the public value y.