verifier

package
v0.169.0 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2025 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrMissingVerificationMaterial = errors.New("missing material")

Functions

func VerifyBundle

func VerifyBundle(ctx context.Context, bundleBytes []byte, tr *TrustedRoot) error

Types

type TrustedRoot

type TrustedRoot struct {
	// map key identifiers to a chain of certificates
	Keys map[string][]*x509.Certificate
}

Jump to

Keyboard shortcuts

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