Documentation ¶
Overview ¶
Package sorted defines a type for print-friendly sorted measurements and allows sorting TPM and TDX measurements.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Measurement ¶
Measurement wraps a measurement custom index and value.
func SortMeasurements ¶ added in v2.8.0
func SortMeasurements(m measurements.M, measurementType MeasurementType) []Measurement
SortMeasurements returns the sorted measurements for either TPM or TDX measurements.
type MeasurementType ¶ added in v2.8.0
type MeasurementType uint32
MeasurementType are the supported attestation types we can sort.
const ( TPM MeasurementType = iota TDX )
Available measurement types.
Click to show internal directories.
Click to hide internal directories.