aicas logo Jamaica 3.4 release 8

javax.crypto.interfaces
Interface DHKey

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
 DHParameterSpec getParams()
          Returns the Diffie-Hellman parameters for this key, which includes the generator and the prime.
 

Method Detail

getParams

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

Returns:
The Diffie-Hellman parameters.

aicas logo Jamaica 3.4 release 8

aicas GmbH, Karlsruhe - Germany    www.aicas.com
Copyright 2001-2009 aicas GmbH. All Rights Reserved.