tpmdetection

package
v2.7.0 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2023 License: BSD-3-Clause Imports: 5 Imported by: 17

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Type

type Type uint8

Type is the TPM type.

const (
	TypeNoTPM Type = iota
	TypeTPM12
	TypeTPM20
)

The list of available TPM types.

func ActiveTypes

func ActiveTypes() []Type

ActiveTypes returns all values that correspond to a possible TPM device of Type enumeration

func AllTypes

func AllTypes() []Type

AllTypes returns all values of Type enumeration

func FromString

func FromString(s string) (Type, error)

FromString converts tpm Type from a string

func Local

func Local() (Type, error)

Local provides an easy way of TPM detection based on files heuristics

func (Type) String

func (t Type) String() string

Jump to

Keyboard shortcuts

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