connectors/PYRO/PSK_Adapter.py
branchpython3
changeset 3750 f62625418bff
parent 2598 46df689dbc3b
equal deleted inserted replaced
3749:fda6c1a37662 3750:f62625418bff
    26 """
    26 """
    27 The TLS-PSK adapter that handles SSL connections instead of regular sockets,
    27 The TLS-PSK adapter that handles SSL connections instead of regular sockets,
    28 but using Pre Shared Keys instead of Certificates
    28 but using Pre Shared Keys instead of Certificates
    29 """
    29 """
    30 
    30 
    31 from __future__ import absolute_import
    31 
    32 from __future__ import print_function
    32 
    33 
    33 
    34 import socket
    34 import socket
    35 import re
    35 import re
    36 import ssl
    36 import ssl
    37 import Pyro
    37 import Pyro