tpmstate

package
v0.0.0-...-edbb0c7 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2021 License: BSD-3-Clause Imports: 6 Imported by: 0

README

tpmstate

package tpmstate encapsulates a TPM state as relevant to spam policies.

Types

type SpamContents

type SpamContents [64]byte

SpamContents represents the contents of a spam.

type TpmState

type TpmState struct { ... }

TpmState represents the spam policy-relevant current state in the TPM.

func CurrentTpmState

func CurrentTpmState(tpm io.ReadWriter) (*TpmState, error)

CurrentTpmState queries the TPM for its current spam-relevant state.


Readme created from Go doc with goreadme

Documentation

Overview

package tpmstate encapsulates a TPM state as relevant to spam policies.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SpamContents

type SpamContents [64]byte

SpamContents represents the contents of a spam.

type TpmState

type TpmState struct {
	Spams map[uint16]SpamContents
}

TpmState represents the spam policy-relevant current state in the TPM.

func CurrentTpmState

func CurrentTpmState(tpm io.ReadWriter) (*TpmState, error)

CurrentTpmState queries the TPM for its current spam-relevant state.

Jump to

Keyboard shortcuts

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