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.
Click to show internal directories.
Click to hide internal directories.