TpTLSCertificateRejection

TpTLSCertificateRejection — a certificate rejection

Synopsis

#include <telepathy-glib/telepathy-glib.h>

                    TpTLSCertificateRejection;
const gchar *       tp_tls_certificate_rejection_get_dbus_error
                                                        (TpTLSCertificateRejection *self);
GVariant *          tp_tls_certificate_rejection_get_details
                                                        (TpTLSCertificateRejection *self);
const GError *      tp_tls_certificate_rejection_get_error
                                                        (TpTLSCertificateRejection *self);
TpTLSCertificateRejectReason tp_tls_certificate_rejection_get_reason
                                                        (TpTLSCertificateRejection *self);
gboolean            tp_tls_certificate_rejection_raise_error
                                                        (TpTLSCertificateRejection *self,
                                                         GError **error);

Object Hierarchy

  GObject
   +----TpTLSCertificateRejection

Properties

  "dbus-error"               gchar*                : Read / Write / Construct Only
  "details"                  GVariant*             : Read / Write / Construct Only
  "error"                    GError*               : Read / Write / Construct Only
  "reason"                   guint                 : Read / Write / Construct Only

Description

TpTLSCertificateRejection is a small object used by TpTLSCertificate to represent the rejection of a certificate.

Details

TpTLSCertificateRejection

typedef struct _TpTLSCertificateRejection TpTLSCertificateRejection;

Data structure representing a TpTLSCertificateRejection.

Since 0.19.0


tp_tls_certificate_rejection_get_dbus_error ()

const gchar *       tp_tls_certificate_rejection_get_dbus_error
                                                        (TpTLSCertificateRejection *self);

Return the "dbus-error" property

self :

a TpTLSCertificateRejection

Returns :

the value of "dbus-error" property

Since 0.19.0


tp_tls_certificate_rejection_get_details ()

GVariant *          tp_tls_certificate_rejection_get_details
                                                        (TpTLSCertificateRejection *self);

Return the "details" property

self :

a TpTLSCertificateRejection

Returns :

the value of "details" property

Since 0.19.0


tp_tls_certificate_rejection_get_error ()

const GError *      tp_tls_certificate_rejection_get_error
                                                        (TpTLSCertificateRejection *self);

Return the "error" property

self :

a TpTLSCertificateRejection

Returns :

the value of "error" property

Since 0.19.0


tp_tls_certificate_rejection_get_reason ()

TpTLSCertificateRejectReason tp_tls_certificate_rejection_get_reason
                                                        (TpTLSCertificateRejection *self);

Return the "reason" property

self :

a TpTLSCertificateRejection

Returns :

the value of "reason" property

Since 0.19.0


tp_tls_certificate_rejection_raise_error ()

gboolean            tp_tls_certificate_rejection_raise_error
                                                        (TpTLSCertificateRejection *self,
                                                         GError **error);

Convenient function to raise the "error" property in language binding supporting this feature.

self :

a TpTLSCertificateRejection

error :

a GError to fill. [out][allow-none][transfer full]

Returns :

FALSE

Since 0.19.0

Property Details

The "dbus-error" property

  "dbus-error"               gchar*                : Read / Write / Construct Only

The D-Bus error name of the rejection

Default value: NULL

Since 0.19.0


The "details" property

  "details"                  GVariant*             : Read / Write / Construct Only

A G_VARIANT_TYPE_VARDICT containing the details of the rejection

Allowed values: GVariant<a{sv}>

Default value: NULL

Since 0.19.0


The "error" property

  "error"                    GError*               : Read / Write / Construct Only

a GError (likely to be in the TP_ERROR domain) indicating the reason of the rejection

Since 0.19.0


The "reason" property

  "reason"                   guint                 : Read / Write / Construct Only

TpTLSCertificateRejectReason representing the reason of the rejection

Allowed values: <= 10

Default value: 0

Since 0.19.0