quote

package
v0.2202.11 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2023 License: Apache-2.0 Imports: 6 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Policy

type Policy struct {
	IAS *ias.QuotePolicy `json:"ias,omitempty"`
	PCS *pcs.QuotePolicy `json:"pcs,omitempty"`
}

Policy is the quote validity policy.

type Quote

type Quote struct {
	IAS *ias.AVRBundle   `json:"ias,omitempty"`
	PCS *pcs.QuoteBundle `json:"pcs,omitempty"`
}

Quote is an unverified SGX remote attestation quote, depending on the attestation scheme.

func (*Quote) Verify

func (q *Quote) Verify(policy *Policy, ts time.Time) (*sgx.VerifiedQuote, error)

Verify verifies the SGX remote attestation quote.

Jump to

Keyboard shortcuts

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