Added in API level 1

ECGenParameterSpec

open class ECGenParameterSpec : NamedParameterSpec, AlgorithmParameterSpec

This immutable class specifies the set of parameters used for generating elliptic curve (EC) domain parameters.

Summary

Public constructors

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.

Public methods
open String

Returns the standard or predefined name of the to-be-generated EC domain parameters.

Inherited properties
NamedParameterSpec! ED25519

The Ed25519 parameters

NamedParameterSpec! ED448

The Ed448 parameters

NamedParameterSpec! X25519

The X25519 parameters

NamedParameterSpec! X448

The X448 parameters

Public constructors

ECGenParameterSpec

Added in API level 1
ECGenParameterSpec(stdName: String!)

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 String!: 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.
Exceptions
java.lang.NullPointerException if stdName is null.

Public methods

getName

Added in API level 1
open fun getName(): String

Returns the standard or predefined name of the to-be-generated EC domain parameters.

Return
String the standard or predefined name.