net.i2p.crypto.eddsa
Class EdDSAPrivateKey
java.lang.Object
net.i2p.crypto.eddsa.EdDSAPrivateKey
- All Implemented Interfaces:
- Serializable, Key, PrivateKey, EdDSAKey
public class EdDSAPrivateKey
- extends Object
- implements EdDSAKey, PrivateKey
An EdDSA private key.
- Since:
- 0.9.15
- Author:
- str4d
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EdDSAPrivateKey
public EdDSAPrivateKey(EdDSAPrivateKeySpec spec)
getAlgorithm
public String getAlgorithm()
- Specified by:
getAlgorithm
in interface Key
getFormat
public String getFormat()
- Specified by:
getFormat
in interface Key
getEncoded
public byte[] getEncoded()
- Specified by:
getEncoded
in interface Key
getParams
public EdDSAParameterSpec getParams()
- Description copied from interface:
EdDSAKey
- return a parameter specification representing the EdDSA domain
parameters for the key.
- Specified by:
getParams
in interface EdDSAKey
getSeed
public byte[] getSeed()
getH
public byte[] getH()
geta
public byte[] geta()
getA
public GroupElement getA()
getAbyte
public byte[] getAbyte()