Documentation ¶
Index ¶
- Variables
- func OthernameBundle(t *testing.T) *bundle.Bundle
- func PublicGoodTrustedMaterialRoot(t *testing.T) *root.TrustedRoot
- func ScaffoldingTrustedMaterialRoot(t *testing.T) *root.TrustedRoot
- func SigstoreBundle(t *testing.T) *bundle.Bundle
- func SigstoreBundle2Sig(t *testing.T) *bundle.Bundle
- func SigstoreJS200ProvenanceBundle(t *testing.T) *bundle.Bundle
- func TestBundle(t *testing.T, raw []byte) *bundle.Bundle
- func Unmarshal[T any](t *testing.T, data []byte) T
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
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 ¶
SigstoreBundle returns a test *sigstore.Bundle.
func SigstoreBundle2Sig ¶ added in v0.5.0
SigstoreBundle2Sig returns a test *sigstore.Bundle with two signatures.
func SigstoreJS200ProvenanceBundle ¶
SigstoreJS200ProvenanceBundle returns a test *sigstore.Bundle that contains a complete sigstore-js build provenance.
func TestBundle ¶
TestBundle creates *bundle.Bundle from a raw byte stream containing a JSON encoded protobuf bundle.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.