net.i2p.crypto

## Class ECConstants

- java.lang.Object
- - net.i2p.crypto.ECConstants

-     final class ECConstants
      extends Object

  Constants for elliptic curves, from NIST FIPS 186-4 (2013) / ANSI X9.62

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static ECParameterSpec` | `P256_SPEC`
    `static ECParameterSpec` | `P384_SPEC`
    `static ECParameterSpec` | `P521_SPEC`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ECConstants()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static boolean` | `equals(ECParameterSpec s1, ECParameterSpec s2)` There is no ECParameterSpec.equals().
    `static boolean` | `isBCAvailable()`

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

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

- - ### Field Detail

    - #### P256_SPEC

          public static final ECParameterSpec P256_SPEC

    - #### P384_SPEC

          public static final ECParameterSpec P384_SPEC

    - #### P521_SPEC

          public static final ECParameterSpec P521_SPEC

  - ### Constructor Detail

    - #### ECConstants

          ECConstants()

  - ### Method Detail

    - #### equals

          public static boolean equals(ECParameterSpec s1,
                                       ECParameterSpec s2)

      There is no ECParameterSpec.equals(). Needed to load family keys on Android via SigUtil.fromJavaKey().

    - #### isBCAvailable

          public static boolean isBCAvailable()