package amdsevsnp
import "github.com/Microsoft/hcsshim/pkg/amdsevsnp"
Package amdsevsnp contains minimal functionality required to fetch attestation reports inside an enlightened guest.
Index ¶
Functions ¶
func FetchRawSNPReport ¶
FetchRawSNPReport returns attestation report bytes.
func IsSNP ¶
func IsSNP() bool
Types ¶
type Report ¶
type Report struct { Version uint32 GuestSVN uint32 Policy uint64 FamilyID string ImageID string VMPL uint32 SignatureAlgo uint32 PlatformVersion uint64 PlatformInfo uint64 AuthorKeyEn uint32 ReportData string Measurement string HostData []byte IDKeyDigest string AuthorKeyDigest string ReportID string ReportIDMA string ReportTCB uint64 ChipID string CommittedSVN string CommittedVersion string LaunchSVN string Signature string }
Report represents parsed attestation report.
func FetchParsedSNPReport ¶
FetchParsedSNPReport parses raw attestation response into proper structs.
Source Files ¶
- Version
- v0.12.9 (latest)
- Published
- Oct 30, 2024
- Platform
- linux/amd64
- Imports
- 8 packages
- Last checked
- 12 hours ago –
Tools for package owners.