|
Bouncy Castle Cryptography 1.11 API Specification: Class ECParameterSpec
org.bouncycastle.jce.spec
Class ECParameterSpec
java.lang.Object
|
+--org.bouncycastle.jce.spec.ECParameterSpec
- All Implemented Interfaces:
- java.security.spec.AlgorithmParameterSpec
- Direct Known Subclasses:
- ECNamedCurveParameterSpec
- public class ECParameterSpec
- extends java.lang.Object
- implements java.security.spec.AlgorithmParameterSpec
basic domain parameters for an Elliptic Curve public or private key.
Method Summary |
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). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ECParameterSpec
public ECParameterSpec(ECCurve curve,
ECPoint G,
java.math.BigInteger n)
ECParameterSpec
public ECParameterSpec(ECCurve curve,
ECPoint G,
java.math.BigInteger n,
java.math.BigInteger h)
ECParameterSpec
public ECParameterSpec(ECCurve curve,
ECPoint G,
java.math.BigInteger n,
java.math.BigInteger h,
byte[] seed)
getCurve
public ECCurve getCurve()
- return the curve along which the base point lies.
getG
public ECPoint getG()
- return the base point we are using for these domain parameters.
getN
public java.math.BigInteger getN()
- return the order N of G
getH
public java.math.BigInteger getH()
- return the cofactor H to the order of G.
getSeed
public byte[] getSeed()
- return the seed used to generate this curve (if available).
|