Creates an elliptic curve with the specified elliptic field
field
, the coefficients
a
and
b
, and the
seed
used for curve generation.
Parameters:
-
field - the finite field that this elliptic curve is over.
-
a - the first coefficient of this elliptic curve.
-
b - the second coefficient of this elliptic curve.
-
seed - the bytes used during curve generation for later
validation. Contents of this array are copied to protect against
subsequent modification.
Throws:
-
NullPointerException - if
field
,
a
, or
b
is null.
-
IllegalArgumentException - if
a
or
b
is not null and not in
field
.