Arcana::Envelope
A message passed between agents via the Bus.
id and re are mail headers in the dot-ai sense, carried with the
message and never set by the bus. id is the message's own id, the
same on the sender's and the recipient's copy: hex, 8 digits or more
(dot-ai computes it from the sender, the sent copy's name and the
message). It isn't the correlation id, which a request and its reply
share. re says what a message answers: a message's id, or a topic's
post as #topic:<seq>. Either is dropped (nil) when it isn't in that
form, so neither can carry anything else into a mail file's headers.
signature is the sender's, carried to the receiver unchanged (see
#signed, #signer and Signing). verified is the bus's stamp:
true when the sender proved to the bus that from is its own. A bus
sets it, and clears whatever a client wrote there.
Constants
Constructors
Class methods
Instance methods
Create a reply to this envelope.
This envelope, signed by key. Sign it last: changing a field it
covers afterwards voids the signature.
The public key that signed this envelope as it now stands, or nil
when it isn't signed or the signature doesn't match. Whether that
key is from's is the receiver's to check: against the key the
directory lists for from, or one it already knows.