Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrMissingVerificationMaterial = errors.New("missing material")
Functions ¶
func VerifyBundle ¶
func VerifyBundle(ctx context.Context, bundleBytes []byte, tr *TrustedRoot) error
func VerifyTimestamps ¶ added in v0.170.0
func VerifyTimestamps(sb *bundle.Bundle, tr *TrustedRoot) error
Types ¶
type TrustedRoot ¶
type TrustedRoot struct { // map key identifiers to a chain of certificates Keys map[string][]*x509.Certificate TimestampAuthorities map[string][]*x509.Certificate }
Click to show internal directories.
Click to hide internal directories.