Package org.bouncycastle.jcajce.provider.asymmetric.util

## Class EC5Util

- java.lang.Object
- - org.bouncycastle.jcajce.provider.asymmetric.util.EC5Util

-     public class EC5Util
      extends java.lang.Object

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `EC5Util()` |

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static ECCurve` | `convertCurve​(java.security.spec.EllipticCurve ec)` |
    `static java.security.spec.EllipticCurve` | `convertCurve​(ECCurve curve, byte[] seed)` |
    `static java.security.spec.ECField` | `convertField​(FiniteField field)` |
    `static ECPoint` | `convertPoint​(java.security.spec.ECParameterSpec ecSpec, java.security.spec.ECPoint point)` |
    `static ECPoint` | `convertPoint​(ECCurve curve, java.security.spec.ECPoint point)` |
    `static java.security.spec.ECPoint` | `convertPoint​(ECPoint point)` |
    `static ECParameterSpec` | `convertSpec​(java.security.spec.ECParameterSpec ecSpec)` |
    `static java.security.spec.ECParameterSpec` | `convertSpec​(java.security.spec.EllipticCurve ellipticCurve, ECParameterSpec spec)` |
    `static java.security.spec.ECParameterSpec` | `convertToSpec​(X962Parameters params, ECCurve curve)` |
    `static java.security.spec.ECParameterSpec` | `convertToSpec​(X9ECParameters domainParameters)` |
    `static java.security.spec.ECParameterSpec` | `convertToSpec​(ECDomainParameters domainParameters)` |
    `static ECCurve` | `getCurve​(ProviderConfiguration configuration, X962Parameters params)` |
    `static ECDomainParameters` | `getDomainParameters​(ProviderConfiguration configuration, java.security.spec.ECParameterSpec params)` |

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

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

- - ### Constructor Detail

    - #### EC5Util

          public EC5Util()

  - ### Method Detail

    - #### getCurve

          public static ECCurve getCurve​(ProviderConfiguration configuration,
                                         X962Parameters params)

    - #### getDomainParameters

          public static ECDomainParameters getDomainParameters​(ProviderConfiguration configuration,
                                                               java.security.spec.ECParameterSpec params)

    - #### convertToSpec

          public static java.security.spec.ECParameterSpec convertToSpec​(X962Parameters params,
                                                                         ECCurve curve)

    - #### convertToSpec

          public static java.security.spec.ECParameterSpec convertToSpec​(X9ECParameters domainParameters)

    - #### convertToSpec

          public static java.security.spec.ECParameterSpec convertToSpec​(ECDomainParameters domainParameters)

    - #### convertCurve

          public static java.security.spec.EllipticCurve convertCurve​(ECCurve curve,
                                                                      byte[] seed)

    - #### convertCurve

          public static ECCurve convertCurve​(java.security.spec.EllipticCurve ec)

    - #### convertField

          public static java.security.spec.ECField convertField​(FiniteField field)

    - #### convertSpec

          public static java.security.spec.ECParameterSpec convertSpec​(java.security.spec.EllipticCurve ellipticCurve,
                                                                       ECParameterSpec spec)

    - #### convertSpec

          public static ECParameterSpec convertSpec​(java.security.spec.ECParameterSpec ecSpec)

    - #### convertPoint

          public static ECPoint convertPoint​(java.security.spec.ECParameterSpec ecSpec,
                                             java.security.spec.ECPoint point)

    - #### convertPoint

          public static ECPoint convertPoint​(ECCurve curve,
                                             java.security.spec.ECPoint point)

    - #### convertPoint

          public static java.security.spec.ECPoint convertPoint​(ECPoint point)