cose-wg / CBOR-certificates

Other
11 stars 7 forks source link

Encoding of IPAddress #185

Closed xipki closed 5 months ago

xipki commented 7 months ago

Page 15 (draft -09):

Address = bytes / uint

And under https://datatracker.ietf.org/doc/html/rfc3779#section-2.2.3

IPAddress           ::= BIT STRING

Does encoding in CBOR require IPAddress has unusedbits 0? If not, how to encode the unusedbits?

highlunder commented 6 months ago

Please check if you/someone can provide an example / a sample

gselander commented 5 months ago

Closing since it is a subset of #187