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

Parameters

micalg  String
The micalg parameter value.

Return Value

DigestAlgorithm
The digest algorithm.

Implements

ICryptographyContextGetDigestAlgorithm(String)
Exceptions
ExceptionCondition
ArgumentNullExceptionmicalg is .
Remarks
Maps the micalg parameter value string back to the appropriate DigestAlgorithm.
See Also