TrustedCertEncoded Property

The certificate (PEM/base64 encoded).

Syntax

ANSI (Cross Platform)
int GetTrustedCertEncoded(int iTrustedCertIndex, char* &lpTrustedCertEncoded, int &lenTrustedCertEncoded);
int SetTrustedCertEncoded(int iTrustedCertIndex, const char* lpTrustedCertEncoded, int lenTrustedCertEncoded); Unicode (Windows) INT GetTrustedCertEncoded(INT iTrustedCertIndex, LPSTR &lpTrustedCertEncoded, INT &lenTrustedCertEncoded);
INT SetTrustedCertEncoded(INT iTrustedCertIndex, LPCSTR lpTrustedCertEncoded, INT lenTrustedCertEncoded);
- (NSString*)trustedCertEncoded:(int)trustedCertIndex;
- (void)setTrustedCertEncoded:(int)trustedCertIndex:(NSString*)newTrustedCertEncoded;

- (NSData*)trustedCertEncodedB:(int)trustedCertIndex; - (void)setTrustedCertEncodedB:(int)trustedCertIndex:(NSData*)newTrustedCertEncoded;
#define PID_OFTPSERVER_TRUSTEDCERTENCODED 44

IPWORKSEDI_EXTERNAL void* IPWORKSEDI_CALL IPWorksEDI_OFTPServer_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSEDI_EXTERNAL int IPWORKSEDI_CALL IPWorksEDI_OFTPServer_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
IPWORKSEDI_EXTERNAL int IPWORKSEDI_CALL IPWorksEDI_OFTPServer_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 TrustedCertStore and TrustedCertSubject properties may also be used to specify a certificate.

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

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]