Click or drag to resize
MimeKit

SecureMimeContextGetDigestOid Method

Get the OID for the digest algorithm.

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

Parameters

digestAlgo  DigestAlgorithm
The digest algorithm.

Return Value

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