EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Does TEIWebSocketClient Support Certificate-Pinning?

Also by EldoS: MsgConnect
Cross-platform protocol-independent communication framework for building peer-to-peer and client-server applications and middleware components.
#33267
Posted: 05/08/2015 05:13:03
by Eric Ma (Basic support level)
Joined: 05/08/2015
Posts: 9

TElHTTPSClient has OnCertificateValidate callback to do Certificate Validation, so can implement Certificate-Pinning.

But for TEIWebSocketClient, I don't see any API to do Certificate Validation, so seems cannot support Certificate-Pinning.

Does TEIWebSocketClient Support Certificate-Pinning?

Thank you.
#33268
Posted: 05/08/2015 05:26:50
by Ken Ivanov (EldoS Corp.)

Hi Eric,

SecureBlackbox WebSocket components use TElHTTPSClient component as a transport, so all functionality implemented in TElHTTPSClient is accessible to you and can be tuned up as needed (including the OnCertificateValidate event). Please check the WebSockets sample that comes with the distribution (Samples\C#\HTTPBlackbox\Desktop\Client\WebSockets\), it illustrates the way in which the event should be handled.

Ken
#33269
Posted: 05/08/2015 05:42:20
by Eric Ma (Basic support level)
Joined: 05/08/2015
Posts: 9

Quote
Ken Ivanov wrote:
Hi Eric,

SecureBlackbox WebSocket components use TElHTTPSClient component as a transport, so all functionality implemented in TElHTTPSClient is accessible to you and can be tuned up as needed (including the OnCertificateValidate event). Please check the WebSockets sample that comes with the distribution (Samples\C#\HTTPBlackbox\Desktop\Client\WebSockets\), it illustrates the way in which the event should be handled.

Ken


Thank you Ken. It is a sample for desktop. Do you have a sample for Windows Phone Siverlight 8.1 app?
#33270
Posted: 05/08/2015 05:45:12
by Eric Ma (Basic support level)
Joined: 05/08/2015
Posts: 9

Hi Ken, I ask for Windows Phone Silverlight 8.1 sample, because the desktop sample's WebSocket DataAvailable call is driven by API System.Threading.ThreadStart.

But System.Threading.ThreadStart is not available for Windows Phone Silverlight 8.1 App
#33271
Posted: 05/08/2015 06:27:31
by Ken Ivanov (EldoS Corp.)

Eric,

I'm afraid there's no WebSockets sample for Windows Phone available at the moment, sorry. The component usage logic in a WP8 environment will essentially be the same though, yet will rely on different flow control components (e.g. Task and not Thread).

Ken
Also by EldoS: BizCrypto
Components for BizTalk® and SQL Server® Integration Services that let you securely store and transfer information in your business automation solutions.

Reply

Statistics

Topic viewed 468 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!