Class in Supply-chain Levels for Software Artifacts (SLSA)
InTotoDigestSet
A set of one or more digests over one artifact, keyed by algorithm, from which a consumer picks the algorithm it trusts.
URI: slsa:class/InTotoDigestSet
classDiagram
class InTotoDigestSet
click InTotoDigestSet href "../../classes/InTotoDigestSet/"
InTotoDigestSet : additional_digests
InTotoDigestSet --> "1..*" InTotoAdditionalDigest : additional_digests
click InTotoAdditionalDigest href "../../classes/InTotoAdditionalDigest/"
InTotoDigestSet : blake2b
InTotoDigestSet : blake2s
InTotoDigestSet : dir_hash
InTotoDigestSet : git_blob
InTotoDigestSet : git_commit
InTotoDigestSet : git_tag
InTotoDigestSet : git_tree
InTotoDigestSet : gost
InTotoDigestSet : md5
InTotoDigestSet : ripemd160
InTotoDigestSet : sha1
InTotoDigestSet : sha224
InTotoDigestSet : sha256
InTotoDigestSet : sha384
InTotoDigestSet : sha3_224
InTotoDigestSet : sha3_256
InTotoDigestSet : sha3_384
InTotoDigestSet : sha3_512
InTotoDigestSet : sha512
InTotoDigestSet : sha512_224
InTotoDigestSet : sha512_256
InTotoDigestSet : shake128
InTotoDigestSet : shake256
InTotoDigestSet : sm3
Slots#
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| sha256 | 0..1 String | The SHA-256 digest of the artifact | direct |
| sha224 | 0..1 String | The SHA-224 digest of the artifact | direct |
| sha384 | 0..1 String | The SHA-384 digest of the artifact | direct |
| sha512 | 0..1 String | The SHA-512 digest of the artifact | direct |
| sha512_224 | 0..1 String | The SHA-512/224 digest of the artifact | direct |
| sha512_256 | 0..1 String | The SHA-512/256 digest of the artifact | direct |
| sha3_224 | 0..1 String | The SHA3-224 digest of the artifact | direct |
| sha3_256 | 0..1 String | The SHA3-256 digest of the artifact | direct |
| sha3_384 | 0..1 String | The SHA3-384 digest of the artifact | direct |
| sha3_512 | 0..1 String | The SHA3-512 digest of the artifact | direct |
| shake128 | 0..1 String | The SHAKE128 digest of the artifact, of at least 32 bytes | direct |
| shake256 | 0..1 String | The SHAKE256 digest of the artifact, of at least 32 bytes | direct |
| blake2b | 0..1 String | The BLAKE2b digest of the artifact, of 32 to 64 bytes | direct |
| blake2s | 0..1 String | The BLAKE2s digest of the artifact, at its full 32 bytes | direct |
| ripemd160 | 0..1 String | The RIPEMD-160 digest of the artifact | direct |
| sm3 | 0..1 String | The SM3 digest of the artifact | direct |
| gost | 0..1 String | The GOST R 34 | direct |
| sha1 | 0..1 String | The SHA-1 digest of the artifact | direct |
| md5 | 0..1 String | The MD5 digest of the artifact | direct |
| dir_hash | 0..1 String | A digest over a directory’s content by the dirhash Hash1 function, in lowerca… | direct |
| git_commit | 0..1 String | The git commit id of a source revision | direct |
| git_tree | 0..1 String | The git tree id of a source revision’s content, or of any file tree | direct |
| git_blob | 0..1 String | The git blob id of a file’s content | direct |
| git_tag | 0..1 String | The git object id of an annotated tag | direct |
| additional_digests | 1..* InTotoAdditionalDigest | The digests under algorithms this class does not name | direct |
YAML
Expressions & Logic
#### Any OfThe class must satisfy at least one of:
- AnonymousClassExpression({ ‘slot_conditions’: {‘sha256’: SlotDefinition({ ’name’: ‘sha256’, ‘required’: True, ‘any_of’: [AnonymousSlotExpression({‘range’: ‘string’})] })} })
- AnonymousClassExpression({ ‘slot_conditions’: {‘sha224’: SlotDefinition({ ’name’: ‘sha224’, ‘required’: True, ‘any_of’: [AnonymousSlotExpression({‘range’: ‘string’})] })} })
- AnonymousClassExpression({ ‘slot_conditions’: {‘sha384’: SlotDefinition({ ’name’: ‘sha384’, ‘required’: True, ‘any_of’: [AnonymousSlotExpression({‘range’: ‘string’})] })} })
- AnonymousClassExpression({ ‘slot_conditions’: {‘sha512’: SlotDefinition({ ’name’: ‘sha512’, ‘required’: True, ‘any_of’: [AnonymousSlotExpression({‘range’: ‘string’})] })} })
- AnonymousClassExpression({ ‘slot_conditions’: {‘sha512_224’: SlotDefinition({ ’name’: ‘sha512_224’, ‘required’: True, ‘any_of’: [AnonymousSlotExpression({‘range’: ‘string’})] })} })
- AnonymousClassExpression({ ‘slot_conditions’: {‘sha512_256’: SlotDefinition({ ’name’: ‘sha512_256’, ‘required’: True, ‘any_of’: [AnonymousSlotExpression({‘range’: ‘string’})] })} })
- AnonymousClassExpression({ ‘slot_conditions’: {‘sha3_224’: SlotDefinition({ ’name’: ‘sha3_224’, ‘required’: True, ‘any_of’: [AnonymousSlotExpression({‘range’: ‘string’})] })} })
- AnonymousClassExpression({ ‘slot_conditions’: {‘sha3_256’: SlotDefinition({ ’name’: ‘sha3_256’, ‘required’: True, ‘any_of’: [AnonymousSlotExpression({‘range’: ‘string’})] })} })
- AnonymousClassExpression({ ‘slot_conditions’: {‘sha3_384’: SlotDefinition({ ’name’: ‘sha3_384’, ‘required’: True, ‘any_of’: [AnonymousSlotExpression({‘range’: ‘string’})] })} })
- AnonymousClassExpression({ ‘slot_conditions’: {‘sha3_512’: SlotDefinition({ ’name’: ‘sha3_512’, ‘required’: True, ‘any_of’: [AnonymousSlotExpression({‘range’: ‘string’})] })} })
- AnonymousClassExpression({ ‘slot_conditions’: {‘shake128’: SlotDefinition({ ’name’: ‘shake128’, ‘required’: True, ‘any_of’: [AnonymousSlotExpression({‘range’: ‘string’})] })} })
- AnonymousClassExpression({ ‘slot_conditions’: {‘shake256’: SlotDefinition({ ’name’: ‘shake256’, ‘required’: True, ‘any_of’: [AnonymousSlotExpression({‘range’: ‘string’})] })} })
- AnonymousClassExpression({ ‘slot_conditions’: {‘blake2b’: SlotDefinition({ ’name’: ‘blake2b’, ‘required’: True, ‘any_of’: [AnonymousSlotExpression({‘range’: ‘string’})] })} })
- AnonymousClassExpression({ ‘slot_conditions’: {‘blake2s’: SlotDefinition({ ’name’: ‘blake2s’, ‘required’: True, ‘any_of’: [AnonymousSlotExpression({‘range’: ‘string’})] })} })
- AnonymousClassExpression({ ‘slot_conditions’: {‘ripemd160’: SlotDefinition({ ’name’: ‘ripemd160’, ‘required’: True, ‘any_of’: [AnonymousSlotExpression({‘range’: ‘string’})] })} })
- AnonymousClassExpression({ ‘slot_conditions’: {‘sm3’: SlotDefinition({ ’name’: ‘sm3’, ‘required’: True, ‘any_of’: [AnonymousSlotExpression({‘range’: ‘string’})] })} })
- AnonymousClassExpression({ ‘slot_conditions’: {‘gost’: SlotDefinition({ ’name’: ‘gost’, ‘required’: True, ‘any_of’: [AnonymousSlotExpression({‘range’: ‘string’})] })} })
- AnonymousClassExpression({ ‘slot_conditions’: {‘sha1’: SlotDefinition({ ’name’: ‘sha1’, ‘required’: True, ‘any_of’: [AnonymousSlotExpression({‘range’: ‘string’})] })} })
- AnonymousClassExpression({ ‘slot_conditions’: {‘md5’: SlotDefinition({ ’name’: ‘md5’, ‘required’: True, ‘any_of’: [AnonymousSlotExpression({‘range’: ‘string’})] })} })
- AnonymousClassExpression({ ‘slot_conditions’: {‘dir_hash’: SlotDefinition({ ’name’: ‘dir_hash’, ‘required’: True, ‘any_of’: [AnonymousSlotExpression({‘range’: ‘string’})] })} })
- AnonymousClassExpression({ ‘slot_conditions’: {‘git_commit’: SlotDefinition({ ’name’: ‘git_commit’, ‘required’: True, ‘any_of’: [AnonymousSlotExpression({‘range’: ‘string’})] })} })
- AnonymousClassExpression({ ‘slot_conditions’: {‘git_tree’: SlotDefinition({ ’name’: ‘git_tree’, ‘required’: True, ‘any_of’: [AnonymousSlotExpression({‘range’: ‘string’})] })} })
- AnonymousClassExpression({ ‘slot_conditions’: {‘git_blob’: SlotDefinition({ ’name’: ‘git_blob’, ‘required’: True, ‘any_of’: [AnonymousSlotExpression({‘range’: ‘string’})] })} })
- AnonymousClassExpression({ ‘slot_conditions’: {‘git_tag’: SlotDefinition({ ’name’: ‘git_tag’, ‘required’: True, ‘any_of’: [AnonymousSlotExpression({‘range’: ‘string’})] })} })
- AnonymousClassExpression({ ‘slot_conditions’: {‘additional_digests’: SlotDefinition({’name’: ‘additional_digests’, ‘required’: True, ‘multivalued’: True})} })
Usages#
Aliases#
- DigestSet
Comments#
- A field named after an algorithm that SPDX 3 also names relates to SPDX’s individual for it. BLAKE2b is left unmapped: the framework allows any length from 32 to 64 bytes, where SPDX names three fixed lengths.
- The named algorithms take lowercase hexadecimal, and additional_digests holds any other algorithm, such as an SCS’s own revision type.
- A consumer accepts only the algorithms it considers secure and ignores the rest, and two sets match when any accepted algorithm matches.
- SHAKE and BLAKE2 digests can be of any length, and this schema asks for at least 32 bytes, since a shorter digest resists collisions too weakly to identify an artifact.
See Also#
Notes#
- Each condition in any_of names its range through a nested any_of, because the JSON Schema generator leaves a condition’s own range out, and a null value would then count as present.
Identifier and Mapping Information#
Schema Source#
- from schema: https://w3id.org/lmodel/slsa
Mappings#
| Mapping Type | Mapped Value |
|---|---|
| self | slsa:InTotoDigestSet |
| native | slsa:InTotoDigestSet |
LinkML Source#
Direct#
YAML
name: InTotoDigestSet
description: A set of one or more digests over one artifact, keyed by algorithm, from
which a consumer picks the algorithm it trusts.
notes:
- Each condition in any_of names its range through a nested any_of, because the JSON
Schema generator leaves a condition's own range out, and a null value would then
count as present.
comments:
- 'A field named after an algorithm that SPDX 3 also names relates to SPDX''s individual
for it. BLAKE2b is left unmapped: the framework allows any length from 32 to 64
bytes, where SPDX names three fixed lengths.'
- The named algorithms take lowercase hexadecimal, and additional_digests holds any
other algorithm, such as an SCS's own revision type.
- A consumer accepts only the algorithms it considers secure and ignores the rest,
and two sets match when any accepted algorithm matches.
- SHAKE and BLAKE2 digests can be of any length, and this schema asks for at least
32 bytes, since a shorter digest resists collisions too weakly to identify an artifact.
from_schema: https://w3id.org/lmodel/slsa
see_also:
- https://github.com/in-toto/attestation/blob/v1.2.0/spec/v1/digest_set.md
aliases:
- DigestSet
attributes:
sha256:
name: sha256
description: The SHA-256 digest of the artifact.
from_schema: https://w3id.org/lmodel/in-toto/in_toto_core
related_mappings:
- spdx_core:HashAlgorithm/sha256
rank: 1000
slot_uri: in_toto_linkml:sha256
domain_of:
- InTotoDigestSet
pattern: ^[a-f0-9]{64}$
sha224:
name: sha224
description: The SHA-224 digest of the artifact.
from_schema: https://w3id.org/lmodel/in-toto/in_toto_core
related_mappings:
- spdx_core:HashAlgorithm/sha224
rank: 1000
slot_uri: in_toto_linkml:sha224
domain_of:
- InTotoDigestSet
pattern: ^[a-f0-9]{56}$
sha384:
name: sha384
description: The SHA-384 digest of the artifact.
from_schema: https://w3id.org/lmodel/in-toto/in_toto_core
related_mappings:
- spdx_core:HashAlgorithm/sha384
rank: 1000
slot_uri: in_toto_linkml:sha384
domain_of:
- InTotoDigestSet
pattern: ^[a-f0-9]{96}$
sha512:
name: sha512
description: The SHA-512 digest of the artifact.
from_schema: https://w3id.org/lmodel/in-toto/in_toto_core
related_mappings:
- spdx_core:HashAlgorithm/sha512
rank: 1000
slot_uri: in_toto_linkml:sha512
domain_of:
- InTotoDigestSet
pattern: ^[a-f0-9]{128}$
sha512_224:
name: sha512_224
description: The SHA-512/224 digest of the artifact.
from_schema: https://w3id.org/lmodel/in-toto/in_toto_core
rank: 1000
slot_uri: in_toto_linkml:sha512_224
domain_of:
- InTotoDigestSet
pattern: ^[a-f0-9]{56}$
sha512_256:
name: sha512_256
description: The SHA-512/256 digest of the artifact.
from_schema: https://w3id.org/lmodel/in-toto/in_toto_core
rank: 1000
slot_uri: in_toto_linkml:sha512_256
domain_of:
- InTotoDigestSet
pattern: ^[a-f0-9]{64}$
sha3_224:
name: sha3_224
description: The SHA3-224 digest of the artifact.
from_schema: https://w3id.org/lmodel/in-toto/in_toto_core
related_mappings:
- spdx_core:HashAlgorithm/sha3_224
rank: 1000
slot_uri: in_toto_linkml:sha3_224
domain_of:
- InTotoDigestSet
pattern: ^[a-f0-9]{56}$
sha3_256:
name: sha3_256
description: The SHA3-256 digest of the artifact.
from_schema: https://w3id.org/lmodel/in-toto/in_toto_core
related_mappings:
- spdx_core:HashAlgorithm/sha3_256
rank: 1000
slot_uri: in_toto_linkml:sha3_256
domain_of:
- InTotoDigestSet
pattern: ^[a-f0-9]{64}$
sha3_384:
name: sha3_384
description: The SHA3-384 digest of the artifact.
from_schema: https://w3id.org/lmodel/in-toto/in_toto_core
related_mappings:
- spdx_core:HashAlgorithm/sha3_384
rank: 1000
slot_uri: in_toto_linkml:sha3_384
domain_of:
- InTotoDigestSet
pattern: ^[a-f0-9]{96}$
sha3_512:
name: sha3_512
description: The SHA3-512 digest of the artifact.
from_schema: https://w3id.org/lmodel/in-toto/in_toto_core
related_mappings:
- spdx_core:HashAlgorithm/sha3_512
rank: 1000
slot_uri: in_toto_linkml:sha3_512
domain_of:
- InTotoDigestSet
pattern: ^[a-f0-9]{128}$
shake128:
name: shake128
description: The SHAKE128 digest of the artifact, of at least 32 bytes.
from_schema: https://w3id.org/lmodel/in-toto/in_toto_core
rank: 1000
slot_uri: in_toto_linkml:shake128
domain_of:
- InTotoDigestSet
pattern: ^[a-f0-9]{64}([a-f0-9]{2})*$
shake256:
name: shake256
description: The SHAKE256 digest of the artifact, of at least 32 bytes.
from_schema: https://w3id.org/lmodel/in-toto/in_toto_core
rank: 1000
slot_uri: in_toto_linkml:shake256
domain_of:
- InTotoDigestSet
pattern: ^[a-f0-9]{64}([a-f0-9]{2})*$
blake2b:
name: blake2b
description: The BLAKE2b digest of the artifact, of 32 to 64 bytes.
from_schema: https://w3id.org/lmodel/in-toto/in_toto_core
rank: 1000
slot_uri: in_toto_linkml:blake2b
domain_of:
- InTotoDigestSet
pattern: ^[a-f0-9]{64}([a-f0-9]{2}){0,32}$
blake2s:
name: blake2s
description: The BLAKE2s digest of the artifact, at its full 32 bytes.
from_schema: https://w3id.org/lmodel/in-toto/in_toto_core
rank: 1000
slot_uri: in_toto_linkml:blake2s
domain_of:
- InTotoDigestSet
pattern: ^[a-f0-9]{64}$
ripemd160:
name: ripemd160
description: The RIPEMD-160 digest of the artifact.
from_schema: https://w3id.org/lmodel/in-toto/in_toto_core
rank: 1000
slot_uri: in_toto_linkml:ripemd160
domain_of:
- InTotoDigestSet
pattern: ^[a-f0-9]{40}$
sm3:
name: sm3
description: The SM3 digest of the artifact.
from_schema: https://w3id.org/lmodel/in-toto/in_toto_core
rank: 1000
slot_uri: in_toto_linkml:sm3
domain_of:
- InTotoDigestSet
pattern: ^[a-f0-9]{64}$
gost:
name: gost
description: The GOST R 34.11 digest of the artifact, of 256 or 512 bits.
from_schema: https://w3id.org/lmodel/in-toto/in_toto_core
rank: 1000
slot_uri: in_toto_linkml:gost
domain_of:
- InTotoDigestSet
pattern: ^[a-f0-9]{64}([a-f0-9]{64})?$
sha1:
name: sha1
description: The SHA-1 digest of the artifact.
comments:
- SHA-1 lacks collision resistance, so most consumers should not rely on it.
from_schema: https://w3id.org/lmodel/in-toto/in_toto_core
related_mappings:
- spdx_core:HashAlgorithm/sha1
rank: 1000
slot_uri: in_toto_linkml:sha1
domain_of:
- InTotoDigestSet
pattern: ^[a-f0-9]{40}$
md5:
name: md5
description: The MD5 digest of the artifact.
comments:
- MD5 lacks collision resistance, so most consumers should not accept it.
from_schema: https://w3id.org/lmodel/in-toto/in_toto_core
related_mappings:
- spdx_core:HashAlgorithm/md5
rank: 1000
slot_uri: in_toto_linkml:md5
domain_of:
- InTotoDigestSet
pattern: ^[a-f0-9]{32}$
dir_hash:
name: dir_hash
description: A digest over a directory's content by the dirhash Hash1 function,
in lowercase hexadecimal rather than base64.
from_schema: https://w3id.org/lmodel/in-toto/in_toto_core
aliases:
- dirHash
rank: 1000
slot_uri: in_toto_linkml:dir_hash
domain_of:
- InTotoDigestSet
pattern: ^[a-f0-9]{64}$
git_commit:
name: git_commit
description: The git commit id of a source revision.
from_schema: https://w3id.org/lmodel/in-toto/in_toto_core
aliases:
- gitCommit
rank: 1000
slot_uri: in_toto_linkml:git_commit
domain_of:
- InTotoDigestSet
pattern: ^[a-f0-9]{40}([a-f0-9]{24})?$
git_tree:
name: git_tree
description: The git tree id of a source revision's content, or of any file tree.
from_schema: https://w3id.org/lmodel/in-toto/in_toto_core
aliases:
- gitTree
rank: 1000
slot_uri: in_toto_linkml:git_tree
domain_of:
- InTotoDigestSet
pattern: ^[a-f0-9]{40}([a-f0-9]{24})?$
git_blob:
name: git_blob
description: The git blob id of a file's content.
from_schema: https://w3id.org/lmodel/in-toto/in_toto_core
aliases:
- gitBlob
rank: 1000
slot_uri: in_toto_linkml:git_blob
domain_of:
- InTotoDigestSet
pattern: ^[a-f0-9]{40}([a-f0-9]{24})?$
git_tag:
name: git_tag
description: The git object id of an annotated tag.
from_schema: https://w3id.org/lmodel/in-toto/in_toto_core
aliases:
- gitTag
rank: 1000
slot_uri: in_toto_linkml:git_tag
domain_of:
- InTotoDigestSet
pattern: ^[a-f0-9]{40}([a-f0-9]{24})?$
additional_digests:
name: additional_digests
description: The digests under algorithms this class does not name.
from_schema: https://w3id.org/lmodel/in-toto/in_toto_core
rank: 1000
slot_uri: in_toto_linkml:additional_digests
domain_of:
- InTotoDigestSet
range: InTotoAdditionalDigest
multivalued: true
inlined: true
inlined_as_list: true
minimum_cardinality: 1
any_of:
- slot_conditions:
sha256:
name: sha256
required: true
any_of:
- range: string
- slot_conditions:
sha224:
name: sha224
required: true
any_of:
- range: string
- slot_conditions:
sha384:
name: sha384
required: true
any_of:
- range: string
- slot_conditions:
sha512:
name: sha512
required: true
any_of:
- range: string
- slot_conditions:
sha512_224:
name: sha512_224
required: true
any_of:
- range: string
- slot_conditions:
sha512_256:
name: sha512_256
required: true
any_of:
- range: string
- slot_conditions:
sha3_224:
name: sha3_224
required: true
any_of:
- range: string
- slot_conditions:
sha3_256:
name: sha3_256
required: true
any_of:
- range: string
- slot_conditions:
sha3_384:
name: sha3_384
required: true
any_of:
- range: string
- slot_conditions:
sha3_512:
name: sha3_512
required: true
any_of:
- range: string
- slot_conditions:
shake128:
name: shake128
required: true
any_of:
- range: string
- slot_conditions:
shake256:
name: shake256
required: true
any_of:
- range: string
- slot_conditions:
blake2b:
name: blake2b
required: true
any_of:
- range: string
- slot_conditions:
blake2s:
name: blake2s
required: true
any_of:
- range: string
- slot_conditions:
ripemd160:
name: ripemd160
required: true
any_of:
- range: string
- slot_conditions:
sm3:
name: sm3
required: true
any_of:
- range: string
- slot_conditions:
gost:
name: gost
required: true
any_of:
- range: string
- slot_conditions:
sha1:
name: sha1
required: true
any_of:
- range: string
- slot_conditions:
md5:
name: md5
required: true
any_of:
- range: string
- slot_conditions:
dir_hash:
name: dir_hash
required: true
any_of:
- range: string
- slot_conditions:
git_commit:
name: git_commit
required: true
any_of:
- range: string
- slot_conditions:
git_tree:
name: git_tree
required: true
any_of:
- range: string
- slot_conditions:
git_blob:
name: git_blob
required: true
any_of:
- range: string
- slot_conditions:
git_tag:
name: git_tag
required: true
any_of:
- range: string
- slot_conditions:
additional_digests:
name: additional_digests
required: true
multivalued: true
Induced#
YAML
name: InTotoDigestSet
description: A set of one or more digests over one artifact, keyed by algorithm, from
which a consumer picks the algorithm it trusts.
notes:
- Each condition in any_of names its range through a nested any_of, because the JSON
Schema generator leaves a condition's own range out, and a null value would then
count as present.
comments:
- 'A field named after an algorithm that SPDX 3 also names relates to SPDX''s individual
for it. BLAKE2b is left unmapped: the framework allows any length from 32 to 64
bytes, where SPDX names three fixed lengths.'
- The named algorithms take lowercase hexadecimal, and additional_digests holds any
other algorithm, such as an SCS's own revision type.
- A consumer accepts only the algorithms it considers secure and ignores the rest,
and two sets match when any accepted algorithm matches.
- SHAKE and BLAKE2 digests can be of any length, and this schema asks for at least
32 bytes, since a shorter digest resists collisions too weakly to identify an artifact.
from_schema: https://w3id.org/lmodel/slsa
see_also:
- https://github.com/in-toto/attestation/blob/v1.2.0/spec/v1/digest_set.md
aliases:
- DigestSet
attributes:
sha256:
name: sha256
description: The SHA-256 digest of the artifact.
from_schema: https://w3id.org/lmodel/in-toto/in_toto_core
related_mappings:
- spdx_core:HashAlgorithm/sha256
rank: 1000
slot_uri: in_toto_linkml:sha256
owner: InTotoDigestSet
domain_of:
- InTotoDigestSet
range: string
pattern: ^[a-f0-9]{64}$
sha224:
name: sha224
description: The SHA-224 digest of the artifact.
from_schema: https://w3id.org/lmodel/in-toto/in_toto_core
related_mappings:
- spdx_core:HashAlgorithm/sha224
rank: 1000
slot_uri: in_toto_linkml:sha224
owner: InTotoDigestSet
domain_of:
- InTotoDigestSet
range: string
pattern: ^[a-f0-9]{56}$
sha384:
name: sha384
description: The SHA-384 digest of the artifact.
from_schema: https://w3id.org/lmodel/in-toto/in_toto_core
related_mappings:
- spdx_core:HashAlgorithm/sha384
rank: 1000
slot_uri: in_toto_linkml:sha384
owner: InTotoDigestSet
domain_of:
- InTotoDigestSet
range: string
pattern: ^[a-f0-9]{96}$
sha512:
name: sha512
description: The SHA-512 digest of the artifact.
from_schema: https://w3id.org/lmodel/in-toto/in_toto_core
related_mappings:
- spdx_core:HashAlgorithm/sha512
rank: 1000
slot_uri: in_toto_linkml:sha512
owner: InTotoDigestSet
domain_of:
- InTotoDigestSet
range: string
pattern: ^[a-f0-9]{128}$
sha512_224:
name: sha512_224
description: The SHA-512/224 digest of the artifact.
from_schema: https://w3id.org/lmodel/in-toto/in_toto_core
rank: 1000
slot_uri: in_toto_linkml:sha512_224
owner: InTotoDigestSet
domain_of:
- InTotoDigestSet
range: string
pattern: ^[a-f0-9]{56}$
sha512_256:
name: sha512_256
description: The SHA-512/256 digest of the artifact.
from_schema: https://w3id.org/lmodel/in-toto/in_toto_core
rank: 1000
slot_uri: in_toto_linkml:sha512_256
owner: InTotoDigestSet
domain_of:
- InTotoDigestSet
range: string
pattern: ^[a-f0-9]{64}$
sha3_224:
name: sha3_224
description: The SHA3-224 digest of the artifact.
from_schema: https://w3id.org/lmodel/in-toto/in_toto_core
related_mappings:
- spdx_core:HashAlgorithm/sha3_224
rank: 1000
slot_uri: in_toto_linkml:sha3_224
owner: InTotoDigestSet
domain_of:
- InTotoDigestSet
range: string
pattern: ^[a-f0-9]{56}$
sha3_256:
name: sha3_256
description: The SHA3-256 digest of the artifact.
from_schema: https://w3id.org/lmodel/in-toto/in_toto_core
related_mappings:
- spdx_core:HashAlgorithm/sha3_256
rank: 1000
slot_uri: in_toto_linkml:sha3_256
owner: InTotoDigestSet
domain_of:
- InTotoDigestSet
range: string
pattern: ^[a-f0-9]{64}$
sha3_384:
name: sha3_384
description: The SHA3-384 digest of the artifact.
from_schema: https://w3id.org/lmodel/in-toto/in_toto_core
related_mappings:
- spdx_core:HashAlgorithm/sha3_384
rank: 1000
slot_uri: in_toto_linkml:sha3_384
owner: InTotoDigestSet
domain_of:
- InTotoDigestSet
range: string
pattern: ^[a-f0-9]{96}$
sha3_512:
name: sha3_512
description: The SHA3-512 digest of the artifact.
from_schema: https://w3id.org/lmodel/in-toto/in_toto_core
related_mappings:
- spdx_core:HashAlgorithm/sha3_512
rank: 1000
slot_uri: in_toto_linkml:sha3_512
owner: InTotoDigestSet
domain_of:
- InTotoDigestSet
range: string
pattern: ^[a-f0-9]{128}$
shake128:
name: shake128
description: The SHAKE128 digest of the artifact, of at least 32 bytes.
from_schema: https://w3id.org/lmodel/in-toto/in_toto_core
rank: 1000
slot_uri: in_toto_linkml:shake128
owner: InTotoDigestSet
domain_of:
- InTotoDigestSet
range: string
pattern: ^[a-f0-9]{64}([a-f0-9]{2})*$
shake256:
name: shake256
description: The SHAKE256 digest of the artifact, of at least 32 bytes.
from_schema: https://w3id.org/lmodel/in-toto/in_toto_core
rank: 1000
slot_uri: in_toto_linkml:shake256
owner: InTotoDigestSet
domain_of:
- InTotoDigestSet
range: string
pattern: ^[a-f0-9]{64}([a-f0-9]{2})*$
blake2b:
name: blake2b
description: The BLAKE2b digest of the artifact, of 32 to 64 bytes.
from_schema: https://w3id.org/lmodel/in-toto/in_toto_core
rank: 1000
slot_uri: in_toto_linkml:blake2b
owner: InTotoDigestSet
domain_of:
- InTotoDigestSet
range: string
pattern: ^[a-f0-9]{64}([a-f0-9]{2}){0,32}$
blake2s:
name: blake2s
description: The BLAKE2s digest of the artifact, at its full 32 bytes.
from_schema: https://w3id.org/lmodel/in-toto/in_toto_core
rank: 1000
slot_uri: in_toto_linkml:blake2s
owner: InTotoDigestSet
domain_of:
- InTotoDigestSet
range: string
pattern: ^[a-f0-9]{64}$
ripemd160:
name: ripemd160
description: The RIPEMD-160 digest of the artifact.
from_schema: https://w3id.org/lmodel/in-toto/in_toto_core
rank: 1000
slot_uri: in_toto_linkml:ripemd160
owner: InTotoDigestSet
domain_of:
- InTotoDigestSet
range: string
pattern: ^[a-f0-9]{40}$
sm3:
name: sm3
description: The SM3 digest of the artifact.
from_schema: https://w3id.org/lmodel/in-toto/in_toto_core
rank: 1000
slot_uri: in_toto_linkml:sm3
owner: InTotoDigestSet
domain_of:
- InTotoDigestSet
range: string
pattern: ^[a-f0-9]{64}$
gost:
name: gost
description: The GOST R 34.11 digest of the artifact, of 256 or 512 bits.
from_schema: https://w3id.org/lmodel/in-toto/in_toto_core
rank: 1000
slot_uri: in_toto_linkml:gost
owner: InTotoDigestSet
domain_of:
- InTotoDigestSet
range: string
pattern: ^[a-f0-9]{64}([a-f0-9]{64})?$
sha1:
name: sha1
description: The SHA-1 digest of the artifact.
comments:
- SHA-1 lacks collision resistance, so most consumers should not rely on it.
from_schema: https://w3id.org/lmodel/in-toto/in_toto_core
related_mappings:
- spdx_core:HashAlgorithm/sha1
rank: 1000
slot_uri: in_toto_linkml:sha1
owner: InTotoDigestSet
domain_of:
- InTotoDigestSet
range: string
pattern: ^[a-f0-9]{40}$
md5:
name: md5
description: The MD5 digest of the artifact.
comments:
- MD5 lacks collision resistance, so most consumers should not accept it.
from_schema: https://w3id.org/lmodel/in-toto/in_toto_core
related_mappings:
- spdx_core:HashAlgorithm/md5
rank: 1000
slot_uri: in_toto_linkml:md5
owner: InTotoDigestSet
domain_of:
- InTotoDigestSet
range: string
pattern: ^[a-f0-9]{32}$
dir_hash:
name: dir_hash
description: A digest over a directory's content by the dirhash Hash1 function,
in lowercase hexadecimal rather than base64.
from_schema: https://w3id.org/lmodel/in-toto/in_toto_core
aliases:
- dirHash
rank: 1000
slot_uri: in_toto_linkml:dir_hash
owner: InTotoDigestSet
domain_of:
- InTotoDigestSet
range: string
pattern: ^[a-f0-9]{64}$
git_commit:
name: git_commit
description: The git commit id of a source revision.
from_schema: https://w3id.org/lmodel/in-toto/in_toto_core
aliases:
- gitCommit
rank: 1000
slot_uri: in_toto_linkml:git_commit
owner: InTotoDigestSet
domain_of:
- InTotoDigestSet
range: string
pattern: ^[a-f0-9]{40}([a-f0-9]{24})?$
git_tree:
name: git_tree
description: The git tree id of a source revision's content, or of any file tree.
from_schema: https://w3id.org/lmodel/in-toto/in_toto_core
aliases:
- gitTree
rank: 1000
slot_uri: in_toto_linkml:git_tree
owner: InTotoDigestSet
domain_of:
- InTotoDigestSet
range: string
pattern: ^[a-f0-9]{40}([a-f0-9]{24})?$
git_blob:
name: git_blob
description: The git blob id of a file's content.
from_schema: https://w3id.org/lmodel/in-toto/in_toto_core
aliases:
- gitBlob
rank: 1000
slot_uri: in_toto_linkml:git_blob
owner: InTotoDigestSet
domain_of:
- InTotoDigestSet
range: string
pattern: ^[a-f0-9]{40}([a-f0-9]{24})?$
git_tag:
name: git_tag
description: The git object id of an annotated tag.
from_schema: https://w3id.org/lmodel/in-toto/in_toto_core
aliases:
- gitTag
rank: 1000
slot_uri: in_toto_linkml:git_tag
owner: InTotoDigestSet
domain_of:
- InTotoDigestSet
range: string
pattern: ^[a-f0-9]{40}([a-f0-9]{24})?$
additional_digests:
name: additional_digests
description: The digests under algorithms this class does not name.
from_schema: https://w3id.org/lmodel/in-toto/in_toto_core
rank: 1000
slot_uri: in_toto_linkml:additional_digests
owner: InTotoDigestSet
domain_of:
- InTotoDigestSet
range: InTotoAdditionalDigest
multivalued: true
inlined: true
inlined_as_list: true
minimum_cardinality: 1
any_of:
- slot_conditions:
sha256:
name: sha256
required: true
any_of:
- range: string
- slot_conditions:
sha224:
name: sha224
required: true
any_of:
- range: string
- slot_conditions:
sha384:
name: sha384
required: true
any_of:
- range: string
- slot_conditions:
sha512:
name: sha512
required: true
any_of:
- range: string
- slot_conditions:
sha512_224:
name: sha512_224
required: true
any_of:
- range: string
- slot_conditions:
sha512_256:
name: sha512_256
required: true
any_of:
- range: string
- slot_conditions:
sha3_224:
name: sha3_224
required: true
any_of:
- range: string
- slot_conditions:
sha3_256:
name: sha3_256
required: true
any_of:
- range: string
- slot_conditions:
sha3_384:
name: sha3_384
required: true
any_of:
- range: string
- slot_conditions:
sha3_512:
name: sha3_512
required: true
any_of:
- range: string
- slot_conditions:
shake128:
name: shake128
required: true
any_of:
- range: string
- slot_conditions:
shake256:
name: shake256
required: true
any_of:
- range: string
- slot_conditions:
blake2b:
name: blake2b
required: true
any_of:
- range: string
- slot_conditions:
blake2s:
name: blake2s
required: true
any_of:
- range: string
- slot_conditions:
ripemd160:
name: ripemd160
required: true
any_of:
- range: string
- slot_conditions:
sm3:
name: sm3
required: true
any_of:
- range: string
- slot_conditions:
gost:
name: gost
required: true
any_of:
- range: string
- slot_conditions:
sha1:
name: sha1
required: true
any_of:
- range: string
- slot_conditions:
md5:
name: md5
required: true
any_of:
- range: string
- slot_conditions:
dir_hash:
name: dir_hash
required: true
any_of:
- range: string
- slot_conditions:
git_commit:
name: git_commit
required: true
any_of:
- range: string
- slot_conditions:
git_tree:
name: git_tree
required: true
any_of:
- range: string
- slot_conditions:
git_blob:
name: git_blob
required: true
any_of:
- range: string
- slot_conditions:
git_tag:
name: git_tag
required: true
any_of:
- range: string
- slot_conditions:
additional_digests:
name: additional_digests
required: true
multivalued: true