payload

package
v1.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2022 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDSSEAttestor added in v1.5.0

func NewDSSEAttestor(payloadType string,
	s signature.Signer,
	signAndPublicKeyOptions ...interface{}) cosign.DSSEAttestor

NewDSSEAttestor returns a `cosign.DSSEAttestor` which uses the given `signature.Signer` to sign and create a DSSE attestation of given payloads. Option types other than `signature.SignOption` and `signature.PublicKeyOption` cause a runtime panic.

func NewSigner

func NewSigner(s signature.Signer,
	signAndPublicKeyOptions ...interface{}) cosign.Signer

NewSigner returns a `cosign.Signer` which uses the given `signature.Signer` to sign requested payloads. Option types other than `signature.SignOption` and `signature.PublicKeyOption` cause a runtime panic.

Types

This section is empty.

Jump to

Keyboard shortcuts

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