pubkey

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: May 9, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TrustStore

type TrustStore interface {
	Get(keyID string) *TrustStoreEntry
}

TrustStore is a generic interface to retrieve a public key

func NewTrustStore

func NewTrustStore(filename string) (store TrustStore, err error)

NewTrustStore creates new Key Store from URI

type TrustStoreEntry

type TrustStoreEntry struct {
	Pubkey    crypto.PublicKey
	Algorithm httpsig.Algorithm
}

TrustStoreEntry is a trust store entry

Jump to

Keyboard shortcuts

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