crypto

package
v1.0.0-rc3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func VerifyBundle

func VerifyBundle(bundlePath string, digestRef string, trustedRootPath string) error

VerifyBundle verifies a Sigstore bundle against the expected digest. digestRef is the full digest string (e.g. "sha256:abc123..."). trustedRootPath is optional; if empty, uses Sigstore TUF.

func VerifyBundleBytes

func VerifyBundleBytes(bundleBytes []byte, digestRef string, trustedRootPath string) (err error)

VerifyBundleBytes verifies bundle bytes against the expected digest.

Types

This section is empty.

Jump to

Keyboard shortcuts

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