net.i2p.crypto.eddsa
Class EdDSAPublicKey

java.lang.Object
  extended by net.i2p.crypto.eddsa.EdDSAPublicKey
All Implemented Interfaces:
Serializable, Key, PublicKey, EdDSAKey

public class EdDSAPublicKey
extends Object
implements EdDSAKey, PublicKey

An EdDSA public key.

Since:
0.9.15
Author:
str4d
See Also:
Serialized Form

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

Constructor Detail

EdDSAPublicKey

public EdDSAPublicKey(EdDSAPublicKeySpec 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

getA

public GroupElement getA()

getNegativeA

public GroupElement getNegativeA()

getAbyte

public byte[] getAbyte()