DataBytes Property
Use this property to pass the original signed data to class in the byte array form.
Syntax
ANSI (Cross Platform) int GetDataBytes(char* &lpDataBytes, int &lenDataBytes);
int SetDataBytes(const char* lpDataBytes, int lenDataBytes); Unicode (Windows) INT GetDataBytes(LPSTR &lpDataBytes, INT &lenDataBytes);
INT SetDataBytes(LPCSTR lpDataBytes, INT lenDataBytes);
@property (nonatomic,readwrite,assign,getter=dataBytes,setter=setDataBytes:) NSData* dataBytes; - (NSData*)dataBytes; - (void)setDataBytes:(NSData*)newDataBytes;
#define PID_MESSAGEVERIFIER_DATABYTES 31 SECUREBLACKBOX_EXTERNAL void* SECUREBLACKBOX_CALL SecureBlackbox_MessageVerifier_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal); SECUREBLACKBOX_EXTERNAL int SECUREBLACKBOX_CALL SecureBlackbox_MessageVerifier_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
Remarks
When validating detached signatures, assign a byte array containing the signed data to this property.
This property is not available at design time.
Data Type
Byte Array