|
IAIK ECC version 2.18 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object iaik.security.ecc.spec.ECCParameterSpec
The repository for the elliptic curve parameters.
ECCParameterFactory
Field Summary | |
protected FieldElement |
a_
The elliptic curve parameter a. |
protected FieldElement |
b_
The coefficient b (satisfying b^2 * c congruent -27 mod p). |
protected java.math.BigInteger |
c_
The output c of the SHA-1 based algorithm. |
protected FieldElement |
gx_
The base point x coordinate Gx |
protected FieldElement |
gy_
The base point y coordinate Gy |
protected java.math.BigInteger |
k_
The co-factor |
protected java.lang.String |
oid_
The unique object identifier of this parameter set. |
protected FieldElement |
p_
The prime modulus p or the irreducible polynomial, defining the field. |
protected java.math.BigInteger |
r_
The order r. |
protected java.math.BigInteger |
s_
The 160-bit input seed s to the SHA-1 based algorithm. |
protected int |
t_
The type of normal basis (not used) |
Constructor Summary | |
ECCParameterSpec(java.math.BigInteger p,
java.math.BigInteger k,
java.math.BigInteger r,
java.math.BigInteger s,
java.math.BigInteger c,
java.math.BigInteger a,
java.math.BigInteger b,
java.math.BigInteger gx,
java.math.BigInteger gy,
java.lang.String oid)
Generates new parameters for curves over prime fields. |
|
ECCParameterSpec(int[] irreducible,
java.math.BigInteger k,
java.math.BigInteger r,
int[] a,
int[] b,
int[] gx,
int[] gy,
java.lang.String oid)
Generates new parameters for curves over binary fields. |
Method Summary | |
FieldElement |
getA()
|
FieldElement |
getB()
|
java.math.BigInteger |
getC()
|
FieldElement |
getGx()
|
FieldElement |
getGy()
|
java.math.BigInteger |
getK()
|
java.lang.String |
getOID()
|
FieldElement |
getP()
|
java.math.BigInteger |
getR()
|
java.math.BigInteger |
getS()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected FieldElement a_
protected FieldElement b_
protected java.math.BigInteger c_
protected FieldElement gx_
protected FieldElement gy_
protected java.math.BigInteger k_
protected java.lang.String oid_
protected FieldElement p_
protected java.math.BigInteger r_
protected java.math.BigInteger s_
protected int t_
Constructor Detail |
public ECCParameterSpec(java.math.BigInteger p, java.math.BigInteger k, java.math.BigInteger r, java.math.BigInteger s, java.math.BigInteger c, java.math.BigInteger a, java.math.BigInteger b, java.math.BigInteger gx, java.math.BigInteger gy, java.lang.String oid)
p
- the prime modulus p, defining the field.k
- the cofactor.r
- the order r.s
- the 160-bit input seed s to the SHA-1 based algorithm.c
- the output c of the SHA-1 based algorithm.a
- the coefficient ab
- the coefficient b (satisfying b^2 * c congruent -27 mod p);gx
- the base point x coordinate Gxgy
- the base point y coordinate Gyoid
- the objet identifier of this ecc parameter (or null).public ECCParameterSpec(int[] irreducible, java.math.BigInteger k, java.math.BigInteger r, int[] a, int[] b, int[] gx, int[] gy, java.lang.String oid)
irreducible
- the irreducible, defining the field.k
- the cofactor.r
- the order r.a
- the coefficient ab
- the coefficient b (satisfying b^2 * c congruent -27 mod p);gx
- the base point x coordinate Gxgy
- the base point y coordinate Gyoid
- the objet identifier of this ecc parameter (or null).Method Detail |
public FieldElement getA()
public FieldElement getB()
public java.math.BigInteger getC()
null
if unkonownpublic FieldElement getGx()
public FieldElement getGy()
public java.math.BigInteger getK()
public java.lang.String getOID()
null
if not specified).public FieldElement getP()
public java.math.BigInteger getR()
public java.math.BigInteger getS()
null
if unknownpublic java.lang.String toString()
|
IAIK ECC version 2.18 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |