ICryptographyContextGetDigestAlgorithm Method

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

Definition

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

Parameters

micalg  String
The micalg parameter value.

Return Value

DigestAlgorithm
The digest algorithm.

Remarks

Maps the micalg parameter value string back to the appropriate DigestAlgorithm.

Exceptions

ArgumentNullException micalg is .

See Also