sevsnp

package
v2.0.0-...-29e99d1 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const SEVSNPTokenMediaType = "application/amd-sev-snp-report"

Variables

View Source
var Cmd = &cobra.Command{
	Use:   "sevsnp",
	Short: "SEVSNP token manipulation",
	Run: func(cmd *cobra.Command, args []string) {
		if len(args) == 0 {
			cmd.Help()
			os.Exit(0)
		}
	},
	ValidArgs: cmdValidArgs,
}

Functions

func NewCreateCmd

func NewCreateCmd(fs afero.Fs) *cobra.Command

func NewRelyingPartyCmd

func NewRelyingPartyCmd(fs afero.Fs, veraisonClient common.IVeraisonClient) *cobra.Command

Types

type Attributes

type Attributes struct {
	Version           string
	Policy            string
	Family_id         string
	Image_id          string
	Signature_algo    string
	Platform_version  string
	Platform_info     string
	Flags             string
	Measurement       string
	Host_data         string
	Id_key_digest     string
	Author_key_digest string
	Reported_tcb      string
	Chip_id           string
}

type Evidence

type Evidence struct {
	Scheme  string     `json:"scheme"`
	Type    string     `json:"type"`
	SubType string     `json:"sub_type"`
	Attr    Attributes `json:"attributes"`
}

Jump to

Keyboard shortcuts

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