Bouncy Castle Cryptography Library 1.77.0

org.bouncycastle.crypto.params
Class ECDomainParameters

java.lang.Object
  |
  +--org.bouncycastle.crypto.params.ECDomainParameters
All Implemented Interfaces:
org.bouncycastle.math.ec.ECConstants
Direct Known Subclasses:
DSTU4145Parameters, ECNamedDomainParameters

public class ECDomainParameters
extends java.lang.Object
implements org.bouncycastle.math.ec.ECConstants


Fields inherited from interface org.bouncycastle.math.ec.ECConstants
EIGHT, FOUR, ONE, THREE, TWO, ZERO
 
Constructor Summary
ECDomainParameters(org.bouncycastle.math.ec.ECCurve curve, org.bouncycastle.math.ec.ECPoint G, java.math.BigInteger n)
           
ECDomainParameters(org.bouncycastle.math.ec.ECCurve curve, org.bouncycastle.math.ec.ECPoint G, java.math.BigInteger n, java.math.BigInteger h)
           
ECDomainParameters(org.bouncycastle.math.ec.ECCurve curve, org.bouncycastle.math.ec.ECPoint G, java.math.BigInteger n, java.math.BigInteger h, byte[] seed)
           
ECDomainParameters(X9ECParameters x9)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 org.bouncycastle.math.ec.ECCurve getCurve()
           
 org.bouncycastle.math.ec.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)
           
 org.bouncycastle.math.ec.ECPoint validatePublicPoint(org.bouncycastle.math.ec.ECPoint q)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ECDomainParameters

public ECDomainParameters(X9ECParameters x9)

ECDomainParameters

public ECDomainParameters(org.bouncycastle.math.ec.ECCurve curve,
                          org.bouncycastle.math.ec.ECPoint G,
                          java.math.BigInteger n)

ECDomainParameters

public ECDomainParameters(org.bouncycastle.math.ec.ECCurve curve,
                          org.bouncycastle.math.ec.ECPoint G,
                          java.math.BigInteger n,
                          java.math.BigInteger h)

ECDomainParameters

public ECDomainParameters(org.bouncycastle.math.ec.ECCurve curve,
                          org.bouncycastle.math.ec.ECPoint G,
                          java.math.BigInteger n,
                          java.math.BigInteger h,
                          byte[] seed)
Method Detail

getCurve

public org.bouncycastle.math.ec.ECCurve getCurve()

getG

public org.bouncycastle.math.ec.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 class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

validatePrivateScalar

public java.math.BigInteger validatePrivateScalar(java.math.BigInteger d)

validatePublicPoint

public org.bouncycastle.math.ec.ECPoint validatePublicPoint(org.bouncycastle.math.ec.ECPoint q)

Bouncy Castle Cryptography Library 1.77.0