HashAlgorithm Property
The hash algorithm to be used for signing.
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_AUTHENTICODESIGNER_HASHALGORITHM 14 SECUREBLACKBOX_EXTERNAL void* SECUREBLACKBOX_CALL SecureBlackbox_AuthenticodeSigner_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); SECUREBLACKBOX_EXTERNAL int SECUREBLACKBOX_CALL SecureBlackbox_AuthenticodeSigner_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
"SHA256"
Remarks
The following algorithms are supported: MD5, SHA1, SHA224, SHA256, SHA384, SHA512, SHA3_224, SHA3_256, SHA3_384, SHA3_512.
Data Type
String