snp

package
v2.3.0-pre Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2022 License: AGPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetIDKeyDigest

func GetIDKeyDigest(open vtpm.TPMOpenFunc) ([]byte, error)

GetIDKeyDigest reads the idkeydigest from the snp report saved in the TPM's non-volatile memory.

Types

type HCLAkValidator

type HCLAkValidator interface {
	// contains filtered or unexported methods
}

type Issuer

type Issuer struct {
	oid.AzureSNP
	*vtpm.Issuer
}

Issuer for Azure TPM attestation.

func NewIssuer

func NewIssuer() *Issuer

NewIssuer initializes a new Azure Issuer.

type Validator

type Validator struct {
	oid.AzureSNP
	*vtpm.Validator
}

Validator for Azure confidential VM attestation.

func NewValidator

func NewValidator(pcrs map[uint32][]byte, enforcedPCRs []uint32, idKeyDigest []byte, enforceIDKeyDigest bool, log vtpm.AttestationLogger) *Validator

NewValidator initializes a new Azure validator with the provided PCR values.

Jump to

Keyboard shortcuts

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