gnu.crypto.key.dh
Class RFC2631
java.lang.Object
gnu.crypto.key.dh.RFC2631
- public class RFC2631
- extends java.lang.Object
An implementation of the Diffie-Hellman parameter generation as defined in
RFC-2631.
Reference:
- Diffie-Hellman Key
Agreement Method
Eric Rescorla.
- Version:
- $Revision: 1.2 $
Constructor Summary |
RFC2631(int m,
int L,
java.security.SecureRandom rnd)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DH_PARAMS_SEED
public static final int DH_PARAMS_SEED
- See Also:
- Constant Field Values
DH_PARAMS_COUNTER
public static final int DH_PARAMS_COUNTER
- See Also:
- Constant Field Values
DH_PARAMS_Q
public static final int DH_PARAMS_Q
- See Also:
- Constant Field Values
DH_PARAMS_P
public static final int DH_PARAMS_P
- See Also:
- Constant Field Values
DH_PARAMS_J
public static final int DH_PARAMS_J
- See Also:
- Constant Field Values
DH_PARAMS_G
public static final int DH_PARAMS_G
- See Also:
- Constant Field Values
RFC2631
public RFC2631(int m,
int L,
java.security.SecureRandom rnd)
generateParameters
public java.math.BigInteger[] generateParameters()
Copyright © 2001, 2002, 2003
Free Software Foundation,
Inc. All Rights Reserved.