Click or drag to resize
MimeKit

CryptographyContextGetDigestAlgorithm Method

Get the digest algorithm from the micalg parameter value in a multipart/signed part.

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

Parameters

micalg
Type: SystemString
The micalg parameter value.

Return Value

Type: DigestAlgorithm
The digest algorithm.
Exceptions
ExceptionCondition
ArgumentNullExceptionmicalg is null.
Remarks
Maps the micalg parameter value string back to the appropriate DigestAlgorithm.
See Also