I don't have any problems with what is here.  It boils down to 

 

1.      I already know that this is going to be a CWT so I save a byte.
2.      I don't know so I waste a tag byte in that case.

 

Most of the time it is going to be the first case, but my code is agnostic
about this and will remove the tag if it is the correct value.  In either
case it then makes sure that what follows is a map.

 

Jim

 

 

From: Ace [mailto:[email protected]] On Behalf Of Hannes Tschofenig
Sent: Thursday, October 19, 2017 8:56 AM
To: [email protected]
Subject: [Ace] draft-ietf-ace-cbor-web-token-08 - CWT CBOR Tag

 

Hi all, 

 

In Section 6 of draft-ietf-ace-cbor-web-token-08 we describe two ways to
determine whether the CBOR data structure is a CWT. 

I wonder whether it is better to settle on one approach only. 

 

Do folks have practical experience with this feature? 

 

Ciao

Hannes

 

IMPORTANT NOTICE: The contents of this email and any attachments are
confidential and may also be privileged. If you are not the intended
recipient, please notify the sender immediately and do not disclose the
contents to any other person, use it for any purpose, or store or copy the
information in any medium. Thank you. 

_______________________________________________
Ace mailing list
[email protected]
https://www.ietf.org/mailman/listinfo/ace

Reply via email to