fi.hut.tcm.tessa.ECImplementation
Class ECDSAPrivateKeySpec
java.lang.Object
|
+--fi.hut.tcm.tessa.ECImplementation.ECDSAPrivateKeySpec
- public class ECDSAPrivateKeySpec
- extends Object
- implements KeySpec
This class specifies a ECDSA private key with its associated parameters.
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
ECDSAPrivateKeySpec
public ECDSAPrivateKeySpec(byte[] privateKey)
- Creates a new ECDSAPrivateKeySpec with the specified parameter values.
ECDSAPrivateKeySpec
public ECDSAPrivateKeySpec(ECDSAParams curve,
BigInteger d)
getParams
public ECDSAParams getParams()
- Returns the parameters used (the curve).
getD
public BigInteger getD()
- Returns the private key.