- java.lang.Object
-
- swim.security.KeyDef
-
- swim.security.PublicKeyDef
-
- swim.security.EcPublicKeyDef
-
- All Implemented Interfaces:
EcKeyDef
public class EcPublicKeyDef extends PublicKeyDef implements EcKeyDef
-
-
Field Summary
Fields Modifier and Type Field Description protected EcDomainDef
domain
protected EcPointDef
point
protected ECPublicKey
publicKey
-
Constructor Summary
Constructors Constructor Description EcPublicKeyDef(EcDomainDef domain, EcPointDef point)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description EcDomainDef
domain()
boolean
equals(Object other)
static Form<EcPublicKeyDef>
form()
static EcPublicKeyDef
from(ECPublicKey key)
int
hashCode()
Key
key()
EcPointDef
point()
ECPublicKey
publicKey()
Value
toValue()
-
Methods inherited from class swim.security.PublicKeyDef
from, publicKeyForm
-
-
-
-
Field Detail
-
domain
protected final EcDomainDef domain
-
point
protected final EcPointDef point
-
publicKey
protected ECPublicKey publicKey
-
-
Constructor Detail
-
EcPublicKeyDef
public EcPublicKeyDef(EcDomainDef domain, EcPointDef point)
-
-
Method Detail
-
domain
public final EcDomainDef domain()
-
point
public final EcPointDef point()
-
publicKey
public ECPublicKey publicKey()
- Specified by:
publicKey
in classPublicKeyDef
-
toValue
public Value toValue()
-
from
public static EcPublicKeyDef from(ECPublicKey key)
-
form
@Kind public static Form<EcPublicKeyDef> form()
-
-