Re: CryptAcquireContext why it FAILS!?
- From: "Doug Barlow" <softpedal@xxxxxxxxxxxxxxxxxxx>
- Date: Thu, 17 Aug 2006 13:32:29 -0700
First, let me make sure I've got things straight: you're running this on
Windows XP, and you're getting a returned LastError code of 0x80090019 (The
keyset is not defined), right?
If you look in the wincrypt.h header file, MS_ENH_RSA_AES_PROV is defined as
"Microsoft Enhanced RSA and AES Cryptographic Provider". But on Windows XP,
the provider name is "Microsoft Enhanced RSA and AES Cryptographic Provider
(Prototype)".
That missing " (Prototype)" in the provider name is causing the error.
Doug Barlow
The Soft Pedal Shop
CSP Design & Development Consulting
http://www.softpedal.net
.
- Follow-Ups:
- Re: CryptAcquireContext why it FAILS!?
- From: Medical-Fix
- Re: CryptAcquireContext why it FAILS!?
- References:
- CryptAcquireContext why it FAILS!?
- From: Medical-Fix
- CryptAcquireContext why it FAILS!?
- Prev by Date: Need help getting password expiration prompt from DC
- Next by Date: Re: How to get the correct SID format so I can search with it?
- Previous by thread: Re: CryptAcquireContext why it FAILS!?
- Next by thread: Re: CryptAcquireContext why it FAILS!?
- Index(es):