On 08/29/2013 07:33 PM, Richard Barnes wrote:
Out of curiosity, I encoded an example JWS object using a notional serialization based on CBOR [1][2]. If you use a lightly optimized format (cbor([unprotected, protected, payload, signature])), then you actually end up being around 33% smaller than the compact representation, around 10% smaller after base64url-encoding the CBOR. And if you don't support protected headers (and there's direct signing), you don't need a base64 encoder/decoder because CBOR supports octet strings natively. Full results below.Just sayin'. --Richard
Would there be interest in the WG (and would the charter cover this) to work on a constrained devices profile of JWS/JWE ?
/Ludwig -- Ludwig Seitz, PhD SICS Swedish ICT AB Ideon Science Park Building Beta 2 Scheelevägen 17 SE-223 70 Lund Phone +46(0)70-349 92 51 http://www.sics.se
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ jose mailing list [email protected] https://www.ietf.org/mailman/listinfo/jose
