Class: DigestSet
A set of cryptographic digests for an artifact, keyed by algorithm name (e.g., "sha256", "gitCommit"). Provides enough information for consumers to verify artifact integrity using their preferred algorithm.
URI: slsa:DigestSet
classDiagram
class DigestSet
click DigestSet href "../DigestSet/"
DigestSet : gitCommit
DigestSet : sha256
DigestSet : sha512
Slots
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| sha256 | 0..1 String |
Lowercase hex-encoded SHA-256 digest of the artifact | direct |
| sha512 | 0..1 String |
Lowercase hex-encoded SHA-512 digest of the artifact | direct |
| gitCommit | 0..1 String |
Git commit SHA identifying a source-backed artifact | direct |
Usages
| used by | used in | type | used |
|---|---|---|---|
| ResourceDescriptor | digest | range | DigestSet |
In Subsets
Identifier and Mapping Information
Schema Source
- from schema: https://w3id.org/lmodel/slsa
Mappings
| Mapping Type | Mapped Value |
|---|---|
| self | slsa:DigestSet |
| native | slsa:DigestSet |
LinkML Source
Direct
name: DigestSet
description: A set of cryptographic digests for an artifact, keyed by algorithm name
(e.g., "sha256", "gitCommit"). Provides enough information for consumers to verify
artifact integrity using their preferred algorithm.
in_subset:
- slsa_build_track
- slsa_source_track
from_schema: https://w3id.org/lmodel/slsa
slots:
- sha256
- sha512
- gitCommit
Induced
name: DigestSet
description: A set of cryptographic digests for an artifact, keyed by algorithm name
(e.g., "sha256", "gitCommit"). Provides enough information for consumers to verify
artifact integrity using their preferred algorithm.
in_subset:
- slsa_build_track
- slsa_source_track
from_schema: https://w3id.org/lmodel/slsa
attributes:
sha256:
name: sha256
description: Lowercase hex-encoded SHA-256 digest of the artifact.
in_subset:
- slsa_build_track
- slsa_source_track
from_schema: https://w3id.org/lmodel/slsa
rank: 1000
alias: sha256
owner: DigestSet
domain_of:
- DigestSet
range: string
sha512:
name: sha512
description: Lowercase hex-encoded SHA-512 digest of the artifact.
in_subset:
- slsa_build_track
- slsa_source_track
from_schema: https://w3id.org/lmodel/slsa
rank: 1000
alias: sha512
owner: DigestSet
domain_of:
- DigestSet
range: string
gitCommit:
name: gitCommit
description: Git commit SHA identifying a source-backed artifact.
in_subset:
- slsa_source_track
- slsa_build_track
from_schema: https://w3id.org/lmodel/slsa
rank: 1000
alias: gitCommit
owner: DigestSet
domain_of:
- DigestSet
range: string