compact1, compact2, compact3
java.security.spec
Class ECGenParameterSpec
- java.lang.Object
-
- java.security.spec.ECGenParameterSpec
-
- All Implemented Interfaces:
- AlgorithmParameterSpec
public class ECGenParameterSpec extends Object implements AlgorithmParameterSpec
This immutable class specifies the set of parameters used for generating elliptic curve (EC) domain parameters.- Since:
- 1.5
- See Also:
-
AlgorithmParameterSpec
-
-
Constructor Summary
Constructors Constructor and Description ECGenParameterSpec(String stdName)
Creates a parameter specification for EC parameter generation using a standard (or predefined) namestdName
in order to generate the corresponding (precomputed) elliptic curve domain parameters.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description String
getName()
Returns the standard or predefined name of the to-be-generated EC domain parameters.
-
-
-
Constructor Detail
ECGenParameterSpec
public ECGenParameterSpec(String stdName)
Creates a parameter specification for EC parameter generation using a standard (or predefined) namestdName
in order to generate the corresponding (precomputed) elliptic curve domain parameters. For the list of supported names, please consult the documentation of provider whose implementation will be used.- Parameters:
-
stdName
- the standard name of the to-be-generated EC domain parameters. - Throws:
-
NullPointerException
- ifstdName
is null.
-
Method Detail
getName
public String getName()
Returns the standard or predefined name of the to-be-generated EC domain parameters.- Returns:
- the standard or predefined name.
-
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, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.