Documentation ¶
Index ¶
- Variables
- func LoadKeys(keyDir string) (map[string]*key.Key, error)
- type Agent
- func (a *Agent) Add(key agent.AddedKey) error
- func (a *Agent) AddKey(k *key.Key) error
- func (a *Agent) AddTPMKey(contents []byte) ([]byte, error)
- func (a *Agent) Close() error
- func (a *Agent) Extension(extensionType string, contents []byte) ([]byte, error)
- func (a *Agent) List() ([]*agent.Key, error)
- func (a *Agent) LoadKeys(keyDir string) error
- func (a *Agent) Lock(passphrase []byte) error
- func (a *Agent) Remove(key ssh.PublicKey) error
- func (a *Agent) RemoveAll() error
- func (a *Agent) Sign(key ssh.PublicKey, data []byte) (*ssh.Signature, error)
- func (a *Agent) SignWithFlags(key ssh.PublicKey, data []byte, flags agent.SignatureFlags) (*ssh.Signature, error)
- func (a *Agent) Signers() ([]ssh.Signer, error)
- func (a *Agent) Stop()
- func (a *Agent) Unlock(passphrase []byte) error
- func (a *Agent) Wait()
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrOperationUnsupported = errors.New("operation unsupported")
View Source
var (
SSH_TPM_AGENT_ADD = "tpm-add-key"
)
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.