Click or drag to resize
MimeKit

ICryptographyContextGetDigestAlgorithmName 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.7.1
Syntax
C#
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