Click or drag to resize
MimeKit

CryptographyContextGetDigestAlgorithmName Method

Get the string name of the digest algorithm for use with the micalg parameter of a multipart/signed part.

Namespace: MimeKit.Cryptography
Assembly: MimeKit (in MimeKit.dll) Version: 4.3.0
Syntax
C#
public abstract string GetDigestAlgorithmName(
	DigestAlgorithm micalg
)

Parameters

micalg  DigestAlgorithm
The digest algorithm.

Return Value

String
The micalg value.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionmicalg is out of range.
Remarks
Maps the DigestAlgorithm to the appropriate string identifier as used by the micalg parameter value of a multipart/signed Content-Type header.
See Also