gnu.crypto.key.dh
public class GnuDHKeyPairGenerator extends Object implements IKeyPairGenerator
An implementation of a Diffie-Hellman keypair generator.
Reference:
Version: $Revision: 1.2 $
Field Summary | |
---|---|
static String | DH_PARAMETERS
Property name of an optional DHGenParameterSpec instance to use
for this generator. |
static String | EXPONENT_SIZE Property name of the size in bits (Integer) of the private exponent (x). |
static String | PRIME_SIZE Property name of the size in bits (Integer) of the public prime (p). |
static String | SOURCE_OF_RANDOMNESS
Property name of an optional SecureRandom instance to use. |
Method Summary | |
---|---|
KeyPair | generate() |
String | name() |
void | setup(Map attributes) |