bundle

package
v0.29.7 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

common utilities for working with Sigstore bundles

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DetectType

func DetectType(b *bundle.Bundle) string

detects the attestation type from a bundle

func ExtractSubject

func ExtractSubject(b *bundle.Bundle) (name string, digest map[string]string)

extracts the first subject from a bundle

func LeafCertDER added in v0.29.7

func LeafCertDER(b *bundle.Bundle) []byte

LeafCertDER returns the signing certificate (DER) from a bundle's verification material, supporting both the single-certificate and certificate-chain forms. Returns nil when the bundle carries no certificate (e.g. public-key bundles).

Types

This section is empty.

Jump to

Keyboard shortcuts

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