public void setKeysFromJwk(final String json) {
        val pair = JWKHelper.buildECKeyPairFromJwk(json);
        this.publicKey = (ECPublicKey) pair.getPublic();
        this.privateKey = (ECPrivateKey) pair.getPrivate();
    }
<p>setKeysFromJwk.</p>

@param json a {@link String} object
pac4j-jwt/src/main/java/org/pac4j/jwt/config/encryption/ECEncryptionConfiguration.java