simulator

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package simulator provides access to a local simulator for TPM testing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OpenSimulator

func OpenSimulator() (transport.TPMCloser, error)

OpenSimulator starts and opens a TPM simulator.

Types

type TPM

type TPM struct {
	// contains filtered or unexported fields
}

TPM represents a connection to a TPM simulator.

func (*TPM) Close

func (t *TPM) Close() error

Close implements the TPM interface.

func (*TPM) Send

func (t *TPM) Send(input []byte) ([]byte, error)

Send implements the TPM interface.

Jump to

Keyboard shortcuts

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