lightbulb_outline Help shape the future of the Google Play Console, Android Studio, and Firebase. Start survey
added in API level 1

ECGenParameterSpec

public class ECGenParameterSpec
extends Object implements AlgorithmParameterSpec

java.lang.Object
   ↳ java.security.spec.ECGenParameterSpec


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

Summary

Public constructors

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.

Public methods

String getName()

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

Inherited methods

Public constructors

ECGenParameterSpec

added in API level 1
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 provider whose implementation will be used.

Parameters
stdName String: the standard name of the to-be-generated EC domain parameters.

Throws
NullPointerException if stdName is null.

Public methods

getName

added in API level 1
public String getName ()

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

Returns
String the standard or predefined name.