Dkim Signature Status Enumeration
The result of verifying a DKIM-Signature header.
Definition
Namespace: MimeKit.Cryptography
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
C#
public enum DkimSignatureStatusRemarks
The result of verifying a DKIM-Signature header.
The values correspond to the DKIM result codes defined in RFC 8601, Section 2.7.1 for use in the Authentication-Results header.
Members
| Pass | 0 | The signature was verified successfully. |
| Fail | 1 | The signature could not be verified because the body hash or the header signature did not match. |
| Policy | 2 | The signature was syntactically valid, but was rejected by local policy, for example because the signature algorithm is disabled or the public key is shorter than the MinimumRsaKeyLength. |
| TempError | 3 | The signature could not be verified due to a temporary error, such as a DNS failure while looking up the public key. A later attempt may produce a final result. |
| PermError | 4 | The signature could not be verified due to a permanent error, such as a malformed DKIM-Signature header, an expired signature or a missing, revoked or invalid public key. |