Secure Mime ContextGet Digest Oid Method
Get the OID for the digest algorithm.
Definition
Namespace: MimeKit.Cryptography
Assembly: MimeKit.Cryptography (in MimeKit.Cryptography.dll) Version: 5.0.0
The digest oid.
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
StringThe 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. |