| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public class ECParameterSpec extends Object implements AlgorithmParameterSpec
This immutable class specifies the set of domain parameters used with elliptic curve cryptography (ECC).
Constructor Summary | |
---|---|
ECParameterSpec(EllipticCurve curve, ECPoint g, BigInteger n, int h) Creates elliptic curve domain parameters based on the specified values. |
Method Summary | |
---|---|
int |
Returns the cofactor. |
EllipticCurve |
getCurve() Returns the elliptic curve that this parameter defines. |
ECPoint |
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, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.Method Detail |
---|
public int getCofactor()
public EllipticCurve getCurve()
public ECPoint getGenerator()
public BigInteger getOrder()
| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |