IPWorks S/MIME 2020 C++ Edition

Questions / Feedback?

RecipientCertEncoded Property

The certificate (PEM/base64 encoded).

Syntax

ANSI (Cross Platform)
int GetRecipientCertEncoded(int iRecipientCertIndex, char* &lpRecipientCertEncoded, int &lenRecipientCertEncoded);
int SetRecipientCertEncoded(int iRecipientCertIndex, const char* lpRecipientCertEncoded, int lenRecipientCertEncoded); Unicode (Windows) INT GetRecipientCertEncoded(INT iRecipientCertIndex, LPSTR &lpRecipientCertEncoded, INT &lenRecipientCertEncoded);
INT SetRecipientCertEncoded(INT iRecipientCertIndex, LPCSTR lpRecipientCertEncoded, INT lenRecipientCertEncoded);
- (NSString*)recipientCertEncoded:(int)recipientCertIndex;
- (void)setRecipientCertEncoded:(int)recipientCertIndex:(NSString*)newRecipientCertEncoded;

- (NSData*)recipientCertEncodedB:(int)recipientCertIndex; - (void)setRecipientCertEncodedB:(int)recipientCertIndex:(NSData*)newRecipientCertEncoded;
#define PID_SMIME_RECIPIENTCERTENCODED 28

IPWORKSSMIME_EXTERNAL void* IPWORKSSMIME_CALL IPWorksSMIME_SMIME_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSSMIME_EXTERNAL int IPWORKSSMIME_CALL IPWorksSMIME_SMIME_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
IPWORKSSMIME_EXTERNAL int IPWORKSSMIME_CALL IPWorksSMIME_SMIME_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

""

Remarks

The certificate (PEM/base64 encoded). This property is used to assign a specific certificate. The RecipientCertStore and RecipientCertSubject properties may also be used to specify a certificate.

When RecipientCertEncoded is set, a search is initiated in the current RecipientCertStore for the private key of the certificate. If the key is found, RecipientCertSubject is updated to reflect the full subject of the selected certificate, otherwise RecipientCertSubject is set to empty string.

The RecipientCertIndex parameter specifies the index of the item in the array. The size of the array is controlled by the RecipientCertCount property.

This property is not available at design time.

Data Type

Binary String

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