[jdev] C# SslStream Issues
Matthias Wimmer
m at tthias.eu
Tue Jul 3 12:48:29 CDT 2007
Dieter Lunn schrieb:
> It seems that the certificate data is passed to my parser where I then
> get an Invalid XML error or I get a read error on my stream saying can't
> perform that operation on an unauthenticated socket when I am still
> trying to authenticate it. I thought that the method blocked until it
> was finished.
Are you sure your are using your System.Net.Security.SslStream instance
correctly? After creating it, you should not read from the underlying
stream anymore, but from the SslStream ... and this SslStream will not
pass you the certificate as part of the stream.
Matthias
--
Matthias Wimmer Fon +49-700 77 00 77 70
Züricher Str. 243 Fax +49-89 95 89 91 56
81476 München http://ma.tthias.eu/
More information about the JDev
mailing list