tasks

package
v0.0.0-...-d4ced42 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sign

type Sign struct {
	VaultClient    *api.Client
	TransitKeyName string
	Subject        string
	Audiences      []string
	Expiration     time.Duration
	ContentReader  shtasks.ReaderProvider
	OutputWriter   shtasks.WriterProvider
}

Sign implements attestation signing task.

func (*Sign) Run

func (t *Sign) Run(ctx context.Context) error

Run the task.

type Verify

type Verify struct {
	JWKS          *jose.JSONWebKeySet
	ContentReader shtasks.ReaderProvider
	OutputWriter  shtasks.WriterProvider
}

Verify implements assertion verification task.

func (*Verify) Run

func (t *Verify) Run(ctx context.Context) error

Run the task.

Jump to

Keyboard shortcuts

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