Click or drag to resize
MimeKit

SecureMimeContextGetDigestOid Method

Get the OID for the digest algorithm.

Namespace:  MimeKit.Cryptography
Assembly:  MimeKit (in MimeKit.dll) Version: 3.0.0
Syntax
C#
protected static string GetDigestOid(
	DigestAlgorithm digestAlgo
)

Parameters

digestAlgo
Type: MimeKit.CryptographyDigestAlgorithm
The digest algorithm.

Return Value

Type: String
The digest oid.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptiondigestAlgo is out of range.
NotSupportedException The specified DigestAlgorithm is not supported by this context.
Remarks
Gets the OID for the digest algorithm.
See Also