policy

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func VerifyPolicySignature

func VerifyPolicySignature(ctx context.Context, envelope dsse.Envelope, vo *VerifyPolicySignatureOptions) error

Types

type Option

type Option func(*VerifyPolicySignatureOptions)

func VerifyWithPolicyCAIntermediates

func VerifyWithPolicyCAIntermediates(intermediates []*x509.Certificate) Option

func VerifyWithPolicyCARoots

func VerifyWithPolicyCARoots(roots []*x509.Certificate) Option

func VerifyWithPolicyCertConstraints

func VerifyWithPolicyCertConstraints(commonName string, dnsNames []string, emails []string, organizations []string, uris []string) Option

func VerifyWithPolicyFulcioCertExtensions

func VerifyWithPolicyFulcioCertExtensions(extensions certificate.Extensions) Option

func VerifyWithPolicyTimestampAuthorities

func VerifyWithPolicyTimestampAuthorities(authorities []timestamp.TimestampVerifier) Option

func VerifyWithPolicyVerifiers

func VerifyWithPolicyVerifiers(policyVerifiers []cryptoutil.Verifier) Option

type VerifyPolicySignatureOptions

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

func NewVerifyPolicySignatureOptions

func NewVerifyPolicySignatureOptions(opts ...Option) *VerifyPolicySignatureOptions

Jump to

Keyboard shortcuts

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