Package org.bouncycastle.crypto.params
Class ECDomainParameters
- java.lang.Object
-
- org.bouncycastle.crypto.params.ECDomainParameters
-
- All Implemented Interfaces:
ECConstants
- Direct Known Subclasses:
DSTU4145Parameters
,ECNamedDomainParameters
public class ECDomainParameters extends java.lang.Object implements ECConstants
-
-
Constructor Summary
Constructors Constructor Description ECDomainParameters(X9ECParameters x9)
ECDomainParameters(ECCurve curve, ECPoint G, java.math.BigInteger n)
ECDomainParameters(ECCurve curve, ECPoint G, java.math.BigInteger n, java.math.BigInteger h)
ECDomainParameters(ECCurve curve, ECPoint G, java.math.BigInteger n, java.math.BigInteger h, byte[] seed)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
ECCurve
getCurve()
ECPoint
getG()
java.math.BigInteger
getH()
java.math.BigInteger
getHInv()
java.math.BigInteger
getN()
byte[]
getSeed()
int
hashCode()
java.math.BigInteger
validatePrivateScalar(java.math.BigInteger d)
ECPoint
validatePublicPoint(ECPoint q)
-
-
-
Constructor Detail
-
ECDomainParameters
public ECDomainParameters(X9ECParameters x9)
-
ECDomainParameters
public ECDomainParameters(ECCurve curve, ECPoint G, java.math.BigInteger n, java.math.BigInteger h)
-
-
Method Detail
-
getCurve
public ECCurve getCurve()
-
getG
public ECPoint getG()
-
getN
public java.math.BigInteger getN()
-
getH
public java.math.BigInteger getH()
-
getHInv
public java.math.BigInteger getHInv()
-
getSeed
public byte[] getSeed()
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
validatePrivateScalar
public java.math.BigInteger validatePrivateScalar(java.math.BigInteger d)
-
-