IPWorks S/MIME 2020 C++ Edition

Questions / Feedback?

IncludeCertificate Property

Specifies whether to include the signer's certificate with the signed message.

Syntax

ANSI (Cross Platform)
int GetIncludeCertificate();
int SetIncludeCertificate(int bIncludeCertificate); Unicode (Windows) BOOL GetIncludeCertificate();
INT SetIncludeCertificate(BOOL bIncludeCertificate);
@property (nonatomic,readwrite,assign,getter=includeCertificate,setter=setIncludeCertificate:) BOOL includeCertificate;
- (BOOL)includeCertificate;
- (void)setIncludeCertificate:(BOOL)newIncludeCertificate;
#define PID_SHTMLMAILER_INCLUDECERTIFICATE 31

IPWORKSSMIME_EXTERNAL void* IPWORKSSMIME_CALL IPWorksSMIME_SHTMLMailer_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSSMIME_EXTERNAL int IPWORKSSMIME_CALL IPWorksSMIME_SHTMLMailer_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

TRUE

Remarks

If this property is set to True, the certificate used to sign the message will be encoded and included in message signature when calling Sign or SignAndEncrypt.

Including a certificate is the preferred method of building signed messages. If you do not include a certificate, the message recipient may not be able to verify the sender's signature.

Data Type

Boolean

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