santuario-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Milan Tomic" <mi...@setcce.org>
Subject RE: Problem with WinCAPICryptoProvider
Date Thu, 18 Aug 2005 08:19:18 GMT

> // Try to create
> if (!CryptAcquireContext(&m_provApacheKeyStore,
> 	s_xsecKeyStoreName,
> 	provRSAName,
> 	m_provRSAType,
> 	dwFlags | CRYPT_NEWKEYSET)) {
> throw XSECException(XSECException::InternalError,
> 	"WinCAPICryptoProvider() - Error obtaining generating 
> internal key store for PROV_RSA_FULL"); }

Above code is used only during encryption. If you are not using the
encryption, you don't need it. Just comment it and your app will work.

But this work around will not help us in discovering what the real
problem was. What is the code returned by GetLastError()?


Mime
View raw message