src/share/classes/java/security/spec/ECPublicKeySpec.java

Print this page

        

*** 45,57 **** * Creates a new ECPublicKeySpec with the specified * parameter values. * @param w the public point. * @param params the associated elliptic curve domain * parameters. ! * @exception NullPointerException if <code>w</code> ! * or <code>params</code> is null. ! * @exception IllegalArgumentException if <code>w</code> * is point at infinity, i.e. ECPoint.POINT_INFINITY */ public ECPublicKeySpec(ECPoint w, ECParameterSpec params) { if (w == null) { throw new NullPointerException("w is null"); --- 45,57 ---- * Creates a new ECPublicKeySpec with the specified * parameter values. * @param w the public point. * @param params the associated elliptic curve domain * parameters. ! * @exception NullPointerException if {@code w} ! * or {@code params} is null. ! * @exception IllegalArgumentException if {@code w} * is point at infinity, i.e. ECPoint.POINT_INFINITY */ public ECPublicKeySpec(ECPoint w, ECParameterSpec params) { if (w == null) { throw new NullPointerException("w is null");