CoSWID Tag¶
CoSWID (Concise Software Identification) tags are defined in RFC 93931. These are based upon the SWID specification. NIST has also created NIST IR 80602 as an open stand-in for the specification, defining
a few extra meta-fields that are contained within CoSWID tags (edition, colloquial-version, product, etc.).
In contrast to SWID tags, which use XML encoding, CoSWID tags use CBOR3 encoding.
Details¶
The CoSWID specification uses the Concise Data Definition Language (CDDL), defined in RFC 86104, to define CoSWID structures in terms of arrays and maps (a type of array limited to key/value pairs). Most of these items are optional.
CoSWID tags are signed using a COSE5 signature envelope. RFC 9393 defines a context attribute of "application/swid+cbor" to provide a hint to the parser that the payload is a CoSWID-defined object.
At present, while there are technically few implementations of systems requiring CoSWID tags, support is making its way into related specifications mentioned on this page.