[DllImport("CRYPT32.DLL", EntryPoint="CertOpenStore", CharSet=CharSet.Auto, SetLastError=true)]
public static extern IntPtr CertOpenStoreStringPara( int storeProvider, int encodingType,
IntPtr hcryptProv, int flags, String pvPara);
[DllImport("CRYPT32.DLL", EntryPoint="CertOpenStore", CharSet=CharSet.Auto, SetLastError=true)]
public static extern IntPtr CertOpenStoreIntPtrPara( int storeProvider, int encodingType,
IntPtr hcryptProv, int flags, IntPtr pvPara);
todo
None.
Please add some!
Please add some!
WSE 1.0/2.0 have several functions that allow you to open and browse the key store. In addition, the X509CertificateEx class in WSE allows you to access the private key associated with the certificate. Whidbey makes it all a snap and you can even add and remove certs from stores, etc.