Dkim Signature Validation Result Constructor
Initialize a new instance of the DkimSignatureValidationResult class.
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 DkimSignatureValidationResult(
DkimSignatureStatus status,
string domain,
string selector,
Header? header = null
)Parameters
- status DkimSignatureStatus
- The verification status.
- domain String
- The signing domain (the value of the signature's d= tag).
- selector String
- The selector (the value of the signature's s= tag).
- header Header (Optional)
- The DKIM-Signature header, if available.
Remarks
Creates a new DkimSignatureValidationResult for a DKIM-Signature that was verified by some other means, such as an upstream MTA that recorded its results in an Authentication-Results header.
This is useful for passing DKIM results to Verify(MimeMessage, IEnumerableDkimSignatureValidationResult, SpfCheckResult, CancellationToken).
Exceptions
| ArgumentOutOfRangeException | status is not a valid DkimSignatureStatus. |
| ArgumentNullException |
domain is . -or- selector is . |