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

Parameters

micalg  DigestAlgorithm
The digest algorithm.

Return Value

String
The micalg value.

Implements

ICryptographyContextGetDigestAlgorithmName(DigestAlgorithm)
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