SigningAlgorithm Property
Textual description of the signature hash algorithm.
Syntax
ANSI (Cross Platform) char* GetSigningAlgorithm();
int SetSigningAlgorithm(const char* lpszSigningAlgorithm); Unicode (Windows) LPWSTR GetSigningAlgorithm();
INT SetSigningAlgorithm(LPCWSTR lpszSigningAlgorithm);
@property (nonatomic,readwrite,assign,getter=signingAlgorithm,setter=setSigningAlgorithm:) NSString* signingAlgorithm; - (NSString*)signingAlgorithm; - (void)setSigningAlgorithm:(NSString*)newSigningAlgorithm;
#define PID_SNNTP_SIGNINGALGORITHM 77 IPWORKSSMIME_EXTERNAL void* IPWORKSSMIME_CALL IPWorksSMIME_SNNTP_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); IPWORKSSMIME_EXTERNAL int IPWORKSSMIME_CALL IPWorksSMIME_SNNTP_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
"SHA256"
Remarks
This property specifies the hash algorithm used to prepare the message digest for signature.
This property must contain either the name of the algorithm (such as "MD5" or "SHA1"), or an object id (OID) string representing the hash algorithm. Possible values are:
- sha1
- md5
- sha-256 (default)
- sha-384
- sha-512
- sha-224
When read, the value of the property always contains the OID of the algorithm, or an empty string if the algorithm is unknown.
Data Type
String