- java.lang.Object
-
- swim.security.EcDomainDef
-
public class EcDomainDef extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected EcPointDefbaseprotected intcofactorprotected EcDefcurveprotected Stringnameprotected BigIntegerorderprotected ECParameterSpecparams
-
Constructor Summary
Constructors Constructor Description EcDomainDef(String name, EcDef curve, EcPointDef base, BigInteger order, int cofactor)EcDomainDef(EcDef curve, EcPointDef base, BigInteger order, int cofactor)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description EcPointDefbase()intcofactor()static EcDomainDefcreate(String name, ECParameterSpec params)static EcDomainDefcreate(ECParameterSpec params)EcDefcurve()static Form<EcDomainDef>form()static EcDomainDefforName(String name)Stringname()BigIntegerorder()ECParameterSpectoECParameterSpec()ValuetoValue()
-
-
-
Field Detail
-
name
protected final String name
-
curve
protected final EcDef curve
-
base
protected final EcPointDef base
-
order
protected final BigInteger order
-
cofactor
protected final int cofactor
-
params
protected ECParameterSpec params
-
-
Constructor Detail
-
EcDomainDef
public EcDomainDef(String name, EcDef curve, EcPointDef base, BigInteger order, int cofactor)
-
EcDomainDef
public EcDomainDef(EcDef curve, EcPointDef base, BigInteger order, int cofactor)
-
-
Method Detail
-
name
public final String name()
-
curve
public final EcDef curve()
-
base
public final EcPointDef base()
-
order
public final BigInteger order()
-
cofactor
public final int cofactor()
-
toECParameterSpec
public ECParameterSpec toECParameterSpec()
-
toValue
public Value toValue()
-
create
public static EcDomainDef create(String name, ECParameterSpec params)
-
create
public static EcDomainDef create(ECParameterSpec params)
-
forName
public static EcDomainDef forName(String name)
-
form
@Kind public static Form<EcDomainDef> form()
-
-