On 2025-10-03, at 18:28, Michael Richardson <[email protected]> wrote:
> 
> cose-x509 is RFC9360... and COSE_X509 is a CBOR sequence of bstr wrapped
> DER-encoded PKIX certificates.

Not sure about “wrapped”; this is a CBOR sequence of CBOR byte strings that 
contain DER-encoded PKIX certificates.

> I think that this means that there is CBOR definite(?) array of bytes.

Not at all: CBOR sequence (RFC 8742) and array (RFC 8949) are different 
constructs.
(The concept of (in)definite length encoding applies arrays, not to sequences.
The latter are just encoded items put side by side, with no indication of the 
number of items — you have to use the fact that CBOR data items are 
self-delimiting.)

Grüße, Carsten

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

Reply via email to