简体   繁体   English

适用于WSS的Android库(安全Web套接字)

[英]Android library for WSS (Secure Web Socket)

Im trying to connect to WSS (client+server certificate authentication + Corporate Proxy Authentication+Self Signed Certificate Chain) from Android. 我试图从Android连接到WSS(客户端+服务器证书身份验证+公司代理身份验证+自签名证书链)。

I tried Autobhan library, Koush AsyncIO, SecureWebSocket, Autobahn library with TLS support And few other. 我尝试过Autobhan库,Koush AsyncIO,SecureWebSocket,具有TLS支持的Autobahn库以及其他一些。

I could not get it working. 我无法让它发挥作用。

Any suggestions on support library or least possible alterations to my server configuration to make it work (Https mandatory) ? 有关支持库的任何建议或对我的服务器配置的最小可能更改以使其工作(Https强制)?

Did you try https://github.com/TooTallNate/Java-WebSocket 您是否尝试过https://github.com/TooTallNate/Java-WebSocket

I haven't used it myself, but it looks promising. 我自己没有用它,但它看起来很有希望。

Just recently discovered this library (nv-websocket-client) . 刚刚发现了这个库(nv-websocket-client) The best websocket client library for Android and Java so far. 到目前为止,Android和Java最好的websocket客户端库。 It supports WSS and RFC 7692. 它支持WSS和RFC 7692。

I am using Tyrus library. 我正在使用Tyrus库。 It works but only on Android 4. On Android 5 it hits a bug in Android. 它只能在Android 4上运行。在Android 5上,它会遇到Android中的错误。 The bug happens only on ssl connections. 该错误仅发生在ssl连接上。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM