diff options
author | <robert.mcqueen@collabora.co.uk> | 2006-05-23 20:08:29 +0000 |
---|---|---|
committer | <robert.mcqueen@collabora.co.uk> | 2006-05-23 20:08:29 +0000 |
commit | 1ff97a229459abc2309ff1d88dda4246a1da6efd (patch) | |
tree | 9d03a3bf66853b012e40dcf80aea1316b374094b | |
parent | 54ec6d9de76c0c14ebd05c768da1bc6432147888 (diff) |
add status change reasons for various SSL validation errors
-rw-r--r-- | telepathy/server/conn.py | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/telepathy/server/conn.py b/telepathy/server/conn.py index 61c95f6..1406492 100644 --- a/telepathy/server/conn.py +++ b/telepathy/server/conn.py @@ -372,6 +372,31 @@ class Connection(dbus.service.Object): Someone is already connected to the server using the name you are trying to connect with. + 6 - CONNECTION_STATUS_REASON_CERT_NOT_PROVIDED + The server did not provide a SSL certificate. + + 7 - CONNECTION_STATUS_REASON_CERT_UNTRUSTED + The server's SSL certificate could not be trusted. + + 8 - CONNECTION_STATUS_REASON_CERT_EXPIRED + The server's SSL certificate has expired. + + 9 - CONNECTION_STATUS_REASON_CERT_NOT_ACTIVATED + The server's SSL certificate is not yet valid. + + 10 - CONNECTION_STATUS_REASON_CERT_HOSTNAME_MISMATCH + The server's SSL certificate did not match its hostname. + + 11 - CONNECTION_STATUS_REASON_CERT_FINGERPRINT_MISMATCH + The server's SSL certificate does not have the expected + fingerprint. + + 12 - CONNECTION_STATUS_REASON_CERT_SELF_SIGNED + The server's SSL certificate is self-signed. + + 13 - CONNECTION_STATUS_REASON_CERT_OTHER_ERROR + There was some other error validating the server's SSL certificate. + Parameters: status - an integer indicating the new status reason - an integer indicating the reason for the status change |