IPWorks Encrypt 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_SMIME_INCLUDECERTIFICATE 8

IPWORKSENCRYPT_EXTERNAL void* IPWORKSENCRYPT_CALL IPWorksEncrypt_SMIME_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSENCRYPT_EXTERNAL int IPWORKSENCRYPT_CALL IPWorksEncrypt_SMIME_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 Encrypt 2020 C++ Edition - Version 20.0 [Build 8155]