DHGenParameterSpec


DHGenParameterSpec javax.crypto.spec

Java 1.4

This class is a transparent representation of the values needed to generate a set of Diffie-Hellman parameters (see DHParameterSpec ). An instance of this class can be passed to the init( ) method of a java.security.AlgorithmParameterGenerator that computes Diffie-Hellman parameters.

Figure 17-17. javax.crypto.spec.DHGenParameterSpec

 public class  DHGenParameterSpec  implements java.security.spec.AlgorithmParameterSpec {  // Public Constructors  public  DHGenParameterSpec  (int  primeSize  , int  exponentSize  );  // Public Instance Methods  public int  getExponentSize  ( );        public int  getPrimeSize  ( );   } 



Java In A Nutshell
Java In A Nutshell, 5th Edition
ISBN: 0596007736
EAN: 2147483647
Year: 2004
Pages: 1220

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net