HashedData.Algorithm property
[CAPICOM is a 32-bit only component that is available for use in the following operating systems: Windows Server 2008, Windows Vista, and Windows XP. Instead, use the HashAlgorithm Class in the System.Security.Cryptography namespace.]
The Algorithm property sets or retrieves the type of hashing algorithm used.
Syntax
HashedData.Algorithm As CAPICOM_HASH_ALGORITHM
Property value
A value of the CAPICOM_HASH_ALGORITHM enumeration that defines a hash algorithm. The default value is CAPICOM_HASH_ALGORITHM_SHA1. The following table shows the possible values.
Value | Meaning |
---|---|
|
SHA1 hashing algorithm. |
|
MD2 hashing algorithm. |
|
MD4 hashing algorithm. |
|
MD5 hashing algorithm. |
|
SHA-256 hash algorithm. CAPICOM 2.0.0.3 and earlier: This value is not supported. |
|
SHA-384 hash algorithm. CAPICOM 2.0.0.3 and earlier: This value is not supported. |
|
SHA-512 hash algorithm. CAPICOM 2.0.0.3 and earlier: This value is not supported. |
Requirements
Requirement | Value |
---|---|
End of client support |
Windows Vista |
End of server support |
Windows Server 2008 |
Redistributable |
CAPICOM 2.0 or later on Windows Server 2003 and Windows XP |
DLL |
|
See also