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

Quick Search    Search Deep

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

All Known Subinterfaces:
DHPrivateKey, DHPublicKey

public interface DHKey

This interface marks public/private keys in the Diffie-Hellman key exchange algorithm. Implementations of Diffie-Hellman keys should implement this interface, and applications can safely cast keys that are known to be Diffie-Hellman keys to this interface.

Since:
1.4

Method Summary
 javax.crypto.spec.DHParameterSpec getParams()
          Returns the Diffie-Hellman parameters for this key, which includes the generator and the prime.
 

Method Detail

getParams

public javax.crypto.spec.DHParameterSpec getParams()
Returns the Diffie-Hellman parameters for this key, which includes the generator and the prime.