Package tlslite :: Module errors
[hide private]
[frames] | no frames]

Module errors

source code

Exception classes.

Classes [hide private]
  TLSError
Base class for all TLS Lite exceptions.
  TLSAbruptCloseError
The socket was closed without a proper TLS shutdown.
  TLSAlert
A TLS alert has been signalled.
  TLSLocalAlert
A TLS alert has been signalled by the local implementation.
  TLSRemoteAlert
A TLS alert has been signalled by the remote implementation.
  TLSAuthenticationError
The handshake succeeded, but the other party's authentication was inadequate.
  TLSNoAuthenticationError
The Checker was expecting the other party to authenticate with a certificate chain, but this did not occur.
  TLSAuthenticationTypeError
The Checker was expecting the other party to authenticate with a different type of certificate chain.
  TLSFingerprintError
The Checker was expecting the other party to authenticate with a certificate chain that matches a different fingerprint.
  TLSAuthorizationError
The Checker was expecting the other party to authenticate with a certificate chain that has a different authorization.
  TLSValidationError
The Checker has determined that the other party's certificate chain is invalid.
  TLSFaultError
The other party responded incorrectly to an induced fault.
  TLSUnsupportedError
The implementation doesn't support the requested (or required) capabilities.
  BaseTLSException
Metaclass for TLS Lite exceptions.
  TLSBadRecordMAC
Bad MAC (or padding in case of mac-then-encrypt)
  TLSClosedConnectionError
An attempt was made to use the connection after it was closed.
  TLSDecryptionFailed
Decryption of data was unsuccessful
  TLSIllegalParameterException
Parameters specified in message were incorrect or invalid
  TLSInsufficientSecurity
Parameters selected by user are too weak
  TLSInternalError
The internal state of object is unexpected or invalid.
  TLSProtocolException
Exceptions used internally for handling errors in received messages
  TLSRecordOverflow
The received record size was too big
  TLSUnknownPSKIdentity
The PSK or SRP identity is unknown
Variables [hide private]
  __package__ = 'tlslite'