|
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.ECDSAPrivateKeySpec
Since their are no such classes defined in the JCE/JCA framework, this class defines a ECDSA private key spec. This is a transparent representation of the private key material, which consists of the scalar s 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 |
Constructor Summary | |
ECDSAPrivateKeySpec(java.math.BigInteger s,
java.math.BigInteger r,
java.math.BigInteger k,
ECPoint g)
Creates a new private key spec from the specified parameters |
Method Summary | |
ECPoint |
getG()
The generator of the subgroub of order r. |
java.math.BigInteger |
getK()
|
java.math.BigInteger |
getR()
|
java.math.BigInteger |
getS()
|
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_
Constructor Detail |
public ECDSAPrivateKeySpec(java.math.BigInteger s, java.math.BigInteger r, java.math.BigInteger k, ECPoint g)
s
- the private 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 java.math.BigInteger getS()
|
IAIK ECC version 2.18 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |