java.lang.Object | |
↳ | java.security.spec.EllipticCurve |
An Elliptic Curve with its necessary values.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new
EllipticCurve with the specified field,
coefficients and seed. | |||||||||||
Creates a new
EllipticCurve with the specified field and
coefficients. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns whether the specified object equals to this elliptic curve.
| |||||||||||
Returns the coefficient
a of this elliptic curve. | |||||||||||
Returns the coefficient
b of this elliptic curve. | |||||||||||
Returns the finite field of this elliptic curve.
| |||||||||||
Returns a copy of the seed that was used to generate this elliptic curve.
| |||||||||||
Returns the hashcode of this elliptic curve.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object
|
Creates a new EllipticCurve
with the specified field,
coefficients and seed.
field | the finite field of this elliptic curve. |
---|---|
a | the coefficient a . |
b | the coefficient b . |
seed | the seed used for the generation of the curve. |
IllegalArgumentException | if the specified coefficients are not in the specified field. |
---|
Creates a new EllipticCurve
with the specified field and
coefficients.
field | the finite field of this elliptic curve. |
---|---|
a | the coefficient a . |
b | the coefficient b . |
IllegalArgumentException | if the specified coefficients are not in the specified field. |
---|
Returns whether the specified object equals to this elliptic curve.
other | the object to compare. |
---|
true
if the specified object is equal to this elliptic
curve, otherwise false
.Returns the coefficient a
of this elliptic curve.
a
of this elliptic curve.Returns the coefficient b
of this elliptic curve.
b
of this elliptic curve.Returns the finite field of this elliptic curve.
Returns a copy of the seed that was used to generate this elliptic curve.
null
if none specified.Returns the hashcode of this elliptic curve.