Catalyst Internet Mail .NET

InternetMail.SecureHashAlgorithm Enumeration

Specifies the hash algorithms that the InternetMail class supports.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

[Visual Basic]
<Flags>
Public Enum InternetMail.SecureHashAlgorithm
[C#]
[Flags]
public enum InternetMail.SecureHashAlgorithm

Remarks

The InternetMail class uses the SecureHashAlgorithm enumeration to identify the message digest (hash) algorithm that was selected when a secure connection was established with the remote host.

Members

Member Name Description Value
hashNone No hash algorithm has been selected. This is not a secure connection with the server. 0
hashMD5 The MD5 algorithm was selected. This algorithm takes a message of arbitrary length and produces a 128-bit message digest. 1
hashSHA The SHA algorithm was selected. This algorithm produces a 160-bit message digest. 2

Requirements

Namespace: SocketTools

Assembly: SocketTools.InternetMail (in SocketTools.InternetMail.dll)

See Also

SocketTools Namespace