by forest [hhou at cirba dot com] posted on 2004/04/01 |
|
Hi,
My program needs to create a new certificate store. It failed when calling method CertificateStore(StoreLocation, string). The parameter of StoreLocation passed in is CurrentUser.
The problem is caused by the definition of StoreLocation. The CurrentUser should be defined as "SecurityConstants.CERT_SYSTEM_STORE_CURRENT_USER" instead of "SecurityConstants.CERT_SYSTEM_STORE_USERS".
After this change the method works fine.
Regards,
Forest
|