cose-wg / X509

Define a set of COSE header fields that can be used to carry and reference X.509 certificates
Other
4 stars 8 forks source link

COSE_X509 CDDL #3

Closed emanjon closed 4 years ago

emanjon commented 6 years ago

The CDDL states

COSE_X509 = bstr / [ *certs: bstr ]

If I understand draft-ietf-cbor-cddl correctly, '*' means zero or more. Shouldn't it be

COSE_X509 = bstr / [ 2* certs: bstr ]

where 2* means two or more

jimsch commented 6 years ago

There is a difference between what I was thinking and what is in the text. I was actually thinking that you might want a bag of zero certificates - hence the , but yes from the text is should be 2

jimsch commented 4 years ago

fixed