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 NamedParameterSpec
ED25519, ED448, ML_DSA_44, ML_DSA_65, ML_DSA_87, ML_KEM_1024, ML_KEM_512, ML_KEM_768, X25519, X448 | Modifier and Type | Field | Description |
|---|---|---|
static final NamedParameterSpec |
ED25519 |
The Ed25519 parameters |
static final NamedParameterSpec |
ED448 |
The Ed448 parameters |
static final NamedParameterSpec |
ML_DSA_44 |
The ML-DSA-44 parameters |
static final NamedParameterSpec |
ML_DSA_65 |
The ML-DSA-65 parameters |
static final NamedParameterSpec |
ML_DSA_87 |
The ML-DSA-87 parameters |
static final NamedParameterSpec |
ML_KEM_1024 |
The ML-KEM-1024 parameters |
static final NamedParameterSpec |
ML_KEM_512 |
The ML-KEM-512 parameters |
static final NamedParameterSpec |
ML_KEM_768 |
The ML-KEM-768 parameters |
static final NamedParameterSpec |
X25519 |
The X25519 parameters |
static final NamedParameterSpec |
X448 |
The X448 parameters |
Constructor Summary
| Constructor | Description |
|---|---|
ECGenParameterSpec |
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 NamedParameterSpec
getName | Modifier and Type | Method | Description |
|---|---|---|
String |
getName() |
Returns the standard name that determines the algorithm parameters. |
Methods declared in class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | Modifier and Type | Method | Description |
|---|---|---|
protected Object |
clone() |
Creates and returns a copy of this object. |
boolean |
equals |
Indicates whether some other object is "equal to" this one. |
protected void |
finalize() |
Deprecated, for removal: This API element is subject to removal in a future version. Finalization is deprecated and subject to removal in a future release. |
final Class |
getClass() |
Returns the runtime class of this Object. |
int |
hashCode() |
Returns a hash code value for this object. |
final void |
notify() |
Wakes up a single thread that is waiting on this object's monitor. |
final void |
notifyAll() |
Wakes up all threads that are waiting on this object's monitor. |
String |
toString() |
Returns a string representation of the object. |
final void |
wait() |
Causes the current thread to wait until it is awakened, typically by being notified or interrupted. |
final void |
wait |
Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed. |
final void |
wait |
Causes the current thread to wait until it is awakened, typically by being notified or interrupted, or until a certain amount of real time has elapsed. |
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 ECGenParameterSpec section in the Java Security Standard Algorithm Names Specification for information about standard names. - Throws:
-
NullPointerException- ifstdNameis null. - External Specifications
© 1993, 2025, 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.