Re: New engines.

2004-08-10 Thread Juan Segarra
man 3 engine --- Juan Segarra Montesinos http://spisa.act.uji.es/~juan/ On Tue, 10 Aug 2004, Roberto Gallo wrote: > Hi, > > I would like to develop a new engine with some crypto functions to with OpenSSL. > Where can I get information about the API? > Where should I start

Re: How to convert a buffer to an intern structure???

2004-08-03 Thread Juan Segarra
); --- Juan Segarra http://spisa.act.uji.es/~juan __ OpenSSL Project http://www.openssl.org User Support Mailing List[EMAIL PROTECTED] Automated List Manager [EMAIL

OpenSSL based CSP

2004-01-27 Thread Juan Segarra
Hi. Has anyone implemented a Microsoft CAPI CSP using OpenSSL? I found in the archives a mail from Sergio Tabanelli saying that everyone can request source code of his own OpenSSL/SSLeay based CSP. However I haven't received any answer, and I'm very interested in this topic. Thanks in advance,

Re: SSL_connect()

2003-08-18 Thread Juan Segarra
On Mon, 18 Aug 2003, Juan Segarra wrote: > On Mon, 18 Aug 2003, Lutz Jaenicke wrote: > > > > SSL_connect() hangs. Is this the right behaviour? > > > > No. This behaviour is not correct. > > > So, is this a bug in the library? No. This is a bug in my brain

Re: SSL_connect()

2003-08-18 Thread Juan Segarra
On Mon, 18 Aug 2003, Lutz Jaenicke wrote: > > SSL_connect() hangs. Is this the right behaviour? > > No. This behaviour is not correct. So, is this a bug in the library? Thanks for the answer, Juan. __ OpenSSL Proj

SSL_connect()

2003-08-18 Thread Juan Segarra
Hi. I've wrote a small https client. I have a problem with SSL_connect() function. I don't know what i'm doing wrong. When i want to stablish a connection with a server i create a blocking connect bio and bind it to the SSL object. I use a verify callback function in order to perform aditional che

SSL_connect() problem?

2003-08-11 Thread Juan Segarra
Hi. I'm writing a small class that uses the ssl library. The "problem" ( I'm not sure who has the problem :-P ) is that SSL_connect() blocks when the verify callback function returns 0. If it returns 1 all goes as expected. I'm using a blocking connect bio as the underlaying bio for the SSL object

Re: Why the result of messages digest using md5 differs

2002-07-14 Thread Juan Segarra
On Sun, 14 Jul 2002, hongbin tang wrote: > Hi, All; > Why the result of messages digest using md5 differs > from using openssl md5? > > for example. > # md5 -q -s "hello" >5d41402abc4b2a76b9719d911017c592 > but when I used openssl. > > #echo "hello" | openssl md5 >f447b20a7fcbf53a5d5b

Re: Beginner's questions with openssl API

2002-01-07 Thread Juan Segarra
On Mon, 7 Jan 2002, Mack Stevenson wrote: > Hi Bear, > > Thank you for replying. > > > > > - I gather that it's a bad idea to just encrypt all the files with the > > > passphrase chosen by the user, right? > > > >You don't use the passphrase *directly*, but you should certainly > >use the user's

Re: EVP_* Routines

2002-01-02 Thread Juan Segarra
On 2 Jan 2002, Chris Plant wrote: > I've compiled the attached code, and it doesn't decrypt the text > correctly. If anyone could explain why to me, or point out a nice > tutorial about using these routines, it would be much appreciated. I've been writing a tutorial about EVP routines in spani

Re: PEM_read_RSAPublicKey

2001-11-16 Thread Juan Segarra
On Fri, 16 Nov 2001, Takaaki Ishii wrote: > Hylton Tregenza wrote: > >Sorry, I asked to early, There is nothing wrong with the code. The file > >is not a public key file (or the format isd wrong) How do I extract a > >public key file from a certificate? > > How about to use X509_get_pubkey

EVP public key generation

2001-10-19 Thread Juan Segarra
, RSA_key); ... } I'm writing a small tutorial and it'll be nice to know the right way of doing it... thanl in advance!!! --- Juan Segarra Montesinos -= NISU Security =- __ OpenS