Class ECParameterTable

    • Method Detail

      • get

        public static ECParameterSpec get​(Curve curve)
        Gets the parameter specification for the specified elliptic curve.
        Parameters:
        curve - The JWK elliptic curve. May be null.
        Returns:
        The EC parameter spec, null if it cannot be determined.
      • get

        public static Curve get​(ECParameterSpec spec)
        Gets the JWK elliptic curve for the specified parameter specification.
        Parameters:
        spec - The EC parameter spec. May be null.
        Returns:
        The JWK elliptic curve, null if it cannot be determined.