On 2025-01-16, at 13:55, Göran Selander 
<[email protected]> wrote:
> 
>       • text strings of byte strings (even number of characters ‘0’-‘9’ and 
> ‘a’-‘f’) are encoded as (untagged) CBOR byte strings. 

We have tag 23 for representing hexadecimal strings as byte strings (which I 
think this is about) [1].

[1]: https://www.rfc-editor.org/rfc/rfc8949#name-expected-later-encoding-for

However, this is for uppercase strings.
About half of the hex strings I’m seeing are lowercase.
I’m assuming here that makes a difference in the X.509 signature?

I propose that we add a (1+1) tag for those two (e.g. 108 for ‘l’ as in 
lowercase).

(No help with mixed case, but I haven’t seen those.)

Grüße, Carsten

_______________________________________________
COSE mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to