net.i2p.crypto.eddsa
Class EdDSAPrivateKey

java.lang.Object
  extended by 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

Constructor Summary
EdDSAPrivateKey(EdDSAPrivateKeySpec spec)
           
 
Method Summary
 byte[] geta()
           
 GroupElement getA()
           
 byte[] getAbyte()
           
 String getAlgorithm()
           
 byte[] getEncoded()
           
 String getFormat()
           
 byte[] getH()
           
 EdDSAParameterSpec getParams()
          return a parameter specification representing the EdDSA domain parameters for the key.
 byte[] getSeed()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EdDSAPrivateKey

public EdDSAPrivateKey(EdDSAPrivateKeySpec spec)
Method Detail

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()