TrustedCertStore Property

The name of the certificate store for the client certificate.


ANSI (Cross Platform)
int GetTrustedCertStore(int iTrustedCertIndex, char* &lpTrustedCertStore, int &lenTrustedCertStore);
int SetTrustedCertStore(int iTrustedCertIndex, const char* lpTrustedCertStore, int lenTrustedCertStore); Unicode (Windows) INT GetTrustedCertStore(INT iTrustedCertIndex, LPSTR &lpTrustedCertStore, INT &lenTrustedCertStore);
INT SetTrustedCertStore(INT iTrustedCertIndex, LPCSTR lpTrustedCertStore, INT lenTrustedCertStore);
- (NSString*)trustedCertStore:(int)trustedCertIndex;
- (void)setTrustedCertStore:(int)trustedCertIndex:(NSString*)newTrustedCertStore;

- (NSData*)trustedCertStoreB:(int)trustedCertIndex; - (void)setTrustedCertStoreB:(int)trustedCertIndex:(NSData*)newTrustedCertStore;

IPWORKSEDI_EXTERNAL void* IPWORKSEDI_CALL IPWorksEDI_OFTPClient_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSEDI_EXTERNAL int IPWORKSEDI_CALL IPWorksEDI_OFTPClient_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
IPWORKSEDI_EXTERNAL int IPWORKSEDI_CALL IPWorksEDI_OFTPClient_CheckIndex(void *lpObj, int propid, int arridx);

Default Value



The name of the certificate store for the client certificate.

The TrustedCertStoreType property specifies the type of the certificate store specified by TrustedCertStore. If the store is password protected, specify the password in TrustedCertStorePassword.

TrustedCertStore is used in conjunction with the TrustedCertSubject property in order to specify client certificates. If TrustedCertStore has a value, and TrustedCertSubject or TrustedCertEncoded is set, a search for a certificate is initiated. Please refer to the TrustedCertSubject property for details.

Designations of certificate stores are platform-dependent.

The following are designations of the most common User and Machine certificate stores in Windows:

MYA certificate store holding personal certificates with their associated private keys.
CACertifying authority certificates.
ROOTRoot certificates.

When the certificate store type is PFXFile, this property must be set to the name of the file. When the type is PFXBlob, the property must be set to the binary contents of a PFX file (i.e. PKCS12 certificate store).

The TrustedCertIndex parameter specifies the index of the item in the array. The size of the array is controlled by the TrustedCertCount property.

This property is not available at design time.

Data Type

Binary String

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