IPWorks OpenPGP 2020 C++ Edition

Questions / Feedback?

Boundary Property

The boundary separating the MIME parts. Maximum length of 80 bytes.

Syntax

ANSI (Cross Platform)
char* GetBoundary();
int SetBoundary(const char* lpszBoundary); Unicode (Windows) LPWSTR GetBoundary();
INT SetBoundary(LPCWSTR lpszBoundary);
@property (nonatomic,readwrite,assign,getter=boundary,setter=setBoundary:) NSString* boundary;
- (NSString*)boundary;
- (void)setBoundary:(NSString*)newBoundary;
#define PID_MIME_BOUNDARY 1

IPWORKSOPENPGP_EXTERNAL void* IPWORKSOPENPGP_CALL IPWorksOpenPGP_MIME_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSOPENPGP_EXTERNAL int IPWORKSOPENPGP_CALL IPWorksOpenPGP_MIME_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

""

Remarks

This property contains the boundary separating the MIME parts and has a maximum length of 80 bytes. The class will automatically generate a random boundary value during encoding if no value is given. During decoding this property is filled with the boundary from the actual MIME message.

The class will truncate any string longer than 80 bytes if assigned to Boundary.

Data Type

String

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