MACAlgorithm Property
The (H)MAC algorithm to use during encryption.
Syntax
ANSI (Cross Platform) char* GetMACAlgorithm();
int SetMACAlgorithm(const char* lpszMACAlgorithm); Unicode (Windows) LPWSTR GetMACAlgorithm();
INT SetMACAlgorithm(LPCWSTR lpszMACAlgorithm);
@property (nonatomic,readwrite,assign,getter=MACAlgorithm,setter=setMACAlgorithm:) NSString* MACAlgorithm; - (NSString*)MACAlgorithm; - (void)setMACAlgorithm:(NSString*)newMACAlgorithm;
#define PID_SYMMETRICCRYPTO_MACALGORITHM 20 SECUREBLACKBOXLITE_EXTERNAL void* SECUREBLACKBOXLITE_CALL SecureBlackboxLite_SymmetricCrypto_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); SECUREBLACKBOXLITE_EXTERNAL int SECUREBLACKBOXLITE_CALL SecureBlackboxLite_SymmetricCrypto_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Default Value
""
Remarks
Use this property to configure the HMAC algorithm to use with the encryption operation. This onlyapplies to a small subset of algorithms/modes.
SB_MAC_ALGORITHM_HMAC_SHA1 | SHA1 | |
SB_MAC_ALGORITHM_HMAC_SHA256 | SHA256 | |
SB_MAC_ALGORITHM_HMAC_SHA512 | SHA512 |
Data Type
String