data

package
v0.6.2 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2024 License: Apache-2.0 Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

View Source
var OthernameBundleRaw []byte
View Source
var SigstoreBundle2SigRaw []byte
View Source
var SigstoreBundleRaw []byte
View Source
var SigstoreJS200ProvenanceBundleRaw []byte

Functions

func OthernameBundle added in v0.5.0

func OthernameBundle(t *testing.T) *bundle.Bundle

OthernameBundle returns a test *sigstore.Bundle that contains verification content for an artifact signed with an Othername identity.

func PublicGoodTrustedMaterialRoot

func PublicGoodTrustedMaterialRoot(t *testing.T) *root.TrustedRoot

PublicGoodTrustedMaterialRoot returns a *root.TrustedRoot for PGI.

func ScaffoldingTrustedMaterialRoot added in v0.5.0

func ScaffoldingTrustedMaterialRoot(t *testing.T) *root.TrustedRoot

ScaffoldingTrustedMaterialRoot returns a *root.TrustedRoot for a private sigstore deployment.

func SigstoreBundle

func SigstoreBundle(t *testing.T) *bundle.Bundle

SigstoreBundle returns a test *sigstore.Bundle.

func SigstoreBundle2Sig added in v0.5.0

func SigstoreBundle2Sig(t *testing.T) *bundle.Bundle

SigstoreBundle2Sig returns a test *sigstore.Bundle with two signatures.

func SigstoreJS200ProvenanceBundle

func SigstoreJS200ProvenanceBundle(t *testing.T) *bundle.Bundle

SigstoreJS200ProvenanceBundle returns a test *sigstore.Bundle that contains a complete sigstore-js build provenance.

func TestBundle

func TestBundle(t *testing.T, raw []byte) *bundle.Bundle

TestBundle creates *bundle.Bundle from a raw byte stream containing a JSON encoded protobuf bundle.

func Unmarshal

func Unmarshal[T any](t *testing.T, data []byte) T

Unmarshal returns the Go value for the given bytes

Types

This section is empty.

Jump to

Keyboard shortcuts

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