- java.lang.Object
-
- swim.security.EcDef
-
public class EcDef extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected BigInteger
a
protected BigInteger
b
protected EcFieldDef
field
protected String
name
protected byte[]
seed
-
Constructor Summary
Constructors Constructor Description EcDef(String name, EcFieldDef field, BigInteger a, BigInteger b, byte[] seed)
EcDef(EcFieldDef field, BigInteger a, BigInteger b)
EcDef(EcFieldDef field, BigInteger a, BigInteger b, byte[] seed)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BigInteger
a()
BigInteger
b()
boolean
equals(Object other)
EcFieldDef
field()
static Form<EcDef>
form()
static EcDef
from(EllipticCurve curve)
int
hashCode()
String
name()
EllipticCurve
toEllipticCurve()
Value
toValue()
-
-
-
Field Detail
-
name
protected final String name
-
field
protected final EcFieldDef field
-
a
protected final BigInteger a
-
b
protected final BigInteger b
-
seed
protected final byte[] seed
-
-
Constructor Detail
-
EcDef
public EcDef(String name, EcFieldDef field, BigInteger a, BigInteger b, byte[] seed)
-
EcDef
public EcDef(EcFieldDef field, BigInteger a, BigInteger b, byte[] seed)
-
EcDef
public EcDef(EcFieldDef field, BigInteger a, BigInteger b)
-
-
Method Detail
-
name
public final String name()
-
field
public final EcFieldDef field()
-
a
public final BigInteger a()
-
b
public final BigInteger b()
-
toEllipticCurve
public EllipticCurve toEllipticCurve()
-
toValue
public Value toValue()
-
from
public static EcDef from(EllipticCurve curve)
-
-