java.lang.Object
org.snmp4j.security.dh.DHGroups
The DHOakleyGroups class defines the prime values for use with the Diffie Hellman key exchange as defined
in RFC 2409 section 6.1 and 6.2.
- Since:
- 3.4.1
- Author:
- Frank Fock
-
Field Summary
Modifier and TypeFieldDescriptionstatic final BigInteger
static final BigInteger
ID 1: 768-bits Oakley Group (https://tools.ietf.org/html/rfc2409) Prime: 2^768 - 2 ^704 - 1 + 2^64 * { [2^638 pi] + 149686 }static final BigInteger
ID 14: 2048-bits Oakley Group (https://tools.ietf.org/html/rfc3526#section-3) Prime: 2^2048 - 2^1984 - 1 + 2^64 * { [2^1918 pi] + 124476 }static final BigInteger
ID 15: 3072-bit MODP Group - P15 (https://tools.ietf.org/html/rfc3526#section-4) Prime: 2^3072 - 2^3008 - 1 + 2^64 * { [2^2942 pi] + 1690314 }static final BigInteger
ID 16: 4096-bit MODP Group - P16 (https://tools.ietf.org/html/rfc3526#section-5) Prime: 2^4096 - 2^4032 - 1 + 2^64 * { [2^3966 pi] + 240904 }static final BigInteger
ID 17: 6144-bit MODP Group - P17 (https://tools.ietf.org/html/rfc3526#section-6) Prime: 2^6144 - 2^6080 - 1 + 2^64 * { [2^6014 pi] + 929484 }static final BigInteger
ID 18: 8192-bit MODP Group - P18 (https://tools.ietf.org/html/rfc3526#section-7) prime: 2^8192 - 2^8128 - 1 + 2^64 * { [2^8062 pi] + 4743158 } -
Constructor Summary
-
Method Summary
-
Field Details
-
G
-
P1
ID 1: 768-bits Oakley Group (https://tools.ietf.org/html/rfc2409) Prime: 2^768 - 2 ^704 - 1 + 2^64 * { [2^638 pi] + 149686 } -
P14
ID 14: 2048-bits Oakley Group (https://tools.ietf.org/html/rfc3526#section-3) Prime: 2^2048 - 2^1984 - 1 + 2^64 * { [2^1918 pi] + 124476 } -
P15
ID 15: 3072-bit MODP Group - P15 (https://tools.ietf.org/html/rfc3526#section-4) Prime: 2^3072 - 2^3008 - 1 + 2^64 * { [2^2942 pi] + 1690314 } -
P16
ID 16: 4096-bit MODP Group - P16 (https://tools.ietf.org/html/rfc3526#section-5) Prime: 2^4096 - 2^4032 - 1 + 2^64 * { [2^3966 pi] + 240904 } -
P17
ID 17: 6144-bit MODP Group - P17 (https://tools.ietf.org/html/rfc3526#section-6) Prime: 2^6144 - 2^6080 - 1 + 2^64 * { [2^6014 pi] + 929484 } -
P18
ID 18: 8192-bit MODP Group - P18 (https://tools.ietf.org/html/rfc3526#section-7) prime: 2^8192 - 2^8128 - 1 + 2^64 * { [2^8062 pi] + 4743158 }
-
-
Constructor Details
-
DHGroups
public DHGroups()
-