Documentation
¶
Overview ¶
Package signedcommit extracts commit signing payloads and signatures from raw commit object bodies.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Commit ¶
type Commit struct {
// contains filtered or unexported fields
}
Commit represents the payload and signatures parsed from a raw comit object.
func Parse ¶
Parse parses one raw commit object body for signature extraction.
The returned Commit remains valid only while body remains unchanged.
Labels: Deps-Borrowed, Life-Parent.
func (*Commit) Algorithms ¶
Algorithms returns the algorithms for which the commit carries signatures.
func (*Commit) AppendPayload ¶
AppendPayload appends the commit verification payload to dst, omitting all embedded signature headers.
Click to show internal directories.
Click to hide internal directories.