Jump to content
View in the app

A better way to browse. Learn more.

Tuts 4 You

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

WinCrypt API - RSA

Featured Replies

Posted

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.aspx

This 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.

The error code is:

NTE_NO_KEY

The 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

  • Author

thanks.

i was using a handle to the wrong provider... :S

where did you get the definition of the error from, though? :)

d.

I just googled "0x8009000d CryptGetUserKey", it's right there :)

Create an account or sign in to comment

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.