SecureBlackbox Lite 2020 C++ Edition

Questions / Feedback?

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_SHA1SHA1
SB_MAC_ALGORITHM_HMAC_SHA256SHA256
SB_MAC_ALGORITHM_HMAC_SHA512SHA512

Data Type

String

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox Lite 2020 C++ Edition - Version 20.0 [Build 8166]