|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object![]()
![]()
![]()
java.security.spec.ECParameterSpec

public class ECParameterSpec


This immutable class specifies the set of domain parameters used with elliptic curve cryptography (ECC).
AlgorithmParameterSpec

| Constructor Summary | |
|---|---|
ECParameterSpec
Creates elliptic curve domain parameters based on the specified values. |
|
| Method Summary | |
|---|---|
int |
getCofactor
Returns the cofactor. |
EllipticCurve |
getCurve
Returns the elliptic curve that this parameter defines. |
ECPoint |
getGenerator
Returns the generator which is also known as the base point. |
BigInteger |
getOrder
Returns the order of the generator. |
Methods inherited from class java.lang.Object ![]() |
|---|
clone |
| Constructor Detail |
|---|

public ECParameterSpec(EllipticCurve![]()
![]()
curve, ECPoint
![]()
![]()
g, BigInteger
![]()
![]()
n, int h)
curve - the elliptic curve which this parameter
defines.g - the generator which is also known as the base point.n - the order of the generator g.h - the cofactor.
NullPointerException

- if curve,
g, or n is null.
IllegalArgumentException

- if n
or h is not positive.| Method Detail |
|---|

public EllipticCurve![]()
![]()
getCurve()

public ECPoint![]()
![]()
getGenerator()

public BigInteger![]()
![]()
getOrder()

public int getCofactor()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||