HashAlgorithm Property
Hash algorithm which was used to calculate the signature.
Syntax
ANSI (Cross Platform) char* GetHashAlgorithm();
int SetHashAlgorithm(const char* lpszHashAlgorithm); Unicode (Windows) LPWSTR GetHashAlgorithm();
INT SetHashAlgorithm(LPCWSTR lpszHashAlgorithm);
@property (nonatomic,readwrite,assign,getter=hashAlgorithm,setter=setHashAlgorithm:) NSString* hashAlgorithm; - (NSString*)hashAlgorithm; - (void)setHashAlgorithm:(NSString*)newHashAlgorithm;
#define PID_MESSAGEVERIFIER_HASHALGORITHM 33 SECUREBLACKBOX_EXTERNAL void* SECUREBLACKBOX_CALL SecureBlackbox_MessageVerifier_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); SECUREBLACKBOX_EXTERNAL int SECUREBLACKBOX_CALL SecureBlackbox_MessageVerifier_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
""
Remarks
Check this property after calling Verify or VerifyDetached to get the hash algorithm that was used to calculate the signature message digest.
Data Type
String