pcrs

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 19, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadEIF

func DownloadEIF(bucket string, runtimeVersion string) (string, error)

func SliceToMapStringSlice

func SliceToMapStringSlice(slice []string) map[string][]string

func VerifyPCRs

func VerifyPCRs(pcrs map[string][]string, doc *attest.AttestationDoc) error

Types

type EIFInfo

type EIFInfo struct {
	Measurements Measurements `json:"measurements"`
}

func GetEIFInfo

func GetEIFInfo(basePath string) (*EIFInfo, error)

type InvalidPCRValueError added in v0.4.0

type InvalidPCRValueError struct {
	Key string
}

func (InvalidPCRValueError) Error added in v0.4.0

func (i InvalidPCRValueError) Error() string

type Measurements

type Measurements map[string]string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL