On Sat, Jan 13, 2007, Edward Chan wrote: > I do call the OpenSSL DH crypto API's in my openssl client. But in my > Microsoft CryptoAPI client, the way they show you how to do a DH key > exchange seems like it only works between two MS CryptoAPI end points. > CAPI to CAPI works. OpenSSL to OpenSSL works. I just can't get OpenSSL > to CAPI to work. And I believe it has something to do with the > Microsoft formatting of their keys when exported. So I was wondering if > anybody here has had to develop an app that needs to interoperate with a > CAPI client/server. > >
I've done some CAPI/OpenSSL interop. It is just a case of reading the relevant documents and converting between the key formats. CryptoAPI generally uses little endian format while OpenSSL uses BIGNUMs which can be converted to big endian format and from that to little endian. Steve. -- Dr Stephen N. Henson. Email, S/MIME and PGP keys: see homepage OpenSSL project core developer and freelance consultant. Funding needed! Details on homepage. Homepage: http://www.drh-consultancy.demon.co.uk ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager [EMAIL PROTECTED]