h02959 s 00003/00003/00104 d D 1.2 97/12/09 15:25:06 luehe 3 1 c rm ,* e s 00000/00000/00000 d R 1.2 97/10/09 09:58:21 Codemgr 2 1 c SunPro Code Manager data about conflicts, renames, etc... c Name history : 1 0 security/JCE1.2/earlyaccess/javax.crypto.spec.DHGenParameterSpec.html e s 00107/00000/00000 d D 1.1 97/10/09 09:58:20 luehe 1 0 c date and time created 97/10/09 09:58:20 by luehe e u U f e 0 t T I 1 D 3 E 3 I 3 E 3 Class javax.crypto.spec.DHGenParameterSpec
D 3
All Packages  Class Hierarchy  This Package  Previous  Next  Index
E 3 I 3 All Packages Class Hierarchy This Package Previous Next Index E 3

Class javax.crypto.spec.DHGenParameterSpec

java.lang.Object
   |
   +----javax.crypto.spec.DHGenParameterSpec

public class DHGenParameterSpec
extends Object
implements AlgorithmParameterSpec
This class specifies the set of parameters used for generating Diffie-Hellman (system) parameters for use in Diffie-Hellman key agreement. This is typically done by a central authority.

The central authority, after computing the parameters, must send this information to the parties looking to agree on a secret key.

See Also:
AlgorithmParameterSpec, AlgorithmParameterGenerator, DHParameterSpec

Constructor Index

 o DHGenParameterSpec(int, int)

Method Index

 o getExponentSize()
Returns the size in bits of the random exponent (private value).
 o getPrimeSize()
Returns the size in bits of the prime modulus.

Constructors

 o DHGenParameterSpec
 public DHGenParameterSpec(int primeSize,
                           int exponentSize)

Methods

 o getPrimeSize
 public int getPrimeSize()
Returns the size in bits of the prime modulus.

Returns:
the size in bits of the prime modulus
 o getExponentSize
 public int getExponentSize()
Returns the size in bits of the random exponent (private value).

Returns:
the size in bits of the random exponent (private value)

D 3
All Packages  Class Hierarchy  This Package  Previous  Next  Index
E 3 I 3 All Packages Class Hierarchy This Package Previous Next Index E 3 E 1