On 2022-07-06, at 20:14, Laurence Lundblade <[email protected]> wrote:
> 
> By RFC 9052:
>     ? 4 => bstr,        ; key identifier
> 
> which says kid is either entirely absent

(i.e., both the 4 and the byte string are absent, which they can be because the 
entry was marked with a ?, which is a shortcut for 0*1, zero to one)

> from the header parameters or  h’’ or some byte string value .

(h’’, representation 0x40, is a byte string value, just the zero-length one; so 
I’d have said “or some other byte string value”.)

> Don’t think it can be NULL or “”.  

With the above CDDL, if the member is present, the member value can’t be null 
(representation 0xF6) or the empty text string (“”, representation 0x60) or any 
other text string, or 4711, or 1.5, or false, ...

> I didn’t allow those in my implementation.

Correct.

Grüße, Carsten

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

Reply via email to