Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
_GTlsConnectionClass Struct Reference

#include <gtlsconnection.h>

Data Fields

GIOStreamClass parent_class
 
gboolean(* accept_certificate )(GTlsConnection *connection, GTlsCertificate *peer_cert, GTlsCertificateFlags errors)
 
gboolean(* handshake )(GTlsConnection *conn, GCancellable *cancellable, GError **error)
 
void(* handshake_async )(GTlsConnection *conn, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)
 
gboolean(* handshake_finish )(GTlsConnection *conn, GAsyncResult *result, GError **error)
 
G_GNUC_BEGIN_IGNORE_DEPRECATIONS gboolean(* get_binding_data )(GTlsConnection *conn, GTlsChannelBindingType type, GByteArray *data, GError **error)
 
G_GNUC_END_IGNORE_DEPRECATIONS const gchar *(* get_negotiated_protocol )(GTlsConnection *conn)
 
gpointer padding [6]
 

Detailed Description

GTlsConnectionClass: @parent_class: The parent class. @accept_certificate: Check whether to accept a certificate. @handshake: Perform a handshake operation. @handshake_async: Start an asynchronous handshake operation. @handshake_finish: Finish an asynchronous handshake operation. @get_binding_data: Retrieve TLS channel binding data (Since: 2.66) @get_negotiated_protocol: Get ALPN-negotiated protocol (Since: 2.70)

The class structure for the GTlsConnection type.

Since: 2.28

Definition at line 62 of file gtlsconnection.h.

Field Documentation

◆ accept_certificate

gboolean(* _GTlsConnectionClass::accept_certificate) (GTlsConnection *connection, GTlsCertificate *peer_cert, GTlsCertificateFlags errors)

Definition at line 67 of file gtlsconnection.h.

◆ get_binding_data

G_GNUC_BEGIN_IGNORE_DEPRECATIONS gboolean(* _GTlsConnectionClass::get_binding_data) (GTlsConnection *conn, GTlsChannelBindingType type, GByteArray *data, GError **error)

Definition at line 86 of file gtlsconnection.h.

◆ get_negotiated_protocol

G_GNUC_END_IGNORE_DEPRECATIONS const gchar *(* _GTlsConnectionClass::get_negotiated_protocol) (GTlsConnection *conn)

Definition at line 92 of file gtlsconnection.h.

◆ handshake

gboolean(* _GTlsConnectionClass::handshake) (GTlsConnection *conn, GCancellable *cancellable, GError **error)

Definition at line 72 of file gtlsconnection.h.

◆ handshake_async

void(* _GTlsConnectionClass::handshake_async) (GTlsConnection *conn, int io_priority, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data)

Definition at line 76 of file gtlsconnection.h.

◆ handshake_finish

gboolean(* _GTlsConnectionClass::handshake_finish) (GTlsConnection *conn, GAsyncResult *result, GError **error)

Definition at line 81 of file gtlsconnection.h.

◆ padding

gpointer _GTlsConnectionClass::padding[6]

Definition at line 96 of file gtlsconnection.h.

◆ parent_class

GIOStreamClass _GTlsConnectionClass::parent_class

Definition at line 64 of file gtlsconnection.h.


The documentation for this struct was generated from the following file: