ice.crypto
Class DHKeyPairGenerator
java.lang.Object
java.security.KeyPairGeneratorSpi
java.security.KeyPairGenerator
ice.crypto.DHKeyPairGenerator
- public final class DHKeyPairGenerator
- extends KeyPairGenerator
This class is JCE 1.1 and JCE 1.2 compliant
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DHKeyPairGenerator
public DHKeyPairGenerator()
getAlgorithm
public String getAlgorithm()
initialize
public void initialize(int size,
SecureRandom random)
- size represents the length of the prime p. Must be one
of 512, 1024 or 2048
initialize
public void initialize(int size)
- size represents the length of the prime p. Must be one
of 512, 1024 or 2048
init
public void init(AlgorithmParameterSpec genParamSpec)
init
public void init(DHParameterSpec genParamSpec)
init
public void init(AlgorithmParameterSpec genParamSpec,
SecureRandom random)
init
public void init(DHParameterSpec genParamSpec,
SecureRandom random)
generateKeyPair
public KeyPair generateKeyPair()