Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileKeyProvider ¶
type FileKeyProvider struct {
// contains filtered or unexported fields
}
func NewFileKeyProvider ¶
func NewFileKeyProvider(keyPath, passphrase string) (*FileKeyProvider, error)
func (*FileKeyProvider) Close ¶
func (p *FileKeyProvider) Close() error
func (*FileKeyProvider) GetAuthMethod ¶
func (p *FileKeyProvider) GetAuthMethod(ctx context.Context, user, host, port string) (ssh.AuthMethod, error)
func (*FileKeyProvider) PublicKey ¶
func (p *FileKeyProvider) PublicKey() ssh.PublicKey
func (*FileKeyProvider) Signer ¶
func (p *FileKeyProvider) Signer() ssh.Signer
type TPMKeyProvider ¶
type TPMKeyProvider struct {
// contains filtered or unexported fields
}
func NewTPMKeyProvider ¶
func NewTPMKeyProvider(devicePath, blobPath string, opts *tpm.KeyOptions) (*TPMKeyProvider, error)
func (*TPMKeyProvider) Close ¶
func (p *TPMKeyProvider) Close() error
func (*TPMKeyProvider) GetAuthMethod ¶
func (p *TPMKeyProvider) GetAuthMethod(ctx context.Context, user, host, port string) (ssh.AuthMethod, error)
func (*TPMKeyProvider) PublicKey ¶
func (p *TPMKeyProvider) PublicKey() ssh.PublicKey
func (*TPMKeyProvider) Signer ¶
func (p *TPMKeyProvider) Signer() ssh.Signer
Click to show internal directories.
Click to hide internal directories.