pubkey

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2016 License: Apache-2.0, MIT 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 one location at prefix

Jump to

Keyboard shortcuts

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