Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gtlscertificate.h File Reference
#include <gio/giotypes.h>

Go to the source code of this file.

Data Structures

struct  _GTlsCertificate
 
struct  _GTlsCertificateClass
 

Macros

#define G_TYPE_TLS_CERTIFICATE   (g_tls_certificate_get_type ())
 
#define G_TLS_CERTIFICATE(inst)   (G_TYPE_CHECK_INSTANCE_CAST ((inst), G_TYPE_TLS_CERTIFICATE, GTlsCertificate))
 
#define G_TLS_CERTIFICATE_CLASS(class)   (G_TYPE_CHECK_CLASS_CAST ((class), G_TYPE_TLS_CERTIFICATE, GTlsCertificateClass))
 
#define G_IS_TLS_CERTIFICATE(inst)   (G_TYPE_CHECK_INSTANCE_TYPE ((inst), G_TYPE_TLS_CERTIFICATE))
 
#define G_IS_TLS_CERTIFICATE_CLASS(class)   (G_TYPE_CHECK_CLASS_TYPE ((class), G_TYPE_TLS_CERTIFICATE))
 
#define G_TLS_CERTIFICATE_GET_CLASS(inst)   (G_TYPE_INSTANCE_GET_CLASS ((inst), G_TYPE_TLS_CERTIFICATE, GTlsCertificateClass))
 

Typedefs

typedef struct _GTlsCertificateClass GTlsCertificateClass
 
typedef struct _GTlsCertificatePrivate GTlsCertificatePrivate
 

Functions

GIO_AVAILABLE_IN_ALL GType g_tls_certificate_get_type (void) G_GNUC_CONST
 
GIO_AVAILABLE_IN_ALL GTlsCertificateg_tls_certificate_new_from_pem (const gchar *data, gssize length, GError **error)
 
GIO_AVAILABLE_IN_2_72 GTlsCertificateg_tls_certificate_new_from_pkcs12 (const guint8 *data, gsize length, const gchar *password, GError **error)
 
GIO_AVAILABLE_IN_2_72 GTlsCertificateg_tls_certificate_new_from_file_with_password (const gchar *file, const gchar *password, GError **error)
 
GIO_AVAILABLE_IN_ALL GTlsCertificateg_tls_certificate_new_from_file (const gchar *file, GError **error)
 
GIO_AVAILABLE_IN_ALL GTlsCertificateg_tls_certificate_new_from_files (const gchar *cert_file, const gchar *key_file, GError **error)
 
GIO_AVAILABLE_IN_2_68 GTlsCertificateg_tls_certificate_new_from_pkcs11_uris (const gchar *pkcs11_uri, const gchar *private_key_pkcs11_uri, GError **error)
 
GIO_AVAILABLE_IN_ALL GListg_tls_certificate_list_new_from_file (const gchar *file, GError **error)
 
GIO_AVAILABLE_IN_ALL GTlsCertificateg_tls_certificate_get_issuer (GTlsCertificate *cert)
 
GIO_AVAILABLE_IN_ALL GTlsCertificateFlags g_tls_certificate_verify (GTlsCertificate *cert, GSocketConnectable *identity, GTlsCertificate *trusted_ca)
 
GIO_AVAILABLE_IN_2_34 gboolean g_tls_certificate_is_same (GTlsCertificate *cert_one, GTlsCertificate *cert_two)
 
GIO_AVAILABLE_IN_2_70 GDateTimeg_tls_certificate_get_not_valid_before (GTlsCertificate *cert)
 
GIO_AVAILABLE_IN_2_70 GDateTimeg_tls_certificate_get_not_valid_after (GTlsCertificate *cert)
 
GIO_AVAILABLE_IN_2_70 gcharg_tls_certificate_get_subject_name (GTlsCertificate *cert)
 
GIO_AVAILABLE_IN_2_70 gcharg_tls_certificate_get_issuer_name (GTlsCertificate *cert)
 
GIO_AVAILABLE_IN_2_70 GPtrArrayg_tls_certificate_get_dns_names (GTlsCertificate *cert)
 
GIO_AVAILABLE_IN_2_70 GPtrArrayg_tls_certificate_get_ip_addresses (GTlsCertificate *cert)
 

Macro Definition Documentation

◆ G_IS_TLS_CERTIFICATE

#define G_IS_TLS_CERTIFICATE ( inst)    (G_TYPE_CHECK_INSTANCE_TYPE ((inst), G_TYPE_TLS_CERTIFICATE))

Definition at line 35 of file gtlscertificate.h.

◆ G_IS_TLS_CERTIFICATE_CLASS

#define G_IS_TLS_CERTIFICATE_CLASS ( class)    (G_TYPE_CHECK_CLASS_TYPE ((class), G_TYPE_TLS_CERTIFICATE))

Definition at line 36 of file gtlscertificate.h.

◆ G_TLS_CERTIFICATE

#define G_TLS_CERTIFICATE ( inst)    (G_TYPE_CHECK_INSTANCE_CAST ((inst), G_TYPE_TLS_CERTIFICATE, GTlsCertificate))

Definition at line 33 of file gtlscertificate.h.

◆ G_TLS_CERTIFICATE_CLASS

#define G_TLS_CERTIFICATE_CLASS ( class)    (G_TYPE_CHECK_CLASS_CAST ((class), G_TYPE_TLS_CERTIFICATE, GTlsCertificateClass))

Definition at line 34 of file gtlscertificate.h.

◆ G_TLS_CERTIFICATE_GET_CLASS

#define G_TLS_CERTIFICATE_GET_CLASS ( inst)    (G_TYPE_INSTANCE_GET_CLASS ((inst), G_TYPE_TLS_CERTIFICATE, GTlsCertificateClass))

Definition at line 37 of file gtlscertificate.h.

◆ G_TYPE_TLS_CERTIFICATE

#define G_TYPE_TLS_CERTIFICATE   (g_tls_certificate_get_type ())

Definition at line 32 of file gtlscertificate.h.

Typedef Documentation

◆ GTlsCertificateClass

Definition at line 39 of file gtlscertificate.h.

◆ GTlsCertificatePrivate

typedef struct _GTlsCertificatePrivate GTlsCertificatePrivate

Definition at line 40 of file gtlscertificate.h.

Function Documentation

◆ g_tls_certificate_get_dns_names()

GIO_AVAILABLE_IN_2_70 GPtrArray * g_tls_certificate_get_dns_names ( GTlsCertificate * cert)

◆ g_tls_certificate_get_ip_addresses()

GIO_AVAILABLE_IN_2_70 GPtrArray * g_tls_certificate_get_ip_addresses ( GTlsCertificate * cert)

◆ g_tls_certificate_get_issuer()

GIO_AVAILABLE_IN_ALL GTlsCertificate * g_tls_certificate_get_issuer ( GTlsCertificate * cert)

◆ g_tls_certificate_get_issuer_name()

GIO_AVAILABLE_IN_2_70 gchar * g_tls_certificate_get_issuer_name ( GTlsCertificate * cert)

◆ g_tls_certificate_get_not_valid_after()

GIO_AVAILABLE_IN_2_70 GDateTime * g_tls_certificate_get_not_valid_after ( GTlsCertificate * cert)

◆ g_tls_certificate_get_not_valid_before()

GIO_AVAILABLE_IN_2_70 GDateTime * g_tls_certificate_get_not_valid_before ( GTlsCertificate * cert)

◆ g_tls_certificate_get_subject_name()

GIO_AVAILABLE_IN_2_70 gchar * g_tls_certificate_get_subject_name ( GTlsCertificate * cert)

◆ g_tls_certificate_get_type()

GIO_AVAILABLE_IN_ALL GType g_tls_certificate_get_type ( void )

◆ g_tls_certificate_is_same()

GIO_AVAILABLE_IN_2_34 gboolean g_tls_certificate_is_same ( GTlsCertificate * cert_one,
GTlsCertificate * cert_two )

◆ g_tls_certificate_list_new_from_file()

GIO_AVAILABLE_IN_ALL GList * g_tls_certificate_list_new_from_file ( const gchar * file,
GError ** error )

◆ g_tls_certificate_new_from_file()

GIO_AVAILABLE_IN_ALL GTlsCertificate * g_tls_certificate_new_from_file ( const gchar * file,
GError ** error )

◆ g_tls_certificate_new_from_file_with_password()

GIO_AVAILABLE_IN_2_72 GTlsCertificate * g_tls_certificate_new_from_file_with_password ( const gchar * file,
const gchar * password,
GError ** error )

◆ g_tls_certificate_new_from_files()

GIO_AVAILABLE_IN_ALL GTlsCertificate * g_tls_certificate_new_from_files ( const gchar * cert_file,
const gchar * key_file,
GError ** error )

◆ g_tls_certificate_new_from_pem()

GIO_AVAILABLE_IN_ALL GTlsCertificate * g_tls_certificate_new_from_pem ( const gchar * data,
gssize length,
GError ** error )

◆ g_tls_certificate_new_from_pkcs11_uris()

GIO_AVAILABLE_IN_2_68 GTlsCertificate * g_tls_certificate_new_from_pkcs11_uris ( const gchar * pkcs11_uri,
const gchar * private_key_pkcs11_uri,
GError ** error )

◆ g_tls_certificate_new_from_pkcs12()

GIO_AVAILABLE_IN_2_72 GTlsCertificate * g_tls_certificate_new_from_pkcs12 ( const guint8 * data,
gsize length,
const gchar * password,
GError ** error )

◆ g_tls_certificate_verify()

GIO_AVAILABLE_IN_ALL GTlsCertificateFlags g_tls_certificate_verify ( GTlsCertificate * cert,
GSocketConnectable * identity,
GTlsCertificate * trusted_ca )