SSL/TLS indy IO handler.

Discussion of open issues, suggestions and bugs regarding network security and data protection solution - SecureBridge
Post Reply
willhonor
Posts: 3
Joined: Fri 15 Jul 2016 12:06

SSL/TLS indy IO handler.

Post by willhonor » Sat 11 Feb 2017 09:59

Hello,
Is there an Indy IO handler for TscSSLClient?

Alternatively, can TscSSLClient be used as a tcp client in its own right? Are there any examples on how to do this?

Regards,
Will.

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: SSL/TLS indy IO handler.

Post by ViktorV » Mon 13 Feb 2017 12:49

To connect SecureBridge with Indy to use SSL protocol is not possible, because in order to use SSL with Indy components, you should use IOHandler, which is inherited from the TIdSSLIOHandlerSocket class, but not from the TIdIOHandler class as our TScIdIOHandler component.
TscSSLClient allows connecting to SSL server and exchange data with it using the ReadBuffer and WriteBuffer methods: http://www.devart.com/sbridge/docs/tscs ... buffer.htm, http://www.devart.com/sbridge/docs/tscs ... buffer.htm.
To create SSL connection drop the компонент TScSSLClient and the descendant of TScStorage on form and configure them. You can find the detailed information about configuring and starting SSL client in the "Step-by-step tutorial" topic of the SecureBridge help.

Post Reply