IPWorks Encrypt 2020 C++ Edition

Questions / Feedback?

IncludeCertificates Property

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

Syntax

ANSI (Cross Platform)
int GetIncludeCertificates();
int SetIncludeCertificates(int iIncludeCertificates); Unicode (Windows) INT GetIncludeCertificates();
INT SetIncludeCertificates(INT iIncludeCertificates);

Possible Values

ICS_NONE(0), 
ICS_SIGNER_CERTS(1),
ICS_SIGNER_CERTS_AND_CHAIN(2)
@property (nonatomic,readwrite,assign,getter=includeCertificates,setter=setIncludeCertificates:) int includeCertificates;
- (int)includeCertificates;
- (void)setIncludeCertificates:(int)newIncludeCertificates;

Possible Values

ICS_NONE(0), 
ICS_SIGNER_CERTS(1),
ICS_SIGNER_CERTS_AND_CHAIN(2)
#define PID_CMS_INCLUDECERTIFICATES 11

IPWORKSENCRYPT_EXTERNAL void* IPWORKSENCRYPT_CALL IPWorksEncrypt_CMS_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSENCRYPT_EXTERNAL int IPWORKSENCRYPT_CALL IPWorksEncrypt_CMS_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

1

Remarks

This setting specifies which certificates (if any) are included in the signed message. By default the public certificate of the certificate used to sign the message is included. This allows the receiving party to verify the signature without any additional knowledge. If this is set to icsNone the recipient must obtain and specify the public certificate to be used for signature verification. Possible values are:

Value Description
0 (icsNone) No signer certificates are included.
1 (icsSignerCerts - default) The certificates specified in Certificates are included.
2 (icsSignerCertsAndChain) The certificates specified in Certificates and the full chain of each certificate are included.

Data Type

Integer

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