#NEWLINE# @ classmethod #NEWLINE# def from_new_secure_socket( cls , host , port , username , password ) : #NEWLINE# #INDENT# from tlslite.api import TLSConnection #NEWLINE# stream = cls . from_new_socket ( host , port ) #NEWLINE# stream . sock = TLSConnection ( stream . sock ) #NEWLINE# stream . sock . handshakeClientSRP ( username , password ) #NEWLINE# return stream