Package net.schmizz.sshj.transport.kex
Class DHGroupData
- java.lang.Object
-
- net.schmizz.sshj.transport.kex.DHGroupData
-
public final class DHGroupData extends java.lang.Object
Simple class holding the data for DH group key exchanges.
-
-
Field Summary
Fields Modifier and Type Field Description static java.math.BigInteger
G
static java.math.BigInteger
P1
First Oakley Group (https://tools.ietf.org/html/rfc2409) - P1 prime: 2^768 - 2 ^704 - 1 + 2^64 * { [2^638 pi] + 149686 }static java.math.BigInteger
P14
2048-bit MODP Group - P14 (https://tools.ietf.org/html/rfc3526#section-3) prime: 2^2048 - 2^1984 - 1 + 2^64 * { [2^1918 pi] + 124476 }static java.math.BigInteger
P15
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 java.math.BigInteger
P16
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 java.math.BigInteger
P17
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 java.math.BigInteger
P18
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
Constructors Constructor Description DHGroupData()
-
-
-
Field Detail
-
G
public static final java.math.BigInteger G
-
P1
public static final java.math.BigInteger P1
First Oakley Group (https://tools.ietf.org/html/rfc2409) - P1 prime: 2^768 - 2 ^704 - 1 + 2^64 * { [2^638 pi] + 149686 }
-
P14
public static final java.math.BigInteger P14
2048-bit MODP Group - P14 (https://tools.ietf.org/html/rfc3526#section-3) prime: 2^2048 - 2^1984 - 1 + 2^64 * { [2^1918 pi] + 124476 }
-
P15
public static final java.math.BigInteger P15
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
public static final java.math.BigInteger P16
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
public static final java.math.BigInteger P17
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
public static final java.math.BigInteger P18
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 }
-
-