ertvalidator

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2022 License: MPL-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ERTIssuer

type ERTIssuer struct{}

ERTIssuer is a Quote issuer based on EdgelessRT.

func NewERTIssuer

func NewERTIssuer() *ERTIssuer

NewERTIssuer returns a new ERTIssuer object.

func (*ERTIssuer) Issue

func (m *ERTIssuer) Issue(cert []byte) ([]byte, error)

Issue implements the Issuer interface.

type ERTValidator

type ERTValidator struct{}

ERTValidator is a Quote validatior based on EdgelessRT.

func NewERTValidator

func NewERTValidator() *ERTValidator

NewERTValidator returns a new ERTValidator object.

func (*ERTValidator) Validate

func (m *ERTValidator) Validate(givenQuote []byte, cert []byte, pp quote.PackageProperties, ip quote.InfrastructureProperties) error

Validate implements the Validator interface for ERTValidator.

Jump to

Keyboard shortcuts

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