I'm looking for some good examplecode that implements a java (Android!) NIO client with SSL support. I've stumbled upon SSLEngine but I'm not sure whether I should even continue to look into that direction since some sources claim that Androids SSLEngine isn't stable.
The server I've implemented is written in Twisted Python and the used factory is implemented as follows:
class ServerTLSContextFactory(ssl.DefaultOpenSSLContextFactory):
def __init__(self, *args, **kw):
kw['sslmethod'] = SSL.TLSv1_METHOD
ssl.DefaultOpenSSLContextFactory.__init__(self, *args, **kw)
Does anyone have a good imp开发者_如何转开发lementation (or wrapper for NIO) that I could use?
Thanks in advance!
精彩评论