Closed emanjon closed 4 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
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
fixed
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