Package org.gudy.bouncycastle.jce.spec
Class ECParameterSpec
java.lang.Object
org.gudy.bouncycastle.jce.spec.ECParameterSpec
- All Implemented Interfaces:
AlgorithmParameterSpec
- Direct Known Subclasses:
ECNamedCurveParameterSpec
basic domain parameters for an Elliptic Curve public or private key.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ECCurve
private ECPoint
private BigInteger
private BigInteger
private byte[]
-
Constructor Summary
ConstructorsConstructorDescriptionECParameterSpec
(ECCurve curve, ECPoint G, BigInteger n) ECParameterSpec
(ECCurve curve, ECPoint G, BigInteger n, BigInteger h) ECParameterSpec
(ECCurve curve, ECPoint G, BigInteger n, BigInteger h, byte[] seed) -
Method Summary
Modifier and TypeMethodDescriptiongetCurve()
return the curve along which the base point lies.getG()
return the base point we are using for these domain parameters.getH()
return the cofactor H to the order of G.getN()
return the order N of Gbyte[]
getSeed()
return the seed used to generate this curve (if available).
-
Field Details
-
curve
-
seed
private byte[] seed -
G
-
n
-
h
-
-
Constructor Details
-
ECParameterSpec
-
ECParameterSpec
-
ECParameterSpec
-
-
Method Details
-
getCurve
return the curve along which the base point lies. -
getG
return the base point we are using for these domain parameters. -
getN
return the order N of G -
getH
return the cofactor H to the order of G. -
getSeed
public byte[] getSeed()return the seed used to generate this curve (if available).
-