Object JwaCurve.Companion

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Curve toNimbusCurve(JwaCurve curve) Convert JwaCurve to nimbusds JWK curve.
      final JwaCurve parse(String curveName) Parse name of a curve into JwaCurve.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • toNimbusCurve

         final Curve toNimbusCurve(JwaCurve curve)

        Convert JwaCurve to nimbusds JWK curve. Used to temporarily bridge the gap between moving from nimbusds JWK methods to rolling our own JWK methods

        Returns:

        nimbus JWK Curve

      • parse

         final JwaCurve parse(String curveName)

        Parse name of a curve into JwaCurve.

        Parameters:
        curveName - name of the curve
        Returns:

        JwaCurve which corresponds to the curveName