Help us shape the future of Go! Take the 2026 Go Developer Survey

notationfactory

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Package notationfactory builds one notation verifier per trust policy file.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NotationVerifierFactory

type NotationVerifierFactory interface {
	// RefreshVerifiers will remove all the existing verifiers and create new ones using the trust policies in notation directory
	RefreshVerifiers() error

	// GetVerifier returns a verifier based on the trust policy in request or the default trustpolicy in trust policy env
	GetVerifier(requestData *types.VerificationRequest) (*notation.Verifier, error)
}

func NewNotationVerifierFactory

func NewNotationVerifierFactory(logger *zap.SugaredLogger) NotationVerifierFactory

Jump to

Keyboard shortcuts

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