Package common :: Module connection
[hide private]
[frames] | no frames]

Module connection

source code

Classes [hide private]
  CommonConnection
Common connection class, can be derivated for normal connection or zeroconf connection
  Connection
Variables [hide private]
  randomsource = random.Random()
  log = logging.getLogger('gajim.c.connection')
  ssl_error = {2: _("Unable to get issuer certificate"), 3: _("U...

Imports: os, random, socket, operator, time, locale, hmac, signal, common, helpers, gajim, GnuPG, passwords, exceptions, Template, logging


Variables Details [hide private]

randomsource

Value:
random.Random()

log

Value:
logging.getLogger('gajim.c.connection')

ssl_error

Value:
{2: _("Unable to get issuer certificate"), 3: _("Unable to get certifi\
cate CRL"), 4: _("Unable to decrypt certificate's signature"), 5: _("U\
nable to decrypt CRL's signature"), 6: _("Unable to decode issuer publ\
ic key"), 7: _("Certificate signature failure"), 8: _("CRL signature f\
ailure"), 9: _("Certificate is not yet valid"), 10: _("Certificate has\
 expired"), 11: _("CRL is not yet valid"), 12: _("CRL has expired"), 1\
3: _("Format error in certificate's notBefore field"), 14: _("Format e\
rror in certificate's notAfter field"), 15: _("Format error in CRL's l\
...