Package ndg :: Package httpsclient :: Module ssl_peer_verification
[hide private]

Module ssl_peer_verification

source code

ndg_httpsclient - module containing SSL peer verification class.


Date: 09/12/11

Author: P J Kershaw (STFC)

Contact: Philip.Kershaw@stfc.ac.uk

Copyright: (C) 2012 Science and Technology Facilities Council

License: BSD - see LICENSE file in top-level directory

Classes [hide private]
  ServerSSLCertVerification
Check server identity.
Variables [hide private]
  __revision__ = '$Id$'
  log = logging.getLogger(__name__)
  SUBJ_ALT_NAME_SUPPORT = False
  SUBJ_ALT_NAME_SUPPORT_MSG = 'SubjectAltName support is disable...
  __package__ = 'ndg.httpsclient'
  __warningregistry__ = {('SubjectAltName support is disabled - ...
  e = Pyasn1ImportError('Error importing pyasn1, subjectAltName ...
Variables Details [hide private]

SUBJ_ALT_NAME_SUPPORT_MSG

Value:
'SubjectAltName support is disabled - check pyasn1 package installatio\
n to enable'

__warningregistry__

Value:
{('SubjectAltName support is disabled - check pyasn1 package installat\
ion to enable',
  <type 'exceptions.UserWarning'>,
  24): True}

e

Value:
Pyasn1ImportError('Error importing pyasn1, subjectAltName check for SS\
L peer verification will be disabled.  Import error is: No module name\
d pyasn1.type',)