com.maverick.ssh.components
Class DiffieHellmanGroups

java.lang.Object
  extended by com.maverick.ssh.components.DiffieHellmanGroups

public class DiffieHellmanGroups
extends java.lang.Object


Field Summary
static java.math.BigInteger group1
           
static java.math.BigInteger group14
           
static java.math.BigInteger group15
           
static java.math.BigInteger group16
           
static java.math.BigInteger group17
           
static java.math.BigInteger group18
           
static java.math.BigInteger group5
           
 
Constructor Summary
DiffieHellmanGroups()
           
 
Method Summary
static java.math.BigInteger getSafePrime(com.maverick.util.UnsignedInteger32 maximumSize)
          get the biggest safe prime from the list that is <= maximumSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

group1

public static final java.math.BigInteger group1

group5

public static final java.math.BigInteger group5

group14

public static final java.math.BigInteger group14

group15

public static final java.math.BigInteger group15

group16

public static final java.math.BigInteger group16

group17

public static final java.math.BigInteger group17

group18

public static final java.math.BigInteger group18
Constructor Detail

DiffieHellmanGroups

public DiffieHellmanGroups()
Method Detail

getSafePrime

public static java.math.BigInteger getSafePrime(com.maverick.util.UnsignedInteger32 maximumSize)
get the biggest safe prime from the list that is <= maximumSize

Parameters:
maximumSize -
Returns:
BigInteger


Copyright © 2003-2008 SSHTools LTD. All Rights Reserved.