CycloneDX::Hash
Inherits JSON::Serializable / Reference / Object
Constants
VALID_ALGORITHMS = ["MD5", "SHA-1", "SHA-256", "SHA-384", "SHA-512", "SHA3-256", "SHA3-384", "SHA3-512", "BLAKE2b-256", "BLAKE2b-384", "BLAKE2b-512", "BLAKE3", "Streebog-256", "Streebog-512"]
Valid hash algorithm enum values per the CycloneDX schema (hashAlg).
This is the union across all supported spec versions. Values newer than a
BOM's declared specVersion are gated on serialization; see
VersionGate::HASH_ALG_VERSIONS.
Constructors
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
algorithm
Sourcecontent
Sourceto_xml(xml : XML::Builder)
Source