Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TPM ¶
type TPM struct { crypto.Signer Key *client.Key // load a key from handle TpmDevice io.ReadWriteCloser // TPM read closer TpmPath string // path to the ptm device /dev/tpm0 KeyHandle uint32 // path to the ptm device /dev/tpm0 ECCRawOutput bool // for ECC keys, output raw signatures. If false, signature is ans1 formatted PublicCertFile string // a provided public x509 certificate for the signer PCRs []int // contains filtered or unexported fields }
func NewTPMCrypto ¶
func (TPM) TLSCertificate ¶
func (t TPM) TLSCertificate() (tls.Certificate, error)
Click to show internal directories.
Click to hide internal directories.