News  [SoftwareSite

Latest News
Older News
RSS Feed
 
Complete Projects
Useful Classes
Top Downloads
Message Board
AllAPI.net
 
Send Comments
Software License
Mentalis.org Buttons
Donate
 
Forums -> Security Library Forum
 
Loading a CertificateStore from the registry  
by Alessio [alessiosaltarin at hotmail dot com]
posted on 2004/05/04

I have some certificates under

HKCU/Software/Microsoft/SystemCertificates/MyCA

If I construct a new CertificateStore using
(StoreLocation.CurrentUser,"MyCA")
why the method "EnumCertificates" returns as empty (Length=0), even if actually in the registry some certificates are saved (as blobs)...

Thank you
Alessio

PS: To be honest, StoreLocation.CurrentUser seems not to work (raises an exception). If I use StoreLocation.CurrentUserGroupPolicy the object is contructed.

PPS: I use makecert.exe to create certificates

by Pieter Philippaerts [Pieter at mentalis dot org]
posted on 2004/05/13

Loading certificates from the registry is currently not supported.

 

Copyright © 2002-2007, The Mentalis.org Team. All rights reserved.
This site is located at http://www.mentalis.org/
Send comments to the webmaster.