Package application :: Module Utility :: Class CertificateVerificationError
[hide private]
[frames] | no frames]

Class CertificateVerificationError

source code

              object --+        
                       |        
exceptions.BaseException --+    
                           |    
        exceptions.Exception --+
                               |
                              CertificateVerificationError

An error that will be raised when, as part of an SSL/TLS connection attempt, the X.509 certificate returned by the peer does not verify.

Instance Methods [hide private]
 
__init__(self, host, code, message, untrustedCertificates)
Inialize.
source code

Inherited from exceptions.Exception: __new__

Inherited from exceptions.BaseException: __delattr__, __getattribute__, __getitem__, __getslice__, __reduce__, __repr__, __setattr__, __setstate__, __str__

Inherited from object: __hash__, __reduce_ex__

Properties [hide private]

Inherited from exceptions.BaseException: args, message

Inherited from object: __class__

Method Details [hide private]

__init__(self, host, code, message, untrustedCertificates)
(Constructor)

source code 
Inialize.
Parameters:
  • host - Host we think we are connected to.
  • code - The error code.
  • message - The error string.
  • untrustedCertificates - List of untrusted certificates in PEM format.
Overrides: exceptions.Exception.__init__