SecureMimeContextGetDigestOid Method

Get the OID for the digest algorithm.

Definition

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

Parameters

digestAlgo  DigestAlgorithm
The digest algorithm.

Return Value

String
The digest oid.

Remarks

Gets the OID for the digest algorithm.

Exceptions

ArgumentOutOfRangeException digestAlgo is out of range.
NotSupportedException The specified DigestAlgorithm is not supported by this context.

See Also