agentkey

package
v0.0.0-...-080d1fb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 1, 2025 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Key

type Key struct {
	// contains filtered or unexported fields
}

func NewKey

func NewKey(key agent.AddedKey) (*Key, error)

func (*Key) AgentKey

func (k *Key) AgentKey() *agent.Key

func (*Key) Fingerprint

func (k *Key) Fingerprint() string

func (*Key) LastUsed

func (k *Key) LastUsed() time.Time

func (*Key) Sign

func (k *Key) Sign(data []byte, flags agent.SignatureFlags) (*ssh.Signature, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL