Envelopes
The wire format of every envelope the shipped SDK writes, one page each for Doc, Hash, Peppol v1 and PIGI.
Current SDK format generation. These pages document the envelope formats the mintBlue SDK writes today. The open SDX Protocol specifies a later generation of these formats; the two are not wire-compatible. Read the open specification
Generations sets out which of the two documents applies to the code you installed.
An envelope is the structure a record travels in. You choose an output type, the SDK writes the envelope that type implies, and these pages say what comes out: the properties each type takes, the example that builds one, and the arguments it publishes.
Check a byte against the page for the format you are using. What an envelope is for, in product terms, is on Envelopes.
Doc
Double encryption, multiple signers and recipients, content-derived secrets.
Hash
A document digest published without the document.
Peppol v1
General JWE Serialization Syntax, and how each JWE field is used.
PIGI envelope format
Six fields, their sizes and offsets, and the struct that reads them.
PIGI algorithms
What the single Algorithm byte can carry.