Package net.i2p.crypto.eddsa.spec
Class EdDSAPublicKeySpec
java.lang.Object
net.i2p.crypto.eddsa.spec.EdDSAPublicKeySpec
- All Implemented Interfaces:
KeySpec
public class EdDSAPublicKeySpec extends Object implements KeySpec
- Since:
- 0.9.15
- Author:
- str4d
-
Constructor Summary
Constructors Constructor Description EdDSAPublicKeySpec(byte[] pk, EdDSAParameterSpec spec)
EdDSAPublicKeySpec(GroupElement A, EdDSAParameterSpec spec)
-
Method Summary
Modifier and Type Method Description GroupElement
getA()
GroupElement
getNegativeA()
EdDSAParameterSpec
getParams()
-
Constructor Details
-
EdDSAPublicKeySpec
- Parameters:
pk
- the public keyspec
- the parameter specification for this key- Throws:
IllegalArgumentException
- if key length is wrong
-
EdDSAPublicKeySpec
-
-
Method Details