|
Préférences
Moteurs de recherche
|
||||||||||||
JavaTM 2 Platform Std. Ed. v1.6.0
javax.crypto.spec
|
Constructor Summary | |
---|---|
DHGenParameterSpec(int primeSize,
int exponentSize)
Constructs a parameter set for the generation of Diffie-Hellman (system) parameters. |
Method Summary | |
---|---|
int |
getExponentSize()
Returns the size in bits of the random exponent (private value). |
int |
getPrimeSize()
Returns the size in bits of the prime modulus. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DHGenParameterSpec(int primeSize, int exponentSize)
AlgorithmParameterGenerator
object for the generation of Diffie-Hellman parameters.
primeSize
- the size (in bits) of the prime modulus.exponentSize
- the size (in bits) of the random exponent.Method Detail |
---|
public int getPrimeSize()
public int getExponentSize()