CycloneDX / cyclonedx-core-java

CycloneDX SBOM Model and Utils for Creating and Validating BOMs
https://cyclonedx.org/
Apache License 2.0
81 stars 59 forks source link

Serializer for Properties and Hashes for backwards compatibility #428

Closed mr-zepol closed 3 months ago

mr-zepol commented 3 months ago

New algorithms for hashes were introduced in later versions, this adds a serializer to avoid old versions to generate SBOMs with those values since it's create invalid SBOMs.

On the same note, properties were introduced later for JSON (1.5) than for XML (1.3)