Versions in this module Expand all Collapse all v0 v0.0.12 Mar 19, 2023 Changes in this version + func SupportedPrimaryPurpose(f string) []string + func SupportedSBOMFileFormats(f string) []string + func SupportedSBOMSpecVersions(f string) []string + func SupportedSBOMSpecs() []string + type Author interface + Name func() string + Type func() string + type Checksum interface + Algo func() string + Content func() string + type Component interface + Checksums func() []Checksum + Cpes func() []cpe.CPE + ID func() string + Licenses func() []License + Name func() string + PrimaryPurpose func() string + Purls func() []purl.PURL + RequiredFields func() bool + SupplierName func() string + Version func() string + type Document interface + Authors func() []Author + Components func() []Component + Logs func() []string + Relations func() []Relation + Spec func() Spec + Tools func() []Tool + func NewSBOMDocument(ctx context.Context, f io.ReadSeeker) (Document, error) + type FileFormat string + const FileFormatJSON + const FileFormatRDF + const FileFormatTagValue + const FileFormatUnknown + const FileFormatXML + const FileFormatYAML + type License interface + Deprecated func() bool + Name func() string + Short func() string + ValidSpdxLicense func() bool + type Relation interface + From func() string + To func() string + type SBOMSpecFormat string + const SBOMSpecCDX + const SBOMSpecSPDX + const SBOMSpecUnknown + type Spec interface + CreationTimestamp func() string + FileFormat func() string + Licenses func() []License + Name func() string + Namespace func() string + Parsable func() bool + RequiredFields func() bool + Version func() string + type Tool interface + Name func() string + Version func() string