backend

package
v0.0.0-...-b7975df Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeTPM

type FakeTPM struct {
	io.ReadWriteCloser
}

FakeTPM is a wrapper for fake TPM devices

func Fake

func Fake(rw io.ReadWriteCloser) *FakeTPM

Fake returns a fake TPM-satisfying interface from a ReadWriteCloser

func Socket

func Socket(f string) (*FakeTPM, error)

Socket returns a fake TPM interface from a unix socket

func (*FakeTPM) MeasurementLog

func (*FakeTPM) MeasurementLog() ([]byte, error)

MeasurementLog returns static log data to comply to TPM interface

Jump to

Keyboard shortcuts

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