Documentation ¶
Index ¶
Constants ¶
View Source
const (
// PluginName is the name of the TPM plugin.
PluginName = "tpm_plugin"
)
Variables ¶
This section is empty.
Functions ¶
func NewProvider ¶
func NewProvider(o Options) (certprovider.Provider, error)
NewProvider returns a new certificate provider plugin that is configured to use TPM based private keys.
Types ¶
type Options ¶
type Options struct { // CertFile is the file that holds the identity certificate. // Optional. If this is set, KeyFile must also be set. CertFile string // KeyFile is anything that implements a crypto.Signer Signer crypto.Signer }
Options configures a certificate provider plugin that watches a specified set of files that contain certificates and keys in PEM format.
Click to show internal directories.
Click to hide internal directories.