| java.lang.Object | |
| ↳ | java.security.spec.ECParameterSpec |
The parameter specification used with Elliptic Curve Cryptography (ECC).
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Creates a new
ECParameterSpec
with the specified elliptic curve,
the base point, the order of the generator (or base point) and the
co-factor.
|
||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Returns the
cofactor
.
|
||||||||||
|
|
Returns the elliptic curve.
|
||||||||||
|
|
Returns the generator (or base point).
|
||||||||||
|
|
Returns the order of the generator.
|
||||||||||
|
[Expand]
Inherited Methods
|
|||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
|||||||||||
Creates a new
ECParameterSpec
with the specified elliptic curve,
the base point, the order of the generator (or base point) and the
co-factor.
| curve | the elliptic curve. |
|---|---|
| generator | the generator (or base point). |
| order | the order of the generator. |
| cofactor | the co-factor. |
| IllegalArgumentException |
if
order <= zero
or
cofactor <= zero
.
|
|---|
Returns the elliptic curve.
Returns the generator (or base point).
Returns the order of the generator.