Class DHGroupData

java.lang.Object
net.schmizz.sshj.transport.kex.DHGroupData

public final class DHGroupData extends Object
Simple class holding the data for DH group key exchanges.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final BigInteger
     
    static final BigInteger
    First Oakley Group (https://tools.ietf.org/html/rfc2409) - P1 prime: 2^768 - 2 ^704 - 1 + 2^64 * { [2^638 pi] + 149686 }
    static final BigInteger
    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 final BigInteger
    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
    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
    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
    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
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • G

      public static final BigInteger G
    • P1

      public static final 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 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 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 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 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 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 Details

    • DHGroupData

      public DHGroupData()