SecureBlackbox Lite 2020 C++ Edition

Questions / Feedback?

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

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