ego

package
v0.0.0-...-042d267 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitEgo

func InitEgo(chainAddr string) error

Types

type EgoFs

type EgoFs struct {
	afero.OsFs
	// contains filtered or unexported fields
}

func (*EgoFs) Decrypt

func (e *EgoFs) Decrypt(val []byte) ([]byte, error)

Decrypt implements libos.SecretFunction.

func (*EgoFs) Encrypt

func (e *EgoFs) Encrypt(val []byte) ([]byte, error)

Encrypt implements libos.SecretFunction.

func (*EgoFs) IssueReport

func (i *EgoFs) IssueReport(data []byte) ([]byte, error)

func (*EgoFs) ReadFile

func (e *EgoFs) ReadFile(filename string) ([]byte, error)

Read implements util.Fs.

func (*EgoFs) SetPassword

func (f *EgoFs) SetPassword(password string)

func (*EgoFs) VerifyReport

func (e *EgoFs) VerifyReport(reportBytes, certBytes, signer []byte) (*attestation.Report, error)

func (*EgoFs) WriteFile

func (e *EgoFs) WriteFile(filename string, data []byte, perm os.FileMode) error

Write implements util.Fs.

Jump to

Keyboard shortcuts

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