mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-02 07:23:41 +02:00
gtlscertificate: Add ability to load PKCS #12 encrypted files
This depends on the GTlsBackend implementing these properties
This commit is contained in:
@@ -63,7 +63,15 @@ GLIB_AVAILABLE_IN_ALL
|
||||
GTlsCertificate *g_tls_certificate_new_from_pem (const gchar *data,
|
||||
gssize length,
|
||||
GError **error);
|
||||
|
||||
GLIB_AVAILABLE_IN_2_72
|
||||
GTlsCertificate *g_tls_certificate_new_from_pkcs12 (const guint8 *data,
|
||||
gsize length,
|
||||
const gchar *password,
|
||||
GError **error);
|
||||
GLIB_AVAILABLE_IN_2_72
|
||||
GTlsCertificate *g_tls_certificate_new_from_file_with_password (const gchar *file,
|
||||
const gchar *password,
|
||||
GError **error);
|
||||
GLIB_AVAILABLE_IN_ALL
|
||||
GTlsCertificate *g_tls_certificate_new_from_file (const gchar *file,
|
||||
GError **error);
|
||||
|
Reference in New Issue
Block a user