notationfactory

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NotationVeriferFactory

type NotationVeriferFactory 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) NotationVeriferFactory

Jump to

Keyboard shortcuts

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