Documentation ¶
Index ¶
- Variables
- func OthernameBundle(t *testing.T) *bundle.ProtobufBundle
- func PublicGoodTrustedMaterialRoot(t *testing.T) *root.TrustedRoot
- func ScaffoldingTrustedMaterialRoot(t *testing.T) *root.TrustedRoot
- func SigstoreBundle(t *testing.T) *bundle.ProtobufBundle
- func SigstoreBundle2Sig(t *testing.T) *bundle.ProtobufBundle
- func SigstoreJS200ProvenanceBundle(t *testing.T) *bundle.ProtobufBundle
- func TestBundle(t *testing.T, raw []byte) *bundle.ProtobufBundle
- 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
func OthernameBundle(t *testing.T) *bundle.ProtobufBundle
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.ProtobufBundle
SigstoreBundle returns a test *sigstore.Bundle.
func SigstoreBundle2Sig ¶ added in v0.5.0
func SigstoreBundle2Sig(t *testing.T) *bundle.ProtobufBundle
SigstoreBundle2Sig returns a test *sigstore.Bundle with two signatures.
func SigstoreJS200ProvenanceBundle ¶
func SigstoreJS200ProvenanceBundle(t *testing.T) *bundle.ProtobufBundle
SigstoreJS200ProvenanceBundle returns a test *sigstore.Bundle that contains a complete sigstore-js build provenance.
func TestBundle ¶
func TestBundle(t *testing.T, raw []byte) *bundle.ProtobufBundle
TestBundle creates *bundle.ProtobufBundle 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.