Module identifiers

Source
Expand description

Identifier types for each layer of the VOA filesystem hierarchy.

VOA signature verifiers are located in a directory structure described by the VOA file hierarchy. The hierarchy consists of distinct subdirectory layers, each represented by a specific identifier type.

This module provides types for each of the four VOA identifier layers: Os, Purpose, Context, Technology.

Modulesยง

base ๐Ÿ”’
Base types used in other identifiers.
context ๐Ÿ”’
os ๐Ÿ”’
purpose ๐Ÿ”’
technology ๐Ÿ”’

Structsยง

CustomContext
A CustomContext encodes a value for a Context that is not Context::Default.
CustomRole
A custom value for a Role
CustomTechnology
A CustomTechnology defines a technology name that is not covered by the variants defined in Technology.
IdentifierString
A string that represents a valid VOA identifier.
Os
The Os identifier is used to uniquely identify an Operating System (OS), it relies on data provided by os-release.
Purpose
Combines a Role and a Mode to describe the context in which signature verifiers in a directory structure are used.

Enumsยง

Context
A context within a Purpose for more fine-grained verifier assignments.
Mode
Component of a Purpose to distinguish between direct artifact verifiers and trust anchors.
Role
Acts as a trust domain that is associated with a set of verifiers.
Technology
The name of a technology backend.