Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OpenTPM ¶
func OpenTPM() (io.ReadWriteCloser, error)
OpenTPM connects to the local TPM. Mutliple calls will always return the same connection.
Types ¶
type Intf ¶
type Intf interface { crypto.Signer ECDH(remote *ecdh.PublicKey) ([]byte, error) // perform ECDH operations ECDHPublic() (*ecdh.PublicKey, error) // return the local public key for ECDH operations Keychain() *cryptutil.Keychain // returns a keychain containing all the relevant keys IDCard() (*cryptutil.IDCard, error) // return a non-signed ID Card with the keys listed in }
Intf is the generic interface for TPM
Click to show internal directories.
Click to hide internal directories.