payload

package
v2.2.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDSSEAttestor

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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