render

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FnOpt

type FnOpt func(opts *Options) error

func WithPublicKey added in v0.3.1

func WithPublicKey(ks ...key.PublicKeyProvider) FnOpt

func WithVerifySignatures

func WithVerifySignatures(sino bool) FnOpt

type Options

type Options struct {
	VerifySignatures bool
	PublicKeys       []key.PublicKeyProvider
}

type Renderer

type Renderer struct {
	Options Options
}

func New

func New(fn ...FnOpt) (*Renderer, error)

func (*Renderer) DisplayEnvelopeDetails

func (r *Renderer) DisplayEnvelopeDetails(w io.Writer, envelope attestation.Envelope) error

DisplayEnvelopeDetails prints the details of an attestation

Jump to

Keyboard shortcuts

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