azuredriver

package
v0.9.9 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2026 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeAzureReport

func DecodeAzureReport(data []byte) ([]byte, []byte, error)

func FetchAzureTdxQuote

func FetchAzureTdxQuote(jsonRequest string) ([]byte, error)

func GetAzureReport

func GetAzureReport() ([]byte, error)

func GetAzureUserData

func GetAzureUserData() ([]byte, error)

func GetCcEvidence added in v0.9.8

func GetCcEvidence(nonce []byte) (*ar.Evidence, error)

func GetTdxQuote

func GetTdxQuote(report []byte) ([]byte, error)

func GetTpmDevicePath

func GetTpmDevicePath() (string, error)

func GetVtpmAkCert

func GetVtpmAkCert() ([]byte, error)

func GetVtpmQuote

func GetVtpmQuote(pcrs []int, nonce []byte) ([]byte, []byte, error)

func OpenTpm

func OpenTpm() (*os.File, error)

func UpdateAzureUserData

func UpdateAzureUserData(nonce []byte) error

Types

type Azure

type Azure struct {
	*drivers.DriverConfig
	// contains filtered or unexported fields
}

func (*Azure) GetCcCollateral added in v0.9.8

func (azure *Azure) GetCcCollateral() (*ar.Collateral, error)

func (*Azure) GetCollateral added in v0.9.8

func (azure *Azure) GetCollateral() ([]ar.Collateral, error)

func (*Azure) GetEvidence added in v0.9.8

func (azure *Azure) GetEvidence(nonce []byte) ([]ar.Evidence, error)

func (*Azure) GetSnpCollateral added in v0.9.8

func (azure *Azure) GetSnpCollateral() (*ar.Collateral, error)

func (*Azure) GetTdxCollateral added in v0.9.8

func (azure *Azure) GetTdxCollateral() (*ar.Collateral, error)

func (*Azure) GetVtpmCollateral added in v0.9.8

func (azure *Azure) GetVtpmCollateral() (*ar.Collateral, error)

func (*Azure) GetVtpmEvidence added in v0.9.8

func (azure *Azure) GetVtpmEvidence(nonce []byte) (*ar.Evidence, error)

func (*Azure) GetVtpmPcrs added in v0.9.8

func (azure *Azure) GetVtpmPcrs() ([]ar.Artifact, error)

func (*Azure) Init

func (azure *Azure) Init(c *drivers.DriverConfig) error

func (*Azure) Name

func (azure *Azure) Name() string

func (*Azure) UpdateCerts

func (azure *Azure) UpdateCerts() error

Jump to

Keyboard shortcuts

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