Java™ Platform
Standard Ed. 6

java.security.spec
Class ECGenParameterSpec

java.lang.Object
  extended by 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
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.
 
Method Summary
 String getName()
          Returns the standard or predefined name of the to-be-generated EC domain parameters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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 provider whose implementation will be used.

Parameters:
stdName - the standard name of the to-be-generated EC domain parameters.
Throws:
NullPointerException - if stdName 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.

Java™ Platform
Standard Ed. 6

Submit a bug or feature
For further API reference and developer documentation, see Java SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2010, Oracle and/or its affiliates. All rights reserved.