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