Versions in this module Expand all Collapse all v1 v1.15.0 Jan 17, 2025 Changes in this version + var ErrBodyHashMismatch = errors.New("body hash mismatch") + var ErrVerificationFailed = errors.New("verification failed") + func WithLookupTXTFunc(ctx context.Context, lookupTXT lookupTXTFunc) context.Context + func WithMaxHeaders(ctx context.Context, maxHeaders int) context.Context + func WithTraceFunc(ctx context.Context, trace TraceFunc) context.Context + type EvaluationState string + const PERMFAIL + const SUCCESS + const TEMPFAIL + type OneResult struct + B string + Domain string + Error error + Selector string + SignatureHeader string + State EvaluationState + type Signer struct + Domain string + Selector string + Signer crypto.Signer + func (s *Signer) Sign(ctx context.Context, message string) (string, error) + type TraceFunc func(f string, a ...interface{}) + type VerifyResult struct + Found uint + Results []*OneResult + Valid uint + func VerifyMessage(ctx context.Context, message string) (*VerifyResult, error) + func (r *VerifyResult) AuthenticationResults() string