HashAlgorithm Property
The hash algorithm used for signing and signature verification.
Syntax
public int getHashAlgorithm(); public void setHashAlgorithm(int hashAlgorithm);
Enumerated values: public final static int rhaSHA1 = 0; public final static int rhaSHA224 = 1; public final static int rhaSHA256 = 2; public final static int rhaSHA384 = 3; public final static int rhaSHA512 = 4; public final static int rhaRIPEMD160 = 5; public final static int rhaMD2 = 6; public final static int rhaMD5 = 7; public final static int rhaMD5SHA1 = 8;
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 |
Default Value
0