DkimSignatureValidationResultToAuthenticationMethodResult Method

Create an AuthenticationMethodResult for this result.

Definition

Namespace: MimeKit.Cryptography
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
C#
public AuthenticationMethodResult ToAuthenticationMethodResult()

Return Value

AuthenticationMethodResult
The authentication method result.

Remarks

Creates a dkimAuthenticationMethodResult suitable for adding to an Authentication-Results header, as described in RFC 8601, Section 2.7.1.

The result includes the header.d, header.i, header.s, header.a and header.b properties when they are known. The header.b property contains the first 8 characters of the signature, as described in RFC 6008.

See Also