EncryptionCertEncoded Property

The certificate (PEM/base64 encoded).

Syntax

ANSI (Cross Platform)
int GetEncryptionCertEncoded(char* &lpEncryptionCertEncoded, int &lenEncryptionCertEncoded);
int SetEncryptionCertEncoded(const char* lpEncryptionCertEncoded, int lenEncryptionCertEncoded); Unicode (Windows) INT GetEncryptionCertEncoded(LPSTR &lpEncryptionCertEncoded, INT &lenEncryptionCertEncoded);
INT SetEncryptionCertEncoded(LPCSTR lpEncryptionCertEncoded, INT lenEncryptionCertEncoded);
@property (nonatomic,readwrite,assign,getter=encryptionCertEncoded,setter=setEncryptionCertEncoded:) NSString* encryptionCertEncoded;
- (NSString*)encryptionCertEncoded;
- (void)setEncryptionCertEncoded:(NSString*)newEncryptionCertEncoded;

@property (nonatomic,readwrite,assign,getter=encryptionCertEncodedB,setter=setEncryptionCertEncodedB:) NSData* encryptionCertEncodedB; - (NSData*)encryptionCertEncodedB; - (void)setEncryptionCertEncodedB:(NSData*)newEncryptionCertEncoded;
#define PID_AS2PROFILEMGR_ENCRYPTIONCERTENCODED 12

IPWORKSEDI_EXTERNAL void* IPWORKSEDI_CALL IPWorksEDI_AS2ProfileMgr_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSEDI_EXTERNAL int IPWORKSEDI_CALL IPWorksEDI_AS2ProfileMgr_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

""

Remarks

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

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

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 8162]