signoption

package
v2.0.0-...-98cc131 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2023 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 Option

type Option struct {
	SignMode bool

	Issuer    string
	RootCerts *x509.CertPool
	// Verify the digests
	Verify bool

	// Recursively sign component versions
	Recursively bool
	// SignatureNames is a list of signatures to handle (only the first one
	// will be used for signing
	SignatureNames []string
	Update         bool
	Signer         signing.Signer
	Keys           signing.KeyRegistry

	Hash hashoption.Option

	Keyless bool
	// contains filtered or unexported fields
}

func From

func New

func New(sign bool) *Option

func (*Option) AddFlags

func (o *Option) AddFlags(fs *pflag.FlagSet)

func (*Option) ApplySigningOption

func (o *Option) ApplySigningOption(opts *ocmsign.Options)

func (*Option) Configure

func (o *Option) Configure(ctx clictx.Context) error

func (*Option) Usage

func (o *Option) Usage() string

Jump to

Keyboard shortcuts

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