IPWorks Encrypt 2020 C++ Edition

Questions / Feedback?

SignerCertStore Property

The name of the certificate store for the client certificate.

Syntax

ANSI (Cross Platform)
int GetSignerCertStore(int iSignerCertIndex, char* &lpSignerCertStore, int &lenSignerCertStore);
int SetSignerCertStore(int iSignerCertIndex, const char* lpSignerCertStore, int lenSignerCertStore); Unicode (Windows) INT GetSignerCertStore(INT iSignerCertIndex, LPSTR &lpSignerCertStore, INT &lenSignerCertStore);
INT SetSignerCertStore(INT iSignerCertIndex, LPCSTR lpSignerCertStore, INT lenSignerCertStore);
- (NSString*)signerCertStore:(int)signerCertIndex;
- (void)setSignerCertStore:(int)signerCertIndex:(NSString*)newSignerCertStore;

- (NSData*)signerCertStoreB:(int)signerCertIndex; - (void)setSignerCertStoreB:(int)signerCertIndex:(NSData*)newSignerCertStore;
#define PID_CMS_SIGNERCERTSTORE 26

IPWORKSENCRYPT_EXTERNAL void* IPWORKSENCRYPT_CALL IPWorksEncrypt_CMS_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKSENCRYPT_EXTERNAL int IPWORKSENCRYPT_CALL IPWorksEncrypt_CMS_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);
IPWORKSENCRYPT_EXTERNAL int IPWORKSENCRYPT_CALL IPWorksEncrypt_CMS_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

"MY"

Remarks

The name of the certificate store for the client certificate.

The SignerCertStoreType property specifies the type of the certificate store specified by SignerCertStore. If the store is password protected, specify the password in SignerCertStorePassword.

SignerCertStore is used in conjunction with the SignerCertSubject property in order to specify client certificates. If SignerCertStore has a value, and SignerCertSubject or SignerCertEncoded is set, a search for a certificate is initiated. Please refer to the SignerCertSubject 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 SignerCertIndex parameter specifies the index of the item in the array. The size of the array is controlled by the SignerCertCount property.

This property is not available at design time.

Data Type

Binary String

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