Documentation ¶
Index ¶
- Variables
- func ServeAgent(socketPath string, subAgents []SubAgent)
- type Agent
- func (a *Agent) Add(key agent.AddedKey) error
- func (a *Agent) AddEncryptionKey(contents []byte) ([]byte, error)
- func (a *Agent) Close()
- func (a *Agent) DecryptBytes(contents []byte) ([]byte, error)
- func (a *Agent) EncryptBytes(contents []byte, nonce *[24]byte, source, target *[32]byte) ([]byte, error)
- func (a *Agent) EncryptBytesForExtension(contents []byte) ([]byte, error)
- func (a *Agent) Extension(extensionType string, contents []byte) ([]byte, error)
- func (a *Agent) List() ([]*agent.Key, error)
- func (a *Agent) ListEncryptionKeys(_ []byte) ([]byte, error)
- func (a *Agent) Lock(passphrase []byte) error
- func (a *Agent) Remove(key ssh.PublicKey) error
- func (a *Agent) RemoveAll() error
- func (a *Agent) RemoveAllEncryptionKeys(_ []byte) ([]byte, error)
- func (a *Agent) RemoveEncryptionKey(contents []byte) ([]byte, error)
- func (a *Agent) Sign(key ssh.PublicKey, data []byte) (*ssh.Signature, error)
- func (a *Agent) SignWithFlags(pubKey ssh.PublicKey, data []byte, flags agent.SignatureFlags) (*ssh.Signature, error)
- func (a *Agent) Signers() ([]ssh.Signer, error)
- func (a *Agent) Unlock(passphrase []byte) error
- type ExtensionEncryptionRequest
- type Key
- type Message
- type SubAgent
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrOperationUnsupported = errors.New("operation unsupported")
Functions ¶
func ServeAgent ¶
Types ¶
type Agent ¶
type Agent struct {
// contains filtered or unexported fields
}
func (*Agent) EncryptBytes ¶
func (*Agent) EncryptBytesForExtension ¶
func (*Agent) RemoveAllEncryptionKeys ¶
func (*Agent) RemoveEncryptionKey ¶
func (*Agent) SignWithFlags ¶
Click to show internal directories.
Click to hide internal directories.