W3cubDocs

/OpenJDK 21

Class ECGenParameterSpec

java.lang.Object
java.security.spec.NamedParameterSpec
java.security.spec.ECGenParameterSpec
All Implemented Interfaces:
AlgorithmParameterSpec
public class ECGenParameterSpec extends NamedParameterSpec
This immutable class specifies the set of parameters used for generating elliptic curve (EC) domain parameters.
Since:
1.5
See Also:

Field Summary

Fields declared in class java.security.spec.NamedParameterSpec

ED25519, ED448, X25519, X448

Constructor Summary

Constructor Description
ECGenParameterSpec(String stdName)
Creates a parameter specification for EC parameter generation using a standard (or predefined) name stdName in order to generate the corresponding (precomputed) elliptic curve domain parameters.

Method Summary

Methods declared in class java.security.spec.NamedParameterSpec

getName

Methods declared in class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Details

ECGenParameterSpec

public ECGenParameterSpec(String stdName)
Creates a parameter specification for EC parameter generation using a standard (or predefined) name stdName in order to generate the corresponding (precomputed) elliptic curve domain parameters. For the list of supported names, please consult the documentation of the provider whose implementation will be used.
Parameters:
stdName - the standard name of the to-be-generated EC domain parameters. See the ParameterSpec Names section in the Java Security Standard Algorithm Names Specification for information about standard names.
Throws:
NullPointerException - if stdName is null.

© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/security/spec/ECGenParameterSpec.html