pubkey

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2016 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AcceptOption

type AcceptOption int
const (
	AcceptForce AcceptOption = iota
	AcceptAsk
)

type Manager

type Manager struct {
	AuthPerHost          map[string]config.Headerer
	InsecureAllowHTTP    bool
	InsecureSkipTLSCheck bool
	TrustKeysFromHTTPS   bool
	Ks                   *keystore.Keystore
	Debug                bool
}

func (*Manager) AddKeys

func (m *Manager) AddKeys(pkls []string, prefix string, accept AcceptOption) error

AddKeys adds the keys listed in pkls at prefix

func (*Manager) GetPubKeyLocations

func (m *Manager) GetPubKeyLocations(prefix string) ([]string, error)

GetPubKeyLocations discovers locations at prefix

Jump to

Keyboard shortcuts

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