EncryptionCertStore Property

The name of the certificate store for the client certificate.

Syntax

ANSI (Cross Platform)
int GetEncryptionCertStore(char* &lpEncryptionCertStore, int &lenEncryptionCertStore);
int SetEncryptionCertStore(const char* lpEncryptionCertStore, int lenEncryptionCertStore); Unicode (Windows) INT GetEncryptionCertStore(LPSTR &lpEncryptionCertStore, INT &lenEncryptionCertStore);
INT SetEncryptionCertStore(LPCSTR lpEncryptionCertStore, INT lenEncryptionCertStore);
@property (nonatomic,readwrite,assign,getter=encryptionCertStore,setter=setEncryptionCertStore:) NSString* encryptionCertStore;
- (NSString*)encryptionCertStore;
- (void)setEncryptionCertStore:(NSString*)newEncryptionCertStore;

@property (nonatomic,readwrite,assign,getter=encryptionCertStoreB,setter=setEncryptionCertStoreB:) NSData* encryptionCertStoreB; - (NSData*)encryptionCertStoreB; - (void)setEncryptionCertStoreB:(NSData*)newEncryptionCertStore;
#define PID_AS2PROFILEMGR_ENCRYPTIONCERTSTORE 13

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

"MY"

Remarks

The name of the certificate store for the client certificate.

The EncryptionCertStoreType property specifies the type of the certificate store specified by EncryptionCertStore. If the store is password protected, specify the password in EncryptionCertStorePassword.

EncryptionCertStore is used in conjunction with the EncryptionCertSubject property in order to specify client certificates. If EncryptionCertStore has a value, and EncryptionCertSubject or EncryptionCertEncoded is set, a search for a certificate is initiated. Please refer to the EncryptionCertSubject 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).

Data Type

Binary String

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