This class is used as an opaque representation of cryptographic parameters.
An AlgorithmParameters
object for managing the parameters for a particular algorithm can be obtained by calling one of the getInstance
factory methods (static methods that return instances of a given class).
Once an AlgorithmParameters
object is obtained, it must be initialized via a call to init
, using an appropriate parameter specification or parameter encoding.
A transparent parameter specification is obtained from an AlgorithmParameters
object via a call to getParameterSpec
, and a byte encoding of the parameters is obtained via a call to getEncoded
.
Every implementation of the Java platform is required to support the following standard AlgorithmParameters
algorithms:
-
AES
-
DES
-
DESede
-
DiffieHellman
-
DSA
These algorithms are described in the
AlgorithmParameters section of the Java Security Standard Algorithm Names Specification. Consult the release documentation for your implementation to see if any other algorithms are supported.