Documentation
¶
Overview ¶
Package authresults owns the bounded local Authentication-Results profile. Reports are untrusted outside their issuing administrative domain. Comments are diagnostic only and must never become a policy or reputation input.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Report ¶
type Report struct {
// contains filtered or unexported fields
}
Report is an immutable, validated local report without message identifiers.
func New ¶
New admits a canonical authority, a closed result, and an optional closed reason. The result none reports the Draft-09 Section 14.1 NONE state of a message without any DKIM2 header field (draft-gondwana-dkim2-authres Section 3.1); like pass it never carries a diagnostic reason.
func (Report) Authority ¶
Authority returns the validated administrative identity for wire validation.
func (Report) Matches ¶
Matches binds a parsed report to the configured authority and final outcome.
func (Report) MatchesReason ¶
MatchesReason rejects contradictory diagnostics while admitting legacy reports.