Home · All Classes · All Namespaces · Modules · Functions · Files |
#include <TelepathyQt/Types>
Public Attributes | |
uint | reason |
QString | error |
QVariantMap | details |
Structure type generated from the specification.
Struct representing one reason why a TLS certificate was rejected.
Since there can be multiple things wrong with a TLS certificate, arrays of this type are used to represent lists of reasons for rejection. In that case, the most important reason SHOULD be placed first in the list.
uint Tp::TLSCertificateRejection::reason |
The value of the TLS_Certificate_Reject_Reason enumeration for this certificate rejection.
Error
member,
which may be implementation-specific, can use this property to
classify rejection reasons into common categories.
QString Tp::TLSCertificateRejection::error |
The DBus error name for this certificate rejection.
This MAY correspond to the value of the Reason
member,
or MAY be a more specific D-Bus error name, perhaps implementation-specific.
QVariantMap Tp::TLSCertificateRejection::details |
Additional information about why the certificate was rejected. This MAY also include one or more of the following well-known keys:
For instance, if you try to connect to gmail.com but are presented with a TLS certificate issued to evil.example.org, the error details for Hostname_Mismatch MAY include:
{ 'expected-hostname': 'gmail.com', 'certificate-hostname': 'evil.example.org', }
Copyright © 2008-2011 Collabora Ltd. and Nokia Corporation | Telepathy-Qt 0.9.7 |