Package pyxmpp2 :: Package test :: Module streamtls
[hide private]

Module streamtls

Classes [hide private]
  TestInitiator
Functions [hide private]
 
setUpModule()
Variables [hide private]
  C2S_SERVER_STREAM_HEAD = '<stream:stream version="1.0" from="s...
  C2S_CLIENT_STREAM_HEAD = '<stream:stream version="1.0" to="ser...
  TLS_FEATURES = '<stream:features>\n <starttls xmlns=\'urn:...
  TLS_REQUIRED_FEATURES = '<stream:features>\n <starttls xml...
  EMPTY_FEATURES = '<stream:features/>'
  PROCEED = '<proceed xmlns=\'urn:ietf:params:xml:ns:xmpp-tls\' />'
  STREAM_TAIL = '</stream:stream>'
Variables Details [hide private]

C2S_SERVER_STREAM_HEAD

Value:
'<stream:stream version="1.0" from="server.example.org" xmlns:stream="\
http://etherx.jabber.org/streams" xmlns="jabber:client">'

C2S_CLIENT_STREAM_HEAD

Value:
'<stream:stream version="1.0" to="server.example.org" xmlns:stream="ht\
tp://etherx.jabber.org/streams" xmlns="jabber:client">'

TLS_FEATURES

Value:
'''<stream:features>
     <starttls xmlns=\'urn:ietf:params:xml:ns:xmpp-tls\' />
</stream:features>'''

TLS_REQUIRED_FEATURES

Value:
'''<stream:features>
     <starttls xmlns=\'urn:ietf:params:xml:ns:xmpp-tls\'>
        <required />
     </starttls>
</stream:features>'''