FileDocCategorySizeDatePackage
DHParameters.javaAPI DocAndroid 1.5 API6166Wed May 06 22:41:06 BST 2009org.apache.harmony.xnet.provider.jsse

DHParameters

public class DHParameters extends Object
This class contains well-known primes

Fields Summary
private static byte[]
prime512
private static byte[]
primeGroup1
private static byte[]
primeGroup2
private static byte[]
prime
Constructors Summary
Methods Summary
public static byte[]getPrime()
Returns prime bytes

return

    
     
//TODO set prime depand on some system or security property        
        prime = prime512;
    
        return prime;