public class EdDSAPublicKeySpec
extends java.lang.Object
implements java.security.spec.KeySpec
| Modifier and Type | Field and Description |
|---|---|
private GroupElement |
A |
private GroupElement |
Aneg |
private EdDSAParameterSpec |
spec |
| Constructor and Description |
|---|
EdDSAPublicKeySpec(byte[] pk,
EdDSAParameterSpec spec) |
EdDSAPublicKeySpec(GroupElement A,
EdDSAParameterSpec spec) |
| Modifier and Type | Method and Description |
|---|---|
GroupElement |
getA() |
GroupElement |
getNegativeA() |
EdDSAParameterSpec |
getParams() |
private final GroupElement A
private GroupElement Aneg
private final EdDSAParameterSpec spec
public EdDSAPublicKeySpec(byte[] pk,
EdDSAParameterSpec spec)
pk - the public keyspec - the parameter specification for this keyjava.lang.IllegalArgumentException - if key length is wrongpublic EdDSAPublicKeySpec(GroupElement A, EdDSAParameterSpec spec)
public GroupElement getA()
public GroupElement getNegativeA()
public EdDSAParameterSpec getParams()