Decrypts a raw (non-LXMF) channel inner_blob and extracts the payload.
Inverse of wrapRawChannelMessage: EC-decrypts with the channel
identity, verifies the RTID magic, extracts the embedded sender public key,
and returns the remaining bytes as the application payload. The sender
identity is derived from the prelude public key.
The channel EC gate is the authorisation check: only a subscriber holding
the channel private key can produce an inner_blob that decrypts to a valid
RTID prelude. Integrity of the payload itself is the application's
responsibility (e.g. verify an embedded signature) — rfed does not inspect
it.
Decrypts a raw (non-LXMF) channel
inner_bloband extracts the payload.Inverse of wrapRawChannelMessage: EC-decrypts with the channel identity, verifies the RTID magic, extracts the embedded sender public key, and returns the remaining bytes as the application payload. The sender identity is derived from the prelude public key.
The channel EC gate is the authorisation check: only a subscriber holding the channel private key can produce an
inner_blobthat decrypts to a valid RTID prelude. Integrity of the payload itself is the application's responsibility (e.g. verify an embedded signature) — rfed does not inspect it.