Versions in this module Expand all Collapse all v0 v0.1.6 Oct 27, 2026 Changes in this version + const EntryPoint + var ErrInvalid = errors.New("integrity: 无效的完整性元数据") + var ErrProtected = errors.New("integrity: 已有完整性保护") + type File struct + ID string + Location string + type Manifest struct + CreationDate string + CreatorName string + Files []File + ID string + SignedValueLoc string + Version string + XMLName xml.Name + type Options struct + Decrypt *crypt.DecryptOptions + Limits crypt.Limits + Verification sign.VerificationOptions + type ProtectOptions struct + CreatorName string + Date time.Time + ID string + Sign func(context.Context, []byte) ([]byte, error) + type Report struct + Checks []sign.VerificationCheck + Diagnostics []string + Manifest *Manifest + Missing []string + PhysicalSignatures []sign.Verification + Present bool + Signature *sign.SignatureVerificationResult + Status string + Unlisted []string + Unprotected []string + Unreferenced []string + func Inspect(ctx context.Context, input any, options Options) (*Report, error) + func Protect(ctx context.Context, input any, w io.Writer, options ProtectOptions) (*Report, error) + func Verify(ctx context.Context, input any, options Options) (report *Report, err error)