public class ECDHLightContext extends KeyAgreementSchemeContext
Modifier and Type | Field and Description |
---|---|
ECDH |
ecdh |
ecdsaSig, lastUsedTime, lifetime
Constructor and Description |
---|
ECDHLightContext(ECDH.Curves curve) |
Modifier and Type | Method and Description |
---|---|
byte[] |
getHMACKey(java.security.interfaces.ECPublicKey peerExponential) |
java.security.interfaces.ECPublicKey |
getPublicKey() |
byte[] |
getPublicKeyNetworkFormat() |
java.lang.String |
toString() |
lastUsedTime, setECDSASignature
public final ECDH ecdh
public ECDHLightContext(ECDH.Curves curve)
public java.lang.String toString()
toString
in class java.lang.Object
public java.security.interfaces.ECPublicKey getPublicKey()
public byte[] getHMACKey(java.security.interfaces.ECPublicKey peerExponential)
public byte[] getPublicKeyNetworkFormat()
getPublicKeyNetworkFormat
in class KeyAgreementSchemeContext