HashAlgorithm Property
The hash algorithm used for hash computation.
Syntax
public int getHashAlgorithm(); public void setHashAlgorithm(int hashAlgorithm);
Enumerated values: public final static int dhaSHA1 = 0; public final static int dhaSHA224 = 1; public final static int dhaSHA256 = 2; public final static int dhaSHA384 = 3; public final static int dhaSHA512 = 4; public final static int dhaRIPEMD160 = 5;
Remarks
This property specifies the hash algorithm used for hash computation. This is only applicable when calling Sign or VerifySignature and HashValue is computed. Possible values are:
0 (dhaSHA1 - default) | SHA-1 |
1 (dhaSHA224) | SHA-224 |
2 (dhaSHA256) | SHA-256 |
3 (dhaSHA384) | SHA-384 |
4 (dhaSHA512) | SHA-512 |
5 (dhaRIPEMD160) | RIPEMD-160 |
Default Value
0