| Constructor and Description |
|---|
EdDSAPublicKeySpec(byte[] pk,
EdDSAParameterSpec spec)Create a new EdDSA public key specification from a byte array. |
EdDSAPublicKeySpec(GroupElement A,
EdDSAParameterSpec spec)Constructs a 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 A, EdDSAParameterSpec spec)
A - the public key group elementspec - the parameter specification for this keypublic GroupElement getA()
public GroupElement getNegativeA()
public EdDSAParameterSpec getParams()