You are here: TLS stream wrapper on existing socket « PHP Programming Language « IT news, forums, messages
TLS stream wrapper on existing socket

Posted by Robert Frunzke on 04/12/06 13:50

Hello,

I implement a proprietary protocol, which consists of cleartext
messages (much like FTP) and has a TLS mode, which will be initiated by
a "AUTH TLS" command (also, like for FTP). After send AUTH TLS, the
whole TLS negotiation starts and the following communication will be
wrapped in TLS.

Instead of implementing TLS by myself, I would like to use the stream
wrappers.

But how? Something like fopen("tls://...") does not help me here. A
stream filter for tls (instead of a wrapper) would be perfect for this
purpose, but it does not exist. Or something like freopen().


Any hint?


Best Regards,
Robert

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация