Re: CryptImportkey() returns an error NTE_BAD_VER
From: sunit (sunit_at_newsgroup.nospam)
Date: 10/26/05
- Next message: stvp: "Windows Server 2003 SP1 DCOM policy"
- Previous message: sunit: "Re: Update CSP"
- Maybe in reply to: sunit: "CryptImportkey() returns an error NTE_BAD_VER"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 26 Oct 2005 17:50:45 +0530
Thanks for the reply
"lelteto" <lelteto@discussions.microsoft.com> wrote in message
news:3BD697DF-3420-4F2D-8B3F-70DDDABB9155@microsoft.com...
> The key blob version has nothing to do with the CSP version. You have to
put
> the value CUR_BLOB_VERSION (0x02) into the bVersion field of BLOBHEADER.
See
> the Platform SDK: PUBLICKEYSTRUC.
>
> Laszlo Elteto
> SafeNet, Inc.
>
> "sunit" wrote:
>
> >
> > ["lelteto" wrote]
> > > Where did you get the key blob? Or do you created it? I doubt that you
would
> > > need to update the Microsoft CSP. (What OS are you running on?)
> > >
> >
> >
> >
> > I have created the key blob. With the help of openssl I created
private keys
> > ..Then I converted private keys into pkcs#8 format so that I can
convert them as
> > per the format required by the Crypto API (little endian order) using
http://www.jensign.com/JavaScience/PvkConvert
> >
> > I am working on Windows 2000 Server.Pls tell me how can I update the
Microsoft CSP.My CSP is MS_DEF_PROV and type PROV_RSA_FULL( used in
CryptAcquireContext)
> >
> > Pls help me .Thanx in advance
> >
> >
- Next message: stvp: "Windows Server 2003 SP1 DCOM policy"
- Previous message: sunit: "Re: Update CSP"
- Maybe in reply to: sunit: "CryptImportkey() returns an error NTE_BAD_VER"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|