deepzero Posted September 10, 2011 Posted September 10, 2011 Hi there,I was trying to implement a simple RSA signature verification scheme.Fortunately, Microsoft gives an example of using the crypto apis, which does precisely that: />http://msdn.microsoft.com/en-us/library/aa382371%28v=vs.85%29.aspxThis looks good, but doesnt actually work.The second api call, CryptGetUserKey() fails. GetLastError() returns "0x8009000d", which is not defined to my knowledge.am i missing something...?d.
Killboy Posted September 10, 2011 Posted September 10, 2011 The error code is:NTE_NO_KEYThe key requested by the dwKeySpec parameter does not exist.It simply means there is no key in your container. Take a look at this sample:/>http://msdn.microsoft.com/en-us/library/aa382043%28v=vs.85%29.aspx
deepzero Posted September 12, 2011 Author Posted September 12, 2011 thanks. i was using a handle to the wrong provider... :S where did you get the definition of the error from, though? d.
Killboy Posted September 12, 2011 Posted September 12, 2011 I just googled "0x8009000d CryptGetUserKey", it's right there
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now