veraison / swid

SWID and CoSWID manipulation library
Apache License 2.0
7 stars 2 forks source link

Validate the tag-id byte array as UUID. #19

Closed thomas-fossati closed 3 years ago

thomas-fossati commented 3 years ago

Validate the tag-id byte array as UUID. Besides, given that the type of the byte array is well defined and it has a known string representation, allow it in XML and JSON serialisations.

Also, increase test coverage (partially addressing #12)

Fixes #18