tuweni / org.apache.tuweni.crypto.sodium / KeyExchange / SessionKeyPair

SessionKeyPair

class SessionKeyPair (source)

A KeyExchange session key pair.

Constructors

<init>

SessionKeyPair(rxKey: SessionKey, txKey: SessionKey)

Create a KeyPair from pair of keys.

Functions

equals

fun equals(other: Any?): Boolean

hashCode

fun hashCode(): Int

rx

fun rx(): SessionKey

tx

fun tx(): SessionKey