common_test

package
v0.0.0-...-db34ce0 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadEKCert

func LoadEKCert(rw io.ReadWriter) (*x509.Certificate, *bytes.Buffer, error)

LoadEKCert starts two TCP proxies necessary for forwarding tpm2-tools commands to the Microsoft TPM2 simulator using TPM2TOOLS_TCTI=mssim It then calls ./ci/tpm2_ek_cert_generator/generate_ek_cert.sh to generate and load a certificate into the simulator

Types

type TPMCmdChannel

type TPMCmdChannel struct {
	io.ReadWriteCloser
}

func (*TPMCmdChannel) MeasurementLog

func (cc *TPMCmdChannel) MeasurementLog() ([]byte, error)

Jump to

Keyboard shortcuts

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