- java.lang.Object
-
- swim.security.EcFieldDef
-
- swim.security.EcPrimeFieldDef
-
public class EcPrimeFieldDef extends EcFieldDef
-
-
Field Summary
Fields Modifier and Type Field Description protected BigIntegerprime
-
Constructor Summary
Constructors Constructor Description EcPrimeFieldDef(BigInteger prime)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)static EcPrimeFieldDeffrom(ECFieldFp field)inthashCode()BigIntegerprime()ECFieldFptoECField()ValuetoValue()-
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:
toECFieldin classEcFieldDef
-
toValue
public Value toValue()
- Specified by:
toValuein classEcFieldDef
-
from
public static EcPrimeFieldDef from(ECFieldFp field)
-
-