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: 4.3.0
Syntax
C#
public abstract 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