diff options
author | Patrick Griffis <pgriffis@igalia.com> | 2020-09-25 12:40:14 -0700 |
---|---|---|
committer | Philip Withnall <pwithnall@endlessos.org> | 2020-10-01 17:09:04 +0100 |
commit | f9fc29f0b701b9c1ed869ad7cd490547d91698cd (patch) | |
tree | 1e60761a079106c6cdd3b65d6c61fe794e7b4af9 /gio/gtlscertificate.h | |
parent | 42961e819dbc1838d6d6e731f62fd992a8b33125 (diff) | |
download | glib-f9fc29f0b701b9c1ed869ad7cd490547d91698cd.tar.gz |
gtlscertificate: Add support for PKCS #11 backed certificates
This reverts commit d58e5de9e9c8d93e64d34aa8a7100bdfbc9b8dac.
Diffstat (limited to 'gio/gtlscertificate.h')
-rw-r--r-- | gio/gtlscertificate.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gio/gtlscertificate.h b/gio/gtlscertificate.h index a064543c4..ead4f015e 100644 --- a/gio/gtlscertificate.h +++ b/gio/gtlscertificate.h @@ -71,6 +71,11 @@ GLIB_AVAILABLE_IN_ALL GTlsCertificate *g_tls_certificate_new_from_files (const gchar *cert_file, const gchar *key_file, GError **error); +GLIB_AVAILABLE_IN_2_68 +GTlsCertificate *g_tls_certificate_new_from_pkcs11_uris (const gchar *pkcs11_uri, + const gchar *private_key_pkcs11_uri, + GError **error); + GLIB_AVAILABLE_IN_ALL GList *g_tls_certificate_list_new_from_file (const gchar *file, GError **error); |