manufacturer

package
v0.45.0 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetEncodings

func GetEncodings(id ID) (ascii, hexa string)

GetEncodings returns the ASCII and hexadecimal representations of the manufacturer ID.

func GetNameByASCII

func GetNameByASCII(ascii string) string

GetNameByASCII returns the manufacturer name based on its ASCII identifier.

Types

type ID

type ID uint32

ID models a TPM Manufacturer (or Vendor) ID.

func (ID) MarshalJSON

func (id ID) MarshalJSON() ([]byte, error)

MarshalJSON marshals the (numeric) TPM Manufacturer ID to a JSON string representation, including quotes.

Jump to

Keyboard shortcuts

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