attestation

package
v0.160.0 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BundleFromDSSEEnvelope added in v0.160.0

func BundleFromDSSEEnvelope(dsseEnvelope *dsse.Envelope) (*protobundle.Bundle, error)

func DSSEEnvelopeFromBundle added in v0.160.0

func DSSEEnvelopeFromBundle(bundle *protobundle.Bundle) *dsse.Envelope

DSSEEnvelopeFromBundle Extracts a DSSE envelope from a Sigstore bundle (Sigstore bundles have their own protobuf implementation for DSSE)

func DSSEEnvelopeFromRaw added in v0.160.0

func DSSEEnvelopeFromRaw(bundle, envelope []byte) (*dsse.Envelope, error)

func JSONEnvelopeWithDigest

func JSONEnvelopeWithDigest(envelope *dsse.Envelope) ([]byte, cr_v1.Hash, error)

JSONEnvelopeWithDigest returns the JSON content of the envelope and its digest.

Types

This section is empty.

Jump to

Keyboard shortcuts

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