Class DhGroup
java.lang.Object
org.apache.kerby.kerberos.kerb.crypto.dh.DhGroup
"When using the Diffie-Hellman key agreement method, implementations MUST
support Oakley 1024-bit Modular Exponential (MODP) well-known group 2
[RFC2412] and Oakley 2048-bit MODP well-known group 14 [RFC3526] and
SHOULD support Oakley 4096-bit MODP well-known group 16 [RFC3526]."
- Author:
- Apache Directory Project
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DHParameterSpecFrom: More Modular Exponential (MODP) Diffie-Hellman groups for Internet Key Exchange (IKE) http://www.ietf.org/rfc/rfc3526.txt 2048-bit MODP Group This group is assigned id 14.static final DHParameterSpecFrom: More Modular Exponential (MODP) Diffie-Hellman groups for Internet Key Exchange (IKE) http://www.ietf.org/rfc/rfc3526.txt 4096-bit MODP Group This group is assigned id 16.static final DHParameterSpecFrom: The OAKLEY Key Determination Protocol http://www.ietf.org/rfc/rfc2412.txt Well-Known Group 2: A 1024 bit prime This group is assigned id 2 (two). -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
MODP_GROUP2
From: The OAKLEY Key Determination Protocol http://www.ietf.org/rfc/rfc2412.txt Well-Known Group 2: A 1024 bit prime This group is assigned id 2 (two). The prime is 2^1024 - 2^960 - 1 + 2^64 * { [2^894 pi] + 129093 }. The generator is 2 (decimal) -
MODP_GROUP14
From: More Modular Exponential (MODP) Diffie-Hellman groups for Internet Key Exchange (IKE) http://www.ietf.org/rfc/rfc3526.txt 2048-bit MODP Group This group is assigned id 14. This prime is: 2^2048 - 2^1984 - 1 + 2^64 * { [2^1918 pi] + 124476 } The generator is: 2. -
MODP_GROUP16
From: More Modular Exponential (MODP) Diffie-Hellman groups for Internet Key Exchange (IKE) http://www.ietf.org/rfc/rfc3526.txt 4096-bit MODP Group This group is assigned id 16. This prime is: 2^4096 - 2^4032 - 1 + 2^64 * { [2^3966 pi] + 240904 } The generator is: 2.
-
-
Constructor Details
-
DhGroup
public DhGroup()
-