Package net.i2p.crypto.eddsa.spec
Class EdDSAPublicKeySpec
- java.lang.Object
-
- net.i2p.crypto.eddsa.spec.EdDSAPublicKeySpec
-
-
Constructor Summary
Constructors Constructor Description EdDSAPublicKeySpec(byte[] pk, EdDSAParameterSpec spec)
EdDSAPublicKeySpec(GroupElement A, EdDSAParameterSpec spec)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GroupElement
getA()
GroupElement
getNegativeA()
EdDSAParameterSpec
getParams()
-
-
-
Constructor Detail
-
EdDSAPublicKeySpec
public EdDSAPublicKeySpec(byte[] pk, EdDSAParameterSpec spec)
- Parameters:
pk
- the public keyspec
- the parameter specification for this key- Throws:
IllegalArgumentException
- if key length is wrong
-
EdDSAPublicKeySpec
public EdDSAPublicKeySpec(GroupElement A, EdDSAParameterSpec spec)
-
-
Method Detail
-
getA
public GroupElement getA()
-
getNegativeA
public GroupElement getNegativeA()
-
getParams
public EdDSAParameterSpec getParams()
-
-