Mark Corner wrote:
>
> Ok, thanks. Good idea. I got it to run on my win2k machine, but it has the
> same problem. I will keep wacking at it. I think it has to do with all the
> endian conversions, but it is hard to tell with no source :(
>
Well you could try importing a PKCS#12 file into MSIE and using that
private key to check the encrypt/decrypt worked. You could then also
export the key to a PRIVATEKEYBLOB and check the results against what
your code does.
> FYI, I found two things: in wincrypt.h you have to comment out an ifdef at
> the beginning referring to your NT version. Also, the X86 emulation mode
> for the CE devices does not seem to include CAPI. You have to go to the
> device to use it.
>
> Is your code for PRIVATEKEYBLOBS available? I see a binary on your page,
> but no source for the PVK util.
>
Its in the 'steve-play' area on dev.openssl.org, the pvk source. I'm not
sure if you can get there from a link, you may have to use cvs.
If you can't get it then I'll send you a copy when I'm on a faster link.
Steve.
--
Dr Stephen N. Henson. http://www.drh-consultancy.demon.co.uk/
Personal Email: [EMAIL PROTECTED]
Senior crypto engineer, Celo Communications: http://www.celocom.com/
Core developer of the OpenSSL project: http://www.openssl.org/
Business Email: [EMAIL PROTECTED] PGP key: via homepage.
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]