Documentation ¶
Index ¶
- Variables
- type Actions
- type SSHAgent
- func (a *SSHAgent) Add(_ agent.AddedKey) error
- func (a *SSHAgent) Close() error
- func (a *SSHAgent) Extension(_ string, _ []byte) ([]byte, error)
- func (a *SSHAgent) List() ([]*agent.Key, error)
- func (a *SSHAgent) ListenAndServe(ctx context.Context, socketPath string) error
- func (a *SSHAgent) Lock(_ []byte) error
- func (a *SSHAgent) Remove(_ ssh.PublicKey) error
- func (a *SSHAgent) RemoveAll() error
- func (a *SSHAgent) Shutdown() error
- func (a *SSHAgent) Sign(reqKey ssh.PublicKey, data []byte) (*ssh.Signature, error)
- func (a *SSHAgent) SignWithFlags(reqKey ssh.PublicKey, data []byte, flags agent.SignatureFlags) (*ssh.Signature, error)
- func (a *SSHAgent) Signers() ([]ssh.Signer, error)
- func (a *SSHAgent) Unlock(_ []byte) error
- type Temporary
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrOperationUnsupported = errors.New("operation unsupported") ErrNoPrivateKey = errors.New("no private key") )
View Source
var (
ErrPINNotFound = errors.New("pin not found")
)
Functions ¶
This section is empty.
Types ¶
type SSHAgent ¶
type SSHAgent struct {
// contains filtered or unexported fields
}
func (*SSHAgent) ListenAndServe ¶
func (*SSHAgent) SignWithFlags ¶
Click to show internal directories.
Click to hide internal directories.