AlgorithmParameters (Java Platform SE 8 ) (original) (raw)

public class AlgorithmParameters
extends Object
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 anAlgorithmParameters object via a call togetParameterSpec, 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:

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2025, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.