public class NamedECDomainParameters extends ECDomainParameters
Constructor and Description |
---|
NamedECDomainParameters(ASN1ObjectIdentifier id,
ECCurve curve,
ECPoint G,
java.math.BigInteger n)
Constructor that assumes the co-factor h is 1.
|
NamedECDomainParameters(ASN1ObjectIdentifier id,
ECCurve curve,
ECPoint G,
java.math.BigInteger n,
java.math.BigInteger h)
Constructor with explicit co-factor.
|
NamedECDomainParameters(ASN1ObjectIdentifier id,
ECCurve curve,
ECPoint G,
java.math.BigInteger n,
java.math.BigInteger h,
byte[] seed)
Constructor with explicit co-factor and generation seed.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
ASN1ObjectIdentifier |
getID()
Return object identifier that identifies these parameters.
|
int |
hashCode() |
getCurve, getG, getH, getInverseH, getN, getSeed
public NamedECDomainParameters(ASN1ObjectIdentifier id, ECCurve curve, ECPoint G, java.math.BigInteger n)
id
- the object identifier that represents these parameters.curve
- the curve for these domain parameters.G
- the base point G for the domain parameters.n
- the order for the domain parameters.public NamedECDomainParameters(ASN1ObjectIdentifier id, ECCurve curve, ECPoint G, java.math.BigInteger n, java.math.BigInteger h)
id
- the object identifier that represents these parameters.curve
- the curve for these domain parameters.G
- the base point G for the domain parameters.n
- the order for the domain parameters.h
- the co-factor.public NamedECDomainParameters(ASN1ObjectIdentifier id, ECCurve curve, ECPoint G, java.math.BigInteger n, java.math.BigInteger h, byte[] seed)
id
- the object identifier that represents these parameters.curve
- the curve for these domain parameters.G
- the base point G for the domain parameters.n
- the order for the domain parameters.h
- the co-factor.seed
- the seed value used to generate the domain parameters.public ASN1ObjectIdentifier getID()
public boolean equals(java.lang.Object o)
equals
in class ECDomainParameters
public int hashCode()
hashCode
in class ECDomainParameters