WcEnvelope class

WalletConnect v2 transport crypto (Reown / WC v2 wire format).

Pipeline: X25519 ECDH -> HKDF-SHA256 -> symKey -> SHA-256 topic -> ChaCha20-Poly1305 AEAD envelopes (type 0 / type 1), base64-encoded.

Matches the reown_core / wallet_connect_dart_v2 test fixtures. Parsed WC v2 envelope.

Constructors

WcEnvelope({required int type, required Uint8List? senderPublicKey, required Uint8List iv, required Uint8List sealed})

Properties

hashCode int
The hash code for this object.
no setterinherited
iv Uint8List
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sealed Uint8List
final
senderPublicKey Uint8List?
final
type int
final

Methods

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