verifier

package
v1.0.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2023 License: Apache-2.0 Imports: 25 Imported by: 16

Documentation

Overview

Package Verifier provides an implementation of notation.Verifier interface

Index

Constants

View Source
const (
	// HeaderVerificationPlugin specifies the name of the verification plugin
	// that should be used to verify the signature.
	HeaderVerificationPlugin = "io.cncf.notary.verificationPlugin"

	// HeaderVerificationPluginMinVersion specifies the minimum version of the
	// verification plugin that should be used to verify the signature.
	HeaderVerificationPluginMinVersion = "io.cncf.notary.verificationPluginMinVersion"
)

Variables

VerificationPluginHeaders specifies headers of a verification plugin

Functions

func New

func New(trustPolicy *trustpolicy.Document, trustStore truststore.X509TrustStore, pluginManager plugin.Manager) (notation.Verifier, error)

New creates a new verifier given trustPolicy, trustStore and pluginManager

func NewFromConfig

func NewFromConfig() (notation.Verifier, error)

NewFromConfig returns a verifier based on local file system

Types

This section is empty.

Directories

Path Synopsis
Package trustpolicy provides functionalities for trust policy document and trust policy statements.
Package trustpolicy provides functionalities for trust policy document and trust policy statements.
Package truststore reads certificates in a trust store
Package truststore reads certificates in a trust store

Jump to

Keyboard shortcuts

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