Added in API level 1

ECGenParameterSpec

open class ECGenParameterSpec : NamedParameterSpec, AlgorithmParameterSpec
kotlin.Any
   ↳ java.security.spec.NamedParameterSpec
   ↳ java.security.spec.ECGenParameterSpec

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

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.