java.security.spec.AlgorithmParameterSpec
ECNamedCurveParameterSpec
public class ECParameterSpec
extends java.lang.Object
implements java.security.spec.AlgorithmParameterSpec
Constructor | Description |
---|---|
ECParameterSpec(ECCurve curve,
ECPoint G,
java.math.BigInteger n) |
|
ECParameterSpec(ECCurve curve,
ECPoint G,
java.math.BigInteger n,
java.math.BigInteger h) |
|
ECParameterSpec(ECCurve curve,
ECPoint G,
java.math.BigInteger n,
java.math.BigInteger h,
byte[] seed) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
equals(java.lang.Object o) |
|
ECCurve |
getCurve() |
return the curve along which the base point lies.
|
ECPoint |
getG() |
return the base point we are using for these domain parameters.
|
java.math.BigInteger |
getH() |
return the cofactor H to the order of G.
|
java.math.BigInteger |
getN() |
return the order N of G
|
byte[] |
getSeed() |
return the seed used to generate this curve (if available).
|
int |
hashCode() |
public ECParameterSpec(ECCurve curve, ECPoint G, java.math.BigInteger n, java.math.BigInteger h)
public ECCurve getCurve()
public ECPoint getG()
public java.math.BigInteger getN()
public java.math.BigInteger getH()
public byte[] getSeed()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object