HashAlgorithm Property
The hash algorithm used for signing and signature verification.
Syntax
int GetHashAlgorithm();
int SetHashAlgorithm(int iHashAlgorithm);
Possible Values
RHA_SHA1(0), RHA_SHA224(1), RHA_SHA256(2), RHA_SHA384(3), RHA_SHA512(4), RHA_RIPEMD160(5), RHA_MD2(6), RHA_MD5(7), RHA_MD5SHA1(8)
Default Value
0
Remarks
This property specifies the hash algorithm used for signing and signature verification. Possible values are:
0 (rhaSHA1 - default) | SHA-1 |
1 (rhaSHA224) | SHA-224 |
2 (rhaSHA256) | SHA-256 |
3 (rhaSHA384) | SHA-384 |
4 (rhaSHA512) | SHA-512 |
5 (rhaRIPEMD160) | RIPEMD-160 |
6 (rhaMD2) | MD2 |
7 (rhaMD5) | MD5 |
8 (rhaMD5SHA1) | MD5SHA1 |
Data Type
Integer