@Test
    public void buildFromJwk() {
        final Curve curve;
        if (TestsHelper.getJdkVersion() > 17) {
            curve = Curve.P_384;
        } else {
            curve = Curve.P_256;
        }
        val json = new ECKey.Builder(curve, (ECPublicKey) buildKeyPair().getPublic()).build().toJSONString();
        JWKHelper.buildECKeyPairFromJwk(json);
    }
Tests {@link ECSignatureConfiguration}.

@author Jerome Leleu
@since 1.9.2
pac4j-jwt/src/test/java/org/pac4j/jwt/config/signature/ECSignatureConfigurationTests.java