preshared

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2019 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Issuer        string `yaml:"issuer"`
	KeyID         string `yaml:"key_id"`
	PublicKeyPath string `yaml:"public_key_path"`
}

type Preshared

type Preshared struct {
	*key.PublicKey
	Issuer string
}

func (*Preshared) GetPublicKey

func (preshared *Preshared) GetPublicKey(issuer string, keyID string) (*key.PublicKey, error)

func (*Preshared) Stop

func (preshared *Preshared) Stop() <-chan struct{}

Jump to

Keyboard shortcuts

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