IPWorks Encrypt 2020 C++ Edition

Questions / Feedback?

DetachedSignature Property

Specifies whether to include a detached signature when signing a message.

Syntax

ANSI (Cross Platform)
int GetDetachedSignature();
int SetDetachedSignature(int bDetachedSignature); Unicode (Windows) BOOL GetDetachedSignature();
INT SetDetachedSignature(BOOL bDetachedSignature);
@property (nonatomic,readwrite,assign,getter=detachedSignature,setter=setDetachedSignature:) BOOL detachedSignature;
- (BOOL)detachedSignature;
- (void)setDetachedSignature:(BOOL)newDetachedSignature;
#define PID_SMIME_DETACHEDSIGNATURE 6

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

This property specifies whether to include a detached signature when signing a message. If the value of this property is True, Message will be encoded as a multipart/signed mime message with a detached signature when calling Sign. This will create a message with two mime parts, one with the contents of Message, and another with the detached signature.

If this property is False, the current contents of Message will be PKCS encoded and included with the signature in Message. This will create a single part message with no MIME boundaries.

Data Type

Boolean

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