- java.lang.Object
-
- swim.security.EcDomainDef
-
public class EcDomainDef extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected EcPointDef
base
protected int
cofactor
protected EcDef
curve
protected String
name
protected BigInteger
order
protected ECParameterSpec
params
-
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
Modifier and Type Method Description EcPointDef
base()
int
cofactor()
EcDef
curve()
static Form<EcDomainDef>
form()
static EcDomainDef
forName(String name)
static EcDomainDef
from(String name, ECParameterSpec params)
static EcDomainDef
from(ECParameterSpec params)
String
name()
BigInteger
order()
ECParameterSpec
toECParameterSpec()
Value
toValue()
-
-
-
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
-
from
public static EcDomainDef from(String name, ECParameterSpec params)
-
from
public static EcDomainDef from(ECParameterSpec params)
-
forName
public static EcDomainDef forName(String name)
-
form
@Kind public static Form<EcDomainDef> form()
-
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()
-
-