BigInteger x = getBigIntFromBase64UrlEncodedParam(params, X_MEMBER_NAME);
BigInteger y = getBigIntFromBase64UrlEncodedParam(params, Y_MEMBER_NAME);
EcKeyUtil keyUtil = new EcKeyUtil();
key = keyUtil.publicKey(x, y, curve);
checkForBareKeyCertMismatch();
if (params.containsKey(PRIVATE_KEY_MEMBER_NAME))
{
BigInteger d = getBigIntFromBase64UrlEncodedParam(params, PRIVATE_KEY_MEMBER_NAME);
privateKey = keyUtil.privateKey(d, curve);
}
}