- java.lang.Object
-
- swim.security.EcFieldDef
-
- swim.security.EcPrimeFieldDef
-
public class EcPrimeFieldDef extends EcFieldDef
-
-
Field Summary
Fields Modifier and Type Field Description protected BigInteger
prime
-
Constructor Summary
Constructors Constructor Description EcPrimeFieldDef(BigInteger prime)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object other)
static EcPrimeFieldDef
from(ECFieldFp field)
int
hashCode()
BigInteger
prime()
ECFieldFp
toECField()
Value
toValue()
-
Methods inherited from class swim.security.EcFieldDef
form, from
-
-
-
-
Field Detail
-
prime
protected final BigInteger prime
-
-
Constructor Detail
-
EcPrimeFieldDef
public EcPrimeFieldDef(BigInteger prime)
-
-
Method Detail
-
prime
public final BigInteger prime()
-
toECField
public ECFieldFp toECField()
- Specified by:
toECField
in classEcFieldDef
-
toValue
public Value toValue()
- Specified by:
toValue
in classEcFieldDef
-
from
public static EcPrimeFieldDef from(ECFieldFp field)
-
-