|
Préférences
Moteurs de recherche
|
||||||||||||||||
| JavaTM 2 Platform Std. Ed. v1.6.0
java.security.spec
|
|||||||||||||||||
| Constructor Summary | |
|---|---|
ECParameterSpec(EllipticCurve curve,
ECPoint g,
BigInteger n,
int h)
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, 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.
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()