Creates a new ECPublicKeySpec with the specified
parameter values.
if (w == null) {
throw new NullPointerException("w is null");
}
if (params == null) {
throw new NullPointerException("params is null");
}
if (w == ECPoint.POINT_INFINITY) {
throw new IllegalArgumentException("w is ECPoint.POINT_INFINITY");
}
this.w = w;
this.params = params;