http://msdn.microsoft.com/en-us/library/ms867088.aspx PKCS #12 File Types: Portable Protected Keys in .NET (de Michel I. Gallant) CryptAcquireContext( &m_hProvider, m_wszContainer, AesProviders[m_nIndex].params.lpwsz, AesProviders[m_nIndex].params.dwType, CRYPT_DELETEKEYSET ); ici aussi http://www.jensign.com/JavaScience/dotnet/PFXOpen/code/PfxOpen.cs Example C Program: Using CryptAcquireContext http://msdn.microsoft.com/en-us/library/aa382375(VS.85).aspx http://www.derkeiler.com/Newsgroups/microsoft.public.platformsdk.security/2005-01/0186.html CryptAcquireContext with CRYPT_DELETEKEYSET physically deletes the container and all data associated with it, so to say keys, names etc. http://www.derkeiler.com/Newsgroups/microsoft.public.platformsdk.security/2005-01/0195.html Some CSPs won’t care, […]