Click or drag to resize
MimeKit

DkimVerifierBaseDisable Method

Disable a DKIM signature algorithm.

Namespace: MimeKit.Cryptography
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
public void Disable(
	DkimSignatureAlgorithm algorithm
)

Parameters

algorithm  DkimSignatureAlgorithm
The DKIM signature algorithm.
Remarks

Disables the specified DKIM signature algorithm.

Security note  Security Note
Due to the recognized weakness of the SHA-1 hash algorithm and the wide availability of the SHA-256 hash algorithm (it has been a required part of DKIM since it was originally standardized in 2007), it is recommended that RsaSha1 NOT be enabled.
See Also