Package org.bouncycastle.jce.spec

## Class ECNamedCurveSpec

- java.lang.Object
- - java.security.spec.ECParameterSpec
  - - org.bouncycastle.jce.spec.ECNamedCurveSpec

- All Implemented Interfaces:
    `java.security.spec.AlgorithmParameterSpec`

      public class ECNamedCurveSpec
      extends java.security.spec.ECParameterSpec

  specification signifying that the curve parameters can also be referred to by name.

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `ECNamedCurveSpec​(java.lang.String name, java.security.spec.EllipticCurve curve, java.security.spec.ECPoint g, java.math.BigInteger n)` |
    `ECNamedCurveSpec​(java.lang.String name, java.security.spec.EllipticCurve curve, java.security.spec.ECPoint g, java.math.BigInteger n, java.math.BigInteger h)` |
    `ECNamedCurveSpec​(java.lang.String name, ECCurve curve, ECPoint g, java.math.BigInteger n)` |
    `ECNamedCurveSpec​(java.lang.String name, ECCurve curve, ECPoint g, java.math.BigInteger n, java.math.BigInteger h)` |
    `ECNamedCurveSpec​(java.lang.String name, ECCurve curve, ECPoint g, java.math.BigInteger n, java.math.BigInteger h, byte[] seed)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `java.lang.String` | `getName()` | return the name of the curve the EC domain parameters belong to.

    - ### Methods inherited from class java.security.spec.ECParameterSpec

      `getCofactor, getCurve, getGenerator, getOrder`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ECNamedCurveSpec

          public ECNamedCurveSpec​(java.lang.String name,
                                  ECCurve curve,
                                  ECPoint g,
                                  java.math.BigInteger n)

    - #### ECNamedCurveSpec

          public ECNamedCurveSpec​(java.lang.String name,
                                  java.security.spec.EllipticCurve curve,
                                  java.security.spec.ECPoint g,
                                  java.math.BigInteger n)

    - #### ECNamedCurveSpec

          public ECNamedCurveSpec​(java.lang.String name,
                                  ECCurve curve,
                                  ECPoint g,
                                  java.math.BigInteger n,
                                  java.math.BigInteger h)

    - #### ECNamedCurveSpec

          public ECNamedCurveSpec​(java.lang.String name,
                                  java.security.spec.EllipticCurve curve,
                                  java.security.spec.ECPoint g,
                                  java.math.BigInteger n,
                                  java.math.BigInteger h)

    - #### ECNamedCurveSpec

          public ECNamedCurveSpec​(java.lang.String name,
                                  ECCurve curve,
                                  ECPoint g,
                                  java.math.BigInteger n,
                                  java.math.BigInteger h,
                                  byte[] seed)

  - ### Method Detail

    - #### getName

          public java.lang.String getName()

      return the name of the curve the EC domain parameters belong to.