keyfetcher

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: Apache-2.0, BSD-3-Clause, MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewWebKeyFetcher

func NewWebKeyFetcher(httpClient *http.Client) verifiable.PublicKeyFetcher

NewWebKeyFetcher retrieves a public key by directly calling an HTTP URL.

Types

type VerificationMethod

type VerificationMethod struct {
	ID           string           `json:"id"`
	Type         string           `json:"type"`
	PublicKeyJWK *jose.JSONWebKey `json:"publicKeyJWK"`
}

type WebKeyFetcher

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

Jump to

Keyboard shortcuts

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