The public key used to sign the message.
MAY be present if the message is version 1.
Decode a byte array into Waku Message.
Decode and decrypt Waku Message Protobuf Object into Waku Message.
Create a Waku Message with the given payload.
By default, the payload is kept clear (version 0).
If opts.encPublicKey
is passed, the payload is encrypted using
asymmetric encryption (version 1).
If opts.sigPrivKey
is passed and version 1 is used, the payload is signed
before encryption.
Create Message with an utf-8 string as payload.
Generated using TypeDoc
The signature of the message.
MAY be present if the message is version 1.