2.2.4.1 Sized Envelope Record

A Sized Envelope Record contains a message of the specified size.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

Record Type

Size (variable)

...

Payload (variable)

...

Record Type (1 byte): This octet MUST be set to 0x06 to indicate that this is a Sized Envelope Record.

Size (variable): The value MUST be set to the size, in octets, of the payload and encoded based on the scheme described in section 2.2.2. The size MUST NOT be set to 0.

Payload (variable): The content of the message encoded using the encoding indicated by an Envelope Encoding Record.