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

SessionKeyPair

class SessionKeyPair (source)

A KeyExchange session key pair.

Constructors

<init>

Create a KeyPair from pair of keys.

SessionKeyPair(rxKey: SessionKey!, txKey: SessionKey!)

Functions

equals

fun equals(other: Any?): Boolean

hashCode

fun hashCode(): Int

rx

Provides the session key that will be used to receive data.

fun rx(): SessionKey!

tx

Provides the session key that will be used to send data.

fun tx(): SessionKey!