hkp

package
v0.0.0-...-8887655 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2020 License: ISC Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PerServerTimeLimit  = 5 * time.Second
	PerServerRetryCount = 3
)
View Source
var ErrKeyNotFound = errors.New("not found on hkp servers")

Functions

This section is empty.

Types

type Client

type Client interface {
	GetKeyRing(ctx context.Context, keyID []byte) ([]byte, error)
}

func NewClient

func NewClient() Client

type HKP

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

func (HKP) GetKeyRing

func (hkp HKP) GetKeyRing(ctx context.Context, keyID []byte) ([]byte, error)

Jump to

Keyboard shortcuts

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