AssociatedData Property
Provides Associated Data for AEAD algorithms.
Syntax
ANSI (Cross Platform) int GetAssociatedData(char* &lpAssociatedData, int &lenAssociatedData);
int SetAssociatedData(const char* lpAssociatedData, int lenAssociatedData); Unicode (Windows) INT GetAssociatedData(LPSTR &lpAssociatedData, INT &lenAssociatedData);
INT SetAssociatedData(LPCSTR lpAssociatedData, INT lenAssociatedData);
@property (nonatomic,readwrite,assign,getter=associatedData,setter=setAssociatedData:) NSData* associatedData; - (NSData*)associatedData; - (void)setAssociatedData:(NSData*)newAssociatedData;
#define PID_SYMMETRICCRYPTO_ASSOCIATEDDATA 1 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);
Remarks
Use this property to set up Associated Data for AEAD encryption algorithms.
This property is not available at design time.
Data Type
Byte Array