vsa

package
v0.0.0-...-47f1bfd Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Generate

func Generate(subject name.Digest, inputAttestations []oci.Signature, result string, verificationLvls []string, verifierID string) (*in_toto.Statement, error)

Types

type VerificationSummary

type VerificationSummary struct {
	Verifier           *vsa1.VerificationSummary_Verifier           `json:"verifier"`
	TimeVerified       string                                       `json:"timeVerified"`
	InputAttestations  []*vsa1.VerificationSummary_InputAttestation `json:"inputAttestations"`
	VerificationResult string                                       `json:"verificationResult"`
	VerifiedLevels     []string                                     `json:"verifiedLevels"`
	SlsaVersion        string                                       `json:"slsaVersion"`
}

FIXME: Local copy since the vsa1 and specs https://slsa.dev/spec/v1.0/verification_summary differ in timestamp representation

Jump to

Keyboard shortcuts

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