The envelope event.
The content.
The event id.
The 'note', empty when none.
The 'date' as a JS Date (millisecond view); cborDate is the exact value.
The 'date' exactly, when any.
The sender's document.
The sender's state, when any.
The peer's continuation, when any.
StaticfromAn event with content and id, from sender. An id that is not an
ARID, a sender that is not an XIDDocument or a peer continuation
that is not an Envelope is a TypeError.
With a 'date': a Date is stored to the millisecond, a CborDate exactly; a Date without a time is a TypeError.
With the sender's state (undefined clears it).
With the peer's continuation (undefined clears it); not an Envelope is a TypeError.
The event with 'sender', the sender's continuation when there is
state or a validUntil (a null state then), and the peer
continuation; signed by signer and encrypted to recipients. With
no options: unsigned, unsealed.
StaticfromDecrypts to the recipient, verifies the sender's signature, checks the
sender continuation (when present it must be encrypted), opens the
recipient's own continuation and parses the event, reading the
content as text, or with content (Envelope[General] when it fails).
fromEnvelope, reading the content with content as T.
SealedEvent(<summary>, state: <flat>, peer_continuation: None|Some); the reference's Display prints SealedRequest( here.
Same event and sender document, identical state and peer continuation (digest and structure), as the reference's PartialEq.
An event with its sender, state and the peer's continuation.