- java.lang.Object
-
- swim.security.KeyDef
-
- swim.security.PrivateKeyDef
-
- swim.security.EcPrivateKeyDef
-
- All Implemented Interfaces:
EcKeyDef
public class EcPrivateKeyDef extends PrivateKeyDef implements EcKeyDef
-
-
Field Summary
Fields Modifier and Type Field Description protected EcDomainDef
domain
protected ECPrivateKey
privateKey
protected BigInteger
secret
-
Constructor Summary
Constructors Constructor Description EcPrivateKeyDef(EcDomainDef domain, BigInteger secret)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description EcDomainDef
domain()
boolean
equals(Object other)
static Form<EcPrivateKeyDef>
form()
static EcPrivateKeyDef
from(ECPrivateKey key)
int
hashCode()
Key
key()
ECPrivateKey
privateKey()
BigInteger
secret()
Value
toValue()
-
Methods inherited from class swim.security.PrivateKeyDef
from, privateKeyForm
-
-
-
-
Field Detail
-
domain
protected final EcDomainDef domain
-
secret
protected final BigInteger secret
-
privateKey
protected ECPrivateKey privateKey
-
-
Constructor Detail
-
EcPrivateKeyDef
public EcPrivateKeyDef(EcDomainDef domain, BigInteger secret)
-
-
Method Detail
-
domain
public final EcDomainDef domain()
-
secret
public final BigInteger secret()
-
privateKey
public ECPrivateKey privateKey()
- Specified by:
privateKey
in classPrivateKeyDef
-
toValue
public Value toValue()
-
from
public static EcPrivateKeyDef from(ECPrivateKey key)
-
form
@Kind public static Form<EcPrivateKeyDef> form()
-
-