pubkey

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2016 License: Apache-2.0 Imports: 12 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, override OverrideOption) 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

type OverrideOption

type OverrideOption int
const (
	OverrideAllow OverrideOption = iota
	OverrideDeny
)

Jump to

Keyboard shortcuts

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