Defines the supported types of DomainKeys technology (DK and DKIM).
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
MailBee can create and verify signatures of two types: classic DomainKeys and newer DKIM (or both of them). By default, both DomainKeys and DKIM are used. However, some overloads of Sign and Verify methods allow you to specify the exact DomainKeys type to be used.
| Member Name | Description | Value |
|---|---|---|
| DK | Classic DomainKeys technology. | 1 |
| DKIM | Newer DKIM technology. Checking DKIM signatures may requre the support of SHA256 algorithm from the operating system (supported in WinXP SP3 and above). | 2 |
| Both | Sign and verify using both DK and DKIM signatures. However, if the operating system supports only SHA1 (SHA256 is not supported), DKIM will not be used for verification (signing will still work as MailBee uses SHA1 for DKIM). | 3 |
Namespace: MailBee.Security
Assembly: MailBee.NET (in MailBee.NET.dll)