Subject: Re: [jose] Using Jose as an encrypted document container.

From: Martin Thomson <[email-masked]>
Date: Tue, 3 Jan 2017 13:33:39 +1100

On 29 December 2016 at 08:33, Phillip Hallam-Baker
<[email-masked]> wrote:
> To meet these needs I need to modify Jose to support the following
> additional requirements that the RFCs currently don't.
>
> 1) Single pass processing for encoding and decoding operations.
> 1a) Bounded state
> 1b) Support streaming, i.e. length not known in advance
>
> 2) Reduce complexity and number of options.
>
> 3) Efficient encoding of bodies, i.e. no Base64 overhead.

That's a set of requirements that are addressed by
draft-ietf-httpbis-encryption-encoding

The relationship to JOSE is described in an appendix.