CertStorePassword Property
If the certificate store is of a type that requires a password, this property is used to specify that password in order to open the certificate store.
Syntax
ANSI (Cross Platform) char* GetCertStorePassword(int iCertIndex);
int SetCertStorePassword(int iCertIndex, const char* lpszCertStorePassword); Unicode (Windows) LPWSTR GetCertStorePassword(INT iCertIndex);
INT SetCertStorePassword(INT iCertIndex, LPCWSTR lpszCertStorePassword);
- (NSString*)certStorePassword:(int)certIndex; - (void)setCertStorePassword:(int)certIndex:(NSString*)newCertStorePassword;
#define PID_CMS_CERTSTOREPASSWORD 4 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
""
Remarks
If the certificate store is of a type that requires a password, this property is used to specify that password in order to open the certificate store.
The CertIndex parameter specifies the index of the item in the array. The size of the array is controlled by the CertCount property.
This property is not available at design time.
Data Type
String