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: 3.0.0
Syntax
C#
public abstract string GetDigestAlgorithmName(
	DigestAlgorithm micalg
)

Parameters

micalg
Type: MimeKit.CryptographyDigestAlgorithm
The digest algorithm.

Return Value

Type: 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