| Constructor and Description |
|---|
EdDSAPublicKeySpec(byte[] pk,
EdDSAParameterSpec spec)Create a new EdDSA public key specification from a byte array. |
EdDSAPublicKeySpec(GroupElement aPoint,
EdDSAParameterSpec spec)Public key specification from a group element. |
| Modifier and Type | Method and Description |
|---|---|
GroupElement | getA()Returns the public key group element. |
GroupElement | getNegativeA()Returns the negation of the public key group element. |
EdDSAParameterSpec | getParams()Returns the parameter specification for this key. |
public EdDSAPublicKeySpec(byte[] pk,
EdDSAParameterSpec spec)pk - the public keyspec - the parameter specification for this keyIllegalArgumentException - if key length is wrongpublic EdDSAPublicKeySpec(GroupElement aPoint, EdDSAParameterSpec spec)
aPoint - The public key group element.spec - The parameter specification for this key.public GroupElement getA()
public GroupElement getNegativeA()
public EdDSAParameterSpec getParams()