Skip to content

Class: Hash

A representation of a cryptographic digest generated over a resource using a specified hash algorithm.

URI: oscal:Hash

 classDiagram
    class Hash
    click Hash href "../Hash/"
      Hash : algorithm

      Hash : value

Slots

Name Cardinality and Range Description Inheritance
value 1
String
The value associated with the containing object direct
algorithm 1
String or 
HashAlgorithmEnum
The digest method by which a hash is derived direct

Usages

used by used in type used
ResourceLink hashes range Hash

In Subsets

Identifier and Mapping Information

Schema Source

  • from schema: https://w3id.org/lmodel/oscal

Mappings

Mapping Type Mapped Value
self oscal:Hash
native oscal:Hash

LinkML Source

Direct

name: Hash
description: A representation of a cryptographic digest generated over a resource
  using a specified hash algorithm.
in_subset:
- oscal_metadata
from_schema: https://w3id.org/lmodel/oscal
slots:
- value
- algorithm
slot_usage:
  value:
    name: value
    required: true
  algorithm:
    name: algorithm
    required: true

Induced

name: Hash
description: A representation of a cryptographic digest generated over a resource
  using a specified hash algorithm.
in_subset:
- oscal_metadata
from_schema: https://w3id.org/lmodel/oscal
slot_usage:
  value:
    name: value
    required: true
  algorithm:
    name: algorithm
    required: true
attributes:
  value:
    name: value
    description: The value associated with the containing object.
    from_schema: https://w3id.org/lmodel/oscal
    rank: 1000
    alias: value
    owner: Hash
    domain_of:
    - Hash
    - Property
    - Base64Resource
    - Facet
    range: string
    required: true
  algorithm:
    name: algorithm
    description: The digest method by which a hash is derived. Recommended values
      are in HashAlgorithmEnum; other values are permitted (OSCAL allow-other="yes").
    from_schema: https://w3id.org/lmodel/oscal
    rank: 1000
    alias: algorithm
    owner: Hash
    domain_of:
    - Hash
    range: string
    required: true
    any_of:
    - range: HashAlgorithmEnum
    - range: string