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

Print this page

        

*** 46,57 **** * Creates a new ECPrivateKeySpec with the specified * parameter values. * @param s the private value. * @param params the associated elliptic curve domain * parameters. ! * @exception NullPointerException if <code>s</code> ! * or <code>params</code> is null. */ public ECPrivateKeySpec(BigInteger s, ECParameterSpec params) { if (s == null) { throw new NullPointerException("s is null"); } --- 46,57 ---- * Creates a new ECPrivateKeySpec with the specified * parameter values. * @param s the private value. * @param params the associated elliptic curve domain * parameters. ! * @exception NullPointerException if {@code s} ! * or {@code params} is null. */ public ECPrivateKeySpec(BigInteger s, ECParameterSpec params) { if (s == null) { throw new NullPointerException("s is null"); }