API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.security. AlgorithmParameters View Source
Author(s)
Jan Luehe
Since
1.2
Version
1.27, 04/21/06
Serial
Hierarchy
 Object
      AlgorithmParameters
Implements
Subclasses
Description
public class AlgorithmParameters
  This class is used as an opaque representation of cryptographic parameters.
Constructors
protected AlgorithmParameters (AlgorithmParametersSpi paramSpi, Provider provider, String algorithm)
  Creates an AlgorithmParameters object.
Methods
Hide/Show inherited methods
publicfinal String getAlgorithm ()
  Returns the name of the algorithm associated with this parameter object.
publicfinal byte getEncoded () throws IOException
  Returns the parameters in their primary encoding format.
publicfinal byte getEncoded (String format) throws IOException
  Returns the parameters encoded in the specified scheme.
publicstatic AlgorithmParameters getInstance (String algorithm) throws NoSuchAlgorithmException
  Returns a parameter object for the specified algorithm.
publicstatic AlgorithmParameters getInstance (String algorithm, Provider provider) throws NoSuchAlgorithmException
  Returns a parameter object for the specified algorithm.
publicstatic AlgorithmParameters getInstance (String algorithm, String provider) throws NoSuchAlgorithmException NoSuchProviderException
  Returns a parameter object for the specified algorithm.
publicfinal T getParameterSpec (Class< T> paramSpec) throws InvalidParameterSpecException
  Returns a (transparent) specification of this parameter object.
publicfinal Provider getProvider ()
  Returns the provider of this parameter object.
publicfinal void init (AlgorithmParameterSpec paramSpec) throws InvalidParameterSpecException
  Initializes this parameter object using the parameters specified in paramSpec.
publicfinal void init (byte[] params) throws IOException
  Imports the specified parameters and decodes them according to the primary decoding format for parameters.
publicfinal void init (byte[] params, String format) throws IOException
  Imports the parameters from params and decodes them according to the specified decoding scheme.
publicfinal String toString ()
  Returns a formatted string describing the parameters.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar