Usage of CRYPT_VERIFYCONTEXT with Smart Cards

From: Milton Kuo (milton.kuo_at_microsoft.com)
Date: 09/26/03


Date: Fri, 26 Sep 2003 12:10:48 -0500


There is a discrepancy between the Platform SDK and the CSPDK in how
CRYPT_VERIFYCONTEXT is used in calls to CryptAcquireContext. Specifically,
the PSDK states that pszContainer must be NULL if the CRYPT_VERIFYCONTEXT
flag is set. However, the CSPDK states that pszContainer can be non-NULL if
CRYPT_VERIFYCONTEXT is set.

Which of the two documents, if any :), is correct? Also, if the CSPDK is
correct, when can we expect to see the information in the CSPDK merged into
the PSDK?

Thanks,
Milton