RatchetEphemeral class
One side's per-connection X25519 keypair. Lives in memory only; destroy it when the session ends.
Properties
Methods
-
agree(
List< int> peerPublicKey) → Future<List< int> ?> -
The X25519 agreement with
peerPublicKey, ornullwhen the peer key is malformed or of low order (an all-zero result), which would make the agreement contribute nothing. -
destroy(
) → void - Wipes the private key.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
generate(
) → Future< RatchetEphemeral> - Generates a fresh keypair.