Click or drag to resize
MimeKit

ICryptographyContextGetDigestAlgorithm Method

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

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

Parameters

micalg  String
The micalg parameter value.

Return Value

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