Top |
Service-side TLS interfacesService-side TLS interfaces — GInterfaces to implement Chan.T.ServerTLSConnection |
GInterface ├── TpSvcAuthenticationTLSCertificate ╰── TpSvcChannelTypeServerTLSConnection
Channel.Type.ServerTLSConnection can be handled by clients to check servers' TLS certificates interactively. The actual certificates are represented by a separate TLSCertificate object.
void (*tp_svc_authentication_tls_certificate_accept_impl) (TpSvcAuthenticationTLSCertificate *self
,DBusGMethodInvocation *context
);
The signature of an implementation of the D-Bus method Accept on interface org.freedesktop.Telepathy.Authentication.TLSCertificate.
void
tp_svc_authentication_tls_certificate_return_from_accept
(DBusGMethodInvocation *context
);
Return successfully by calling dbus_g_method_return()
.
This inline function exists only to provide type-safety.
void tp_svc_authentication_tls_certificate_implement_accept (TpSvcAuthenticationTLSCertificateClass *klass
,tp_svc_authentication_tls_certificate_accept_impl impl
);
Register an implementation for the Accept method in the vtable of an implementation of this interface. To be called from the interface init function.
void
tp_svc_authentication_tls_certificate_emit_accepted
(gpointer instance
);
Type-safe wrapper around g_signal_emit to emit the Accepted signal on interface org.freedesktop.Telepathy.Authentication.TLSCertificate.
void (*tp_svc_authentication_tls_certificate_reject_impl) (TpSvcAuthenticationTLSCertificate *self
,const GPtrArray *in_Rejections
,DBusGMethodInvocation *context
);
The signature of an implementation of the D-Bus method Reject on interface org.freedesktop.Telepathy.Authentication.TLSCertificate.
void
tp_svc_authentication_tls_certificate_return_from_reject
(DBusGMethodInvocation *context
);
Return successfully by calling dbus_g_method_return()
.
This inline function exists only to provide type-safety.
void tp_svc_authentication_tls_certificate_implement_reject (TpSvcAuthenticationTLSCertificateClass *klass
,tp_svc_authentication_tls_certificate_reject_impl impl
);
Register an implementation for the Reject method in the vtable of an implementation of this interface. To be called from the interface init function.
void tp_svc_authentication_tls_certificate_emit_rejected (gpointer instance
,const GPtrArray *arg_Rejections
);
Type-safe wrapper around g_signal_emit to emit the Rejected signal on interface org.freedesktop.Telepathy.Authentication.TLSCertificate.
typedef struct _TpSvcChannelTypeServerTLSConnection TpSvcChannelTypeServerTLSConnection;
Dummy typedef representing any implementation of this interface.
typedef struct _TpSvcChannelTypeServerTLSConnectionClass TpSvcChannelTypeServerTLSConnectionClass;
The class of TpSvcChannelTypeServerTLSConnection.
This interface has no D-Bus methods, so an
implementation can typically pass NULL
to
G_IMPLEMENT_INTERFACE()
as the interface
initialization function.
typedef struct _TpSvcAuthenticationTLSCertificate TpSvcAuthenticationTLSCertificate;
Dummy typedef representing any implementation of this interface.
typedef struct _TpSvcAuthenticationTLSCertificateClass TpSvcAuthenticationTLSCertificateClass;
The class of TpSvcAuthenticationTLSCertificate.
In a full implementation of this interface (i.e. all
methods implemented), the interface initialization
function used in G_IMPLEMENT_INTERFACE()
would
typically look like this:
static void implement_authentication_tls_certificate (gpointer klass, gpointer unused G_GNUC_UNUSED) { #define IMPLEMENT(x) tp_svc_authentication_tls_certificate_implement_##x (\ klass, my_object_##x) IMPLEMENT (accept); IMPLEMENT (reject); #undef IMPLEMENT }
“accepted”
signalvoid user_function (TpSvcAuthenticationTLSCertificate *self, gpointer user_data)
The Accepted D-Bus signal is emitted whenever this GObject signal is.
Flags: Has Details
“rejected”
signalvoid user_function (TpSvcAuthenticationTLSCertificate *self, gpointer user_data)
The Rejected D-Bus signal is emitted whenever this GObject signal is.
self |
an object |
|
arg_Rejections |
const GPtrArray * (FIXME, generate documentation) |
|
user_data |
user data set when the signal handler was connected. |
Flags: Has Details