| 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="zero" code="code"> or |
|---|
Public Methods
public
EllipticCurve
getCurve
()
Since: API Level 1
Returns the elliptic curve.
Returns
the elliptic curve.
public
ECPoint
getGenerator
()
Since: API Level 1
Returns the generator (or base point).
Returns
the generator (or base point).
public
BigInteger
getOrder
()
Since: API Level 1
Returns the order of the generator.
Returns
the order of the generator.