PayloadBinding class

What a ciphertext is tied to: the message it must arrive as.

Constructors

PayloadBinding({required String recipientPeerId, required String folderPath, required String messageId})
const
PayloadBinding.forMessage({required PeerId recipientPeerId, required String? folderPath, required String messageId})
The binding of a message as it will be, or was, submitted. An empty folder is the inbox, which is where the server delivers it.
factory
PayloadBinding.of(SFMessage message)
factory

Properties

folderPath → String
final
hashCode → int
The hash code for this object.
no setteroverride
messageId → String
final
recipientPeerId → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

The binding as length-prefixed fields.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

split(Uint8List plain) → (PayloadBinding, Uint8List)
Separates a sealed plaintext into its binding and payload.