summaryrefslogtreecommitdiff
path: root/libnm-core/nm-keyfile-internal.h
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2016-12-19 12:48:49 +0100
committerLubomir Rintel <lkundrak@v3.sk>2017-01-06 15:56:11 +0100
commitfaed200b2b3a7247f1fb082271ff05423219ba82 (patch)
treeb0a174a4a558bdb3c46fdc5bcd7b9bea8ce045ed /libnm-core/nm-keyfile-internal.h
parent690e33bdf287b5952740925d0e208da4d1d3712e (diff)
downloadNetworkManager-faed200b2b3a7247f1fb082271ff05423219ba82.tar.gz
keyfile: add support for pkcs11: URI scheme
Diffstat (limited to 'libnm-core/nm-keyfile-internal.h')
-rw-r--r--libnm-core/nm-keyfile-internal.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libnm-core/nm-keyfile-internal.h b/libnm-core/nm-keyfile-internal.h
index 1bf24be8d0..30c6c200d6 100644
--- a/libnm-core/nm-keyfile-internal.h
+++ b/libnm-core/nm-keyfile-internal.h
@@ -29,8 +29,9 @@
/*****************************************************************************/
-#define NM_KEYFILE_CERT_SCHEME_PREFIX_BLOB "data:;base64,"
#define NM_KEYFILE_CERT_SCHEME_PREFIX_PATH "file://"
+#define NM_KEYFILE_CERT_SCHEME_PREFIX_PKCS11 "pkcs11:"
+#define NM_KEYFILE_CERT_SCHEME_PREFIX_BLOB "data:;base64,"
char *nm_keyfile_detect_unqualified_path_scheme (const char *base_dir,
gconstpointer pdata,
@@ -147,6 +148,7 @@ typedef struct {
NMSetting8021xCKFormat (*format_func) (NMSetting8021x *setting);
const char * (*path_func) (NMSetting8021x *setting);
GBytes * (*blob_func) (NMSetting8021x *setting);
+ const char * (*uri_func) (NMSetting8021x *setting);
} NMKeyfileWriteTypeDataCert;