Re: SSL_accept hang

2003-02-07 Thread David Schwartz
On Fri, 7 Feb 2003 22:27:51 +0200 (FLE Standard Time), Arne Ansper wrote: >I'm sorry. It seems to me that you made a small mistake in your >original >post or your definition of "non-blocking socket" is different than >other >peoples. > >You said: > >"It is almost always an error to use 'select' wi

RSA_PKCS1_OAEP_PADDING in Java ?

2003-02-07 Thread
Hello All, Certainly it's not the right place for this question, but probably someone in here has already faced the same problem as me. Few months ago, I wrote an application to generate a session key, use this key to encrypt a file, after that, load a public key from a pem file (certificate), and

Re: SSL_accept hang

2003-02-07 Thread Arne Ansper
> >>It is almost always an error to use 'select' with non-blocking > >>sockets. > > >Er, why do you think so? It's pretty standard to use 'select' (or > >'poll') with non-blocking sockets to avoid busy waiting. > > You either can block or you can't. If you can block, why are you > call

RE: SSL_accept hang

2003-02-07 Thread David Schwartz
On Fri, 7 Feb 2003 20:42:50 +0100, Jasper Spit wrote: >My point was to make clear that your statement that 'it is almost >always >an error to use select() with non blocking sockets' is simply not >true. >I think that might be relevant to other openssl users. I stand by my point until and

Re: SSL_accept hang

2003-02-07 Thread David Schwartz
On Fri, 7 Feb 2003 14:44:58 +0100, Bodo Moeller wrote: >>It is almost always an error to use 'select' with non-blocking >>sockets. >Er, why do you think so? It's pretty standard to use 'select' (or >'poll') with non-blocking sockets to avoid busy waiting. You either can block or you

Re: error when trying to sign a certificate

2003-02-07 Thread Dr. Stephen Henson
On Fri, Feb 07, 2003, Steven R. Shourds wrote: > C:\Apache\bin\CA>openssl ca -out cert.pem -config ./openssl.conf -infiles req.pem > Using configuration from ./openssl.conf > Loading 'screen' into random state - done > Enter pass phrase for ./private/cakey.pem: > Check that the request matches the

RE: SSL_accept hang

2003-02-07 Thread Jasper Spit
My point was to make clear that your statement that 'it is almost always an error to use select() with non blocking sockets' is simply not true. I think that might be relevant to other openssl users. JS -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Nam

error when trying to sign a certificate

2003-02-07 Thread Steven R. Shourds
C:\Apache\bin\CA>openssl ca -out cert.pem -config ./openssl.conf -infiles req.pemUsing configuration from ./openssl.confLoading 'screen' into random state - doneEnter pass phrase for ./private/cakey.pem:Check that the request matches the signatureSignature okThe Subject's Distinguished Name

Re: Extracting Issuer Certificate

2003-02-07 Thread openssl utilisateur
i'm sorry for these questions but i will explain what i aim to do i'm trying to open make an application based on openssl ,that can display certificate contents such as microsoft certificate viewer i tried to open the certificate attached with this mail with the "microsoft tool", and i can open e

Re: SSL_poll() ???

2003-02-07 Thread Alexander Biehl
> > is there any function "SSL_poll()"? > > i would like to see, if there is data I can read. > > You can use SSL_pending(ssl) to check if data is available for > immediate reading. However, this will just report on data that has > already reached the internal buffers and has remained from a pre

Re: Extracting Issuer Certificate

2003-02-07 Thread Michiels Olivier
No, you don't have the issuer certificate included in your certificate, you only have the issuer distinguished name. On Friday 07 February 2003 15:44, openssl utilisateur wrote: > hi again > thx for your reply > what i am asking about is how to extract issuer certificate if it was > included with

Extracting Issuer Certificate

2003-02-07 Thread openssl utilisateur
hi again thx for your reply what i am asking about is how to extract issuer certificate if it was included with the certificate thx again From: Rich Salz <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: openssl utilisateur <[EMAIL PROTECTED]> CC: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> S

Re: your mail

2003-02-07 Thread Rich Salz
> could someone tell me how to extract the certification path from an ordinary > certificate (X509 certificate) The certificate doesn't have a path, it just has the DN of its issuer. You have to calculate the path yourself by getting the cert of the issuer, following up the chain, and so on. (I.e

[no subject]

2003-02-07 Thread openssl utilisateur
hi could someone tell me how to extract the certification path from an ordinary certificate (X509 certificate) thanks _ MSN Messenger : discutez en direct avec vos amis ! http://www.msn.fr/msger/default.asp ___

Re: SSL_poll() ???

2003-02-07 Thread Bodo Moeller
On Fri, Feb 07, 2003 at 01:10:30PM +0100, Alexander Biehl wrote: > is there any function "SSL_poll()"? > i would like to see, if there is data I can read. You can use SSL_pending(ssl) to check if data is available for immediate reading. However, this will just report on data that has already rea