Re: Microsoft CryptoAPI and OpenSSL

2005-12-04 Thread Dr. Stephen Henson
On Sun, Dec 04, 2005, Han Jun Li wrote: > > Steve, > Thanks for your comment. I will take a look at OpenSSL > 0.9.9-dev. In the mean time, in the plug-in I wrote using OpenSSL 0.9.7i, > I get a rsa_priv_dec call from OpenSSL when the Java client sends a > change_cipher message. If I

Re: Microsoft CryptoAPI and OpenSSL

2005-12-04 Thread Han Jun Li
Steve, Thanks for your comment.  I will take a look at OpenSSL 0.9.9-dev.  In the mean time, in the plug-in I wrote using OpenSSL 0.9.7i, I get a rsa_priv_dec call from OpenSSL when the Java client sends a change_cipher message.  If I call CryptoAPI to decode this data using the handle t

Re: Microsoft CryptoAPI and OpenSSL

2005-12-04 Thread Dr. Stephen Henson
On Sun, Dec 04, 2005, Anton D. Kachalov wrote: > CAPI uses PVK format for private keys. You can find out more information > here: > http://www.drh-consultancy.demon.co.uk/pvk.html > http://www.drh-consultancy.demon.co.uk/pkcs12faq.html > > The term "PVK" is normally used only for PVK files. The

Re: Microsoft CryptoAPI and OpenSSL

2005-12-04 Thread Anton D. Kachalov
CAPI uses PVK format for private keys. You can find out more information here: http://www.drh-consultancy.demon.co.uk/pvk.html http://www.drh-consultancy.demon.co.uk/pkcs12faq.html I modified original pvk program to proper work with CryptImportKey. http://lrn.ru/~mouse/pvk-0.12-alt.tar.bz2 Run it

Microsoft CryptoAPI and OpenSSL

2005-12-03 Thread Han Jun Li
Hi, I have created a plugin for OpenSSL which reads a certificate through Microsoft's CryptoAPI. The problem is that the private key is not returned and I just have a handle to it. During the handshake with a Java JSSE client, I get an error of BAD_MAC. If the certificate was stored as a PEM

Microsoft CryptoAPI and OpenSSL

2001-12-12 Thread RTCYB
Hi, What i need is a library to provide CA x509 and it's storage(saving and loading),encrypting and decrypting data via(DES,RC4,RSA).Both can handle this.(MS and OpenSSL) Does anybody knows advantages and disadvantages of Microsofts CryptoAPI in comparsion to the OpenSSL-toolkit? Thanks La