Using the SWID Builder Java API

A Java API for building SWID and CoSWID tags. This API can be used in Java applications to produce tags in the XML-based SWID and CBOR-based Constrained SWID (CoSWID) formats. This library provides a set of builder patterns that can be used together to generate a SWID or CoSWID tag.

The following dependency can be added to your POM to use this library.

<dependency>
  <groupId>gov.nist.secauto.swid</groupId>
  <artifactId>swid-builder</artifactId>
  <version>0.6.1</version>
</dependency>

The API documentation provides more details.

The source can be found in the project’s Github repo.