keyman

package
v0.0.0-...-ad3dc6e Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

keyman provides key management functionality

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeyFetchInMemory

type KeyFetchInMemory struct {
	// contains filtered or unexported fields
}

KeyFetchInMemory implements KeyFetcher for public keys stored in memory.

func NewKeyFetchInMemory

func NewKeyFetchInMemory(pubkeys map[string]httpsig.KeySpec) *KeyFetchInMemory

func (*KeyFetchInMemory) Fetch

func (kf *KeyFetchInMemory) Fetch(http.Header, httpsig.MetadataProvider) (httpsig.KeySpec, error)

func (*KeyFetchInMemory) FetchByKeyID

func (kf *KeyFetchInMemory) FetchByKeyID(keyID string) (httpsig.KeySpec, error)

Jump to

Keyboard shortcuts

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