OriginalContentMIC Property

The Message Integrity Check(s) (one-way hash) of the outgoing message.

Syntax

ANSI (Cross Platform)
char* GetOriginalContentMIC();
int SetOriginalContentMIC(const char* lpszOriginalContentMIC); Unicode (Windows) LPWSTR GetOriginalContentMIC();
INT SetOriginalContentMIC(LPCWSTR lpszOriginalContentMIC);
@property (nonatomic,readwrite,assign,getter=originalContentMIC,setter=setOriginalContentMIC:) NSString* originalContentMIC;
- (NSString*)originalContentMIC;
- (void)setOriginalContentMIC:(NSString*)newOriginalContentMIC;
#define PID_AS2SENDER_ORIGINALCONTENTMIC 62

IPWORKSEDI_EXTERNAL void* IPWORKSEDI_CALL IPWorksEDI_AS2Sender_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSEDI_EXTERNAL int IPWORKSEDI_CALL IPWorksEDI_AS2Sender_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

""

Remarks

A MIC will be calculated over the outgoing message using the same algorithm in the SignatureAlgorithm configuration used to sign the message. The property will be set when Post (in AS3, Send) is invoked, and the MIC will automatically be checked against the Original-Content-MIC in the MDN for synchronous MDNs.

The format is in RFC 3335, i.e. "w7AguNJEmhF/qIjJw6LnnA==, md5", with a newline at the end.

If you are requesting an asynchronous MDN, you must save this value externally so that it can be loaded when the MDN is received (you may also use AsyncMDNInfoDir).

Data Type

String

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks EDI 2020 C++ Edition - Version 20.0 [Build 8203]