Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GitCommit ¶
type GitCommit struct {
Commit *Commit `json:"source,omitempty"`
Signature string `json:"signature,omitempty"`
// SignerInfo contains select fields from the PKCS7 SignerInfo.
// This is intended as a convenience for consumers to access relevant
// fields like certificate instead of needing to parse the signature.
// See https://datatracker.ietf.org/doc/html/rfc5652#section-5.3 for details.
SignerInfo []*SignerInfo `json:"signer_info,omitempty"`
}
type SignerInfo ¶
type SignerInfo struct {
// Attributes contains a base64 encoded ASN.1 marshalled signed attributes.
// See https://datatracker.ietf.org/doc/html/rfc5652#section-5.6 for more details.
Attributes string `json:"attributes,omitempty"`
Certificate string `json:"certificate,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.