API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.security. AlgorithmParameterGenerator View Source
Author(s)
Jan Luehe
Since
1.2
Version
1.43, 04/21/06
Serial
Hierarchy
 Object
      AlgorithmParameterGenerator
Implements
Subclasses
Description
public class AlgorithmParameterGenerator
  The AlgorithmParameterGenerator class is used to generate a set of parameters to be used with a certain algorithm.
Constructors
protected AlgorithmParameterGenerator (AlgorithmParameterGeneratorSpi paramGenSpi, Provider provider, String algorithm)
  Creates an AlgorithmParameterGenerator object.
Methods
Hide/Show inherited methods
publicfinal AlgorithmParameters generateParameters ()
  Generates the parameters.
publicfinal String getAlgorithm ()
  Returns the standard name of the algorithm this parameter generator is associated with.
publicstatic AlgorithmParameterGenerator getInstance (String algorithm) throws NoSuchAlgorithmException
  Returns an AlgorithmParameterGenerator object for generating a set of parameters to be used with the specified algorithm.
publicstatic AlgorithmParameterGenerator getInstance (String algorithm, Provider provider) throws NoSuchAlgorithmException
  Returns an AlgorithmParameterGenerator object for generating a set of parameters to be used with the specified algorithm.
publicstatic AlgorithmParameterGenerator getInstance (String algorithm, String provider) throws NoSuchAlgorithmException NoSuchProviderException
  Returns an AlgorithmParameterGenerator object for generating a set of parameters to be used with the specified algorithm.
publicfinal Provider getProvider ()
  Returns the provider of this algorithm parameter generator object.
publicfinal void init (AlgorithmParameterSpec genParamSpec) throws InvalidAlgorithmParameterException
  Initializes this parameter generator with a set of algorithm-specific parameter generation values.
publicfinal void init (AlgorithmParameterSpec genParamSpec, SecureRandom random) throws InvalidAlgorithmParameterException
  Initializes this parameter generator with a set of algorithm-specific parameter generation values.
publicfinal void init (int size)
  Initializes this parameter generator for a certain size.
publicfinal void init (int size, SecureRandom random)
  Initializes this parameter generator for a certain size and source of randomness.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar