Return the message digest selected when establishing the secure
connection with the server.
Syntax
object.SecureHash
Remarks
The SecureHash property returns an integer value which
identifies the message digest algorithm that was selected when a
secure connection is established. This property may return one of the
following values:
Value |
Constant |
Description |
0 |
stHashNone |
No message digest algorithm has been selected. This is not
a secure connection with the server. |
1 |
stHashMD5 |
The MD5 algorithm was selected. This algorithm takes a
message of arbitrary length and produces a 128-bit message
digest. |
2 |
stHashSHA |
The SHA algorithm was selected. This algorithm produces a
160-bit message digest. |
If a secure connection has not been established, this property
will return a value of zero.
Data Type
Integer (Int32)
See Also
CipherStrength Property,
HashStrength Property,
Secure Property,
SecureCipher Property,
SecureKeyExchange Property,
SecureProtocol Property
|