tpm

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2022 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AttestationChannel added in v0.5.0

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

func (*AttestationChannel) Read added in v0.5.0

func (att *AttestationChannel) Read(p []byte) (int, error)

func (*AttestationChannel) Write added in v0.5.0

func (att *AttestationChannel) Write(p []byte) (int, error)

type AuthClient added in v0.5.0

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

func (*AuthClient) EmulateTPM added in v0.5.0

func (auth *AuthClient) EmulateTPM(seed int64)

func (*AuthClient) GetAuthToken added in v0.5.0

func (auth *AuthClient) GetAuthToken() (string, string, error)

func (*AuthClient) Init added in v0.5.0

func (auth *AuthClient) Init(conn *websocket.Conn) error

type AuthServer

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

func New

func New(clients clients.ClientInterface) *AuthServer

func (*AuthServer) Authenticate

func (a *AuthServer) Authenticate(conn *websocket.Conn, req *http.Request, registerNamespace string) (*elm.MachineInventory, bool, error)

Jump to

Keyboard shortcuts

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