pubkey

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2016 License: Apache-2.0 Imports: 16 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
	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