Documentation ¶
Index ¶
- func FilterCertificateEKU(cert *capi.Certificate) bool
- type CAPIAgent
- func (*CAPIAgent) Add(key agent.AddedKey) error
- func (s *CAPIAgent) Close() (err error)
- func (s *CAPIAgent) Extension(extensionType string, contents []byte) ([]byte, error)
- func (s *CAPIAgent) List() (keys []*agent.Key, err error)
- func (*CAPIAgent) Lock(passphrase []byte) error
- func (*CAPIAgent) Remove(key ssh.PublicKey) error
- func (*CAPIAgent) RemoveAll() error
- func (s *CAPIAgent) Sign(key ssh.PublicKey, data []byte) (*ssh.Signature, error)
- func (s *CAPIAgent) SignWithFlags(key ssh.PublicKey, data []byte, flags agent.SignatureFlags) (*ssh.Signature, error)
- func (*CAPIAgent) Signers() ([]ssh.Signer, error)
- func (*CAPIAgent) Unlock(passphrase []byte) error
- type HVAgent
- func (s *HVAgent) Add(key agent.AddedKey) error
- func (s *HVAgent) List() ([]*agent.Key, error)
- func (s *HVAgent) Lock(passphrase []byte) error
- func (s *HVAgent) Remove(key ssh.PublicKey) error
- func (s *HVAgent) RemoveAll() error
- func (s *HVAgent) Sign(key ssh.PublicKey, data []byte) (*ssh.Signature, error)
- func (s *HVAgent) Signers() ([]ssh.Signer, error)
- func (s *HVAgent) Unlock(passphrase []byte) error
- type KeyRingAgent
- func (s *KeyRingAgent) Add(key agent.AddedKey) error
- func (s *KeyRingAgent) Extension(extensionType string, contents []byte) ([]byte, error)
- func (s *KeyRingAgent) List() ([]*agent.Key, error)
- func (s *KeyRingAgent) Lock(passphrase []byte) error
- func (s *KeyRingAgent) Remove(key ssh.PublicKey) error
- func (s *KeyRingAgent) RemoveAll() error
- func (s *KeyRingAgent) Sign(key ssh.PublicKey, data []byte) (*ssh.Signature, error)
- func (s *KeyRingAgent) SignWithFlags(key ssh.PublicKey, data []byte, flags agent.SignatureFlags) (*ssh.Signature, error)
- func (s *KeyRingAgent) Signers() ([]ssh.Signer, error)
- func (s *KeyRingAgent) Unlock(passphrase []byte) error
- type Server
- type WrappedAgent
- func (a *WrappedAgent) Add(key agent.AddedKey) error
- func (a *WrappedAgent) Extension(extensionType string, contents []byte) ([]byte, error)
- func (a *WrappedAgent) List() ([]*agent.Key, error)
- func (a *WrappedAgent) Lock(passphrase []byte) error
- func (a *WrappedAgent) Remove(key ssh.PublicKey) error
- func (a *WrappedAgent) RemoveAll() error
- func (a *WrappedAgent) Sign(key ssh.PublicKey, data []byte) (*ssh.Signature, error)
- func (a *WrappedAgent) SignWithFlags(key ssh.PublicKey, data []byte, flags agent.SignatureFlags) (*ssh.Signature, error)
- func (a *WrappedAgent) Signers() ([]ssh.Signer, error)
- func (a *WrappedAgent) Unlock(passphrase []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FilterCertificateEKU ¶ added in v1.0.3
func FilterCertificateEKU(cert *capi.Certificate) bool
Types ¶
type CAPIAgent ¶
type CAPIAgent struct {
// contains filtered or unexported fields
}
func (*CAPIAgent) SignWithFlags ¶
type HVAgent ¶ added in v1.1.0
type HVAgent struct { }
func NewHVAgent ¶ added in v1.1.0
func NewHVAgent() *HVAgent
type KeyRingAgent ¶ added in v1.1.6
type KeyRingAgent struct {
// contains filtered or unexported fields
}
func NewKeyRingAgent ¶ added in v1.1.6
func NewKeyRingAgent() *KeyRingAgent
func (*KeyRingAgent) Extension ¶ added in v1.1.6
func (s *KeyRingAgent) Extension(extensionType string, contents []byte) ([]byte, error)
func (*KeyRingAgent) Lock ¶ added in v1.1.6
func (s *KeyRingAgent) Lock(passphrase []byte) error
func (*KeyRingAgent) Remove ¶ added in v1.1.6
func (s *KeyRingAgent) Remove(key ssh.PublicKey) error
func (*KeyRingAgent) RemoveAll ¶ added in v1.1.6
func (s *KeyRingAgent) RemoveAll() error
func (*KeyRingAgent) SignWithFlags ¶ added in v1.1.6
func (s *KeyRingAgent) SignWithFlags(key ssh.PublicKey, data []byte, flags agent.SignatureFlags) (*ssh.Signature, error)
func (*KeyRingAgent) Signers ¶ added in v1.1.6
func (s *KeyRingAgent) Signers() ([]ssh.Signer, error)
func (*KeyRingAgent) Unlock ¶ added in v1.1.6
func (s *KeyRingAgent) Unlock(passphrase []byte) error
type Server ¶
func (*Server) SSHAgentHandler ¶
func (s *Server) SSHAgentHandler(conn io.ReadWriteCloser)
type WrappedAgent ¶ added in v1.1.6
type WrappedAgent struct {
// contains filtered or unexported fields
}
func NewWrappedAgent ¶ added in v1.1.6
func NewWrappedAgent(defaultAgent agent.Agent, others []agent.Agent) *WrappedAgent
func (*WrappedAgent) Extension ¶ added in v1.1.6
func (a *WrappedAgent) Extension(extensionType string, contents []byte) ([]byte, error)
func (*WrappedAgent) Lock ¶ added in v1.1.6
func (a *WrappedAgent) Lock(passphrase []byte) error
func (*WrappedAgent) Remove ¶ added in v1.1.6
func (a *WrappedAgent) Remove(key ssh.PublicKey) error
func (*WrappedAgent) RemoveAll ¶ added in v1.1.6
func (a *WrappedAgent) RemoveAll() error
func (*WrappedAgent) SignWithFlags ¶ added in v1.1.6
func (a *WrappedAgent) SignWithFlags(key ssh.PublicKey, data []byte, flags agent.SignatureFlags) (*ssh.Signature, error)
func (*WrappedAgent) Signers ¶ added in v1.1.6
func (a *WrappedAgent) Signers() ([]ssh.Signer, error)
func (*WrappedAgent) Unlock ¶ added in v1.1.6
func (a *WrappedAgent) Unlock(passphrase []byte) error
Click to show internal directories.
Click to hide internal directories.