Page 1 of 1
SSL/TLS indy IO handler.
Posted: Sat 11 Feb 2017 09:59
by willhonor
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.
Re: SSL/TLS indy IO handler.
Posted: Mon 13 Feb 2017 12:49
by ViktorV
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.