efienv

package
v0.0.0-...-4cdd93b Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEnvironment

func NewEnvironment(config *Config, logAlgorithms tcglog.AlgorithmIdList) secboot_efi.HostEnvironment

func NewEnvironmentFromAzDiskProfile

func NewEnvironmentFromAzDiskProfile(profile *AzDisk, logAlgorithms tcglog.AlgorithmIdList) (secboot_efi.HostEnvironment, error)

Types

type AzDisk

type AzDisk struct {
	Type       string            `json:"type"`
	Properties *AzDiskProperties `json:"properties"`
}

XXX: Use armcompute.Disk when it has the right properties.

type AzDiskProperties

type AzDiskProperties struct {
	UefiSettings *AzUefiSettings `json:"uefiSettings"`
}

type AzUefiSettings

type AzUefiSettings struct {
	SignatureMode string            `json:"signatureMode"`
	Signatures    *AzUefiSignatures `json:"signatures"`
}

type AzUefiSignatureList

type AzUefiSignatureList struct {
	Type  string   `json:"type"`
	Value [][]byte `json:"value"`
}

type AzUefiSignatures

type AzUefiSignatures struct {
	PK  *AzUefiSignatureList   `json:"PK"`
	KEK []*AzUefiSignatureList `json:"KEK"`
	Db  []*AzUefiSignatureList `json:"db"`
	Dbx []*AzUefiSignatureList `json:"dbx"`
}

type Config

type Config struct {
	PK                    []byte `json:"PK"`
	KEK                   []byte `json:"KEK"`
	Db                    []byte `json:"db"`
	Dbx                   []byte `json:"dbx"`
	OmitsReadyToBootEvent bool   `json:"omitsReadyToBootEvent"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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