tpmkey

package
v0.0.0-...-4c73ccb Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TPMKey

type TPMKey interface {
	Password() (password string)
	MakePersistent(persistentHandle tpmutil.Handle) (err error)
}

TPMKey TPM key instance.

func CreateFromBlobs

func CreateFromBlobs(device io.ReadWriter, primaryHandle tpmutil.Handle,
	password string, privateBlob, publicBlob []byte,
) (key TPMKey, err error)

CreateFromBlobs creates key from blobs.

func CreateFromPersistent

func CreateFromPersistent(device io.ReadWriter, persistentHandle tpmutil.Handle) (key TPMKey, err error)

CreateFromPersistent creates key from persistent storage.

Jump to

Keyboard shortcuts

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