Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. System Admin
  4. RSA Full Encryption in Windows CryptoAPI

RSA Full Encryption in Windows CryptoAPI

Scheduled Pinned Locked Moved System Admin
sharepointsecurityhelpquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    Popeye Doyle Murray
    wrote on last edited by
    #1

    I am writing an application that uses the CrytpoAPI. In the CryptAcquireContext function call, I request the PROV_RSA_FULL provider. In my Windows 2000 development machine, it works, but on many other systems, I get the error for invalid keyset, meaning that a Cryptographic provider supporting RSA_FULL does not exist. Windows 98 does not work Windows XP clean install does not work. Windows XP with Office XP DOES work Windows 2000 clean does not work Windows 2000 SP 3 does not work Windows 2000 128-bit encryption does not work Windows 2000 with Office 97 does not work IE 6 SP 1 does not work All of the above should have the MS Base cryptographic provider How the fudge do I get RSA_FULL CryptoAPI support installed on a system?

    M 1 Reply Last reply
    0
    • P Popeye Doyle Murray

      I am writing an application that uses the CrytpoAPI. In the CryptAcquireContext function call, I request the PROV_RSA_FULL provider. In my Windows 2000 development machine, it works, but on many other systems, I get the error for invalid keyset, meaning that a Cryptographic provider supporting RSA_FULL does not exist. Windows 98 does not work Windows XP clean install does not work. Windows XP with Office XP DOES work Windows 2000 clean does not work Windows 2000 SP 3 does not work Windows 2000 128-bit encryption does not work Windows 2000 with Office 97 does not work IE 6 SP 1 does not work All of the above should have the MS Base cryptographic provider How the fudge do I get RSA_FULL CryptoAPI support installed on a system?

      M Offline
      M Offline
      Michael Dunn
      wrote on last edited by
      #2

      If CryptAcquireContext() fails and GetLastError is NTE_BAD_KEYSET, you need to call CryptAcquireContext() again with the CRYPT_NEWKEYSET flag. This should only have to be done once per machine. --Mike-- Latest blog entry: *drool* (Alyson) [May 10] Ericahist | Homepage | RightClick-Encrypt | 1ClickPicGrabber "You have Erica on the brain" - Jon Sagara to me

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups