CryptImportkey() returns an error NTE_BAD_VER
From: sunit (sunit_at_newsgroup.nospam)
Date: 10/22/05
- Previous message: Roger Abell [MVP]: "Re: Access Control to LDAP on AD?"
- Next in thread: sunit: "Re: CryptImportkey() returns an error NTE_BAD_VER"
- Maybe reply: sunit: "Re: CryptImportkey() returns an error NTE_BAD_VER"
- Maybe reply: sunit: "Re: CryptImportkey() returns an error NTE_BAD_VER"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Sat, 22 Oct 2005 17:59:02 +0530
I m importing my Privatekey Blob in the CSP
using an API CryptImportkey()
if(!CryptImportKey(hCryptProv,
pbKeyBlob,
dwKeyBlobLen,
0,
0,
&hKey))
it returns an error NTE_BAD_VER .After refering MSDN, I found that key BLOB's version number does not match the CSP version.So I have to upgrade my CSP.
Pls tell me how to upgrade my CSP.My CSP is MS_DEF_PROV and type PROV_RSA_FULL( used in CryptAcquireContext)
Pls help me Thanx in advance
- Previous message: Roger Abell [MVP]: "Re: Access Control to LDAP on AD?"
- Next in thread: sunit: "Re: CryptImportkey() returns an error NTE_BAD_VER"
- Maybe reply: sunit: "Re: CryptImportkey() returns an error NTE_BAD_VER"
- Maybe reply: sunit: "Re: CryptImportkey() returns an error NTE_BAD_VER"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]