|
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.ECDSAPublicKeySpec
Since their are no such classes defined in the JCE/JCA framework, this class defines a ECDSA public key spec. This is a transparent representation of the pubic key material, which consists of the elliptic curve point W, and domain parameters.
Field Summary | |
protected ECPoint |
g_
the base point g |
protected java.math.BigInteger |
k_
the co-factor |
protected java.math.BigInteger |
r_
the order order of g |
protected ECPoint |
w_
the public key, which is the Point W: satisfying W = s*G, where s is the private key. |
Constructor Summary | |
ECDSAPublicKeySpec(ECPoint w,
java.math.BigInteger r,
java.math.BigInteger k,
ECPoint g)
Constructs a new spec. for a ECDSA public key. |
Method Summary | |
ECPoint |
getG()
The generator of the subgroub of order r. |
java.math.BigInteger |
getK()
|
java.math.BigInteger |
getR()
|
ECPoint |
getW()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected ECPoint g_
protected java.math.BigInteger k_
protected java.math.BigInteger r_
protected ECPoint w_
Constructor Detail |
public ECDSAPublicKeySpec(ECPoint w, java.math.BigInteger r, java.math.BigInteger k, ECPoint g)
w
- the public keyr
- the order of the subgroup generated by g.k
- the co-factor = #E / rg
- the base point and generator of the groupMethod Detail |
public ECPoint getG()
getR()
public java.math.BigInteger getK()
null
if not knownpublic java.math.BigInteger getR()
public ECPoint getW()
|
IAIK ECC version 2.18 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |