summaryrefslogtreecommitdiffstats
path: root/doc/functions/gnutls_privkey_set_flags
diff options
context:
space:
mode:
Diffstat (limited to 'doc/functions/gnutls_privkey_set_flags')
-rw-r--r--doc/functions/gnutls_privkey_set_flags15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/functions/gnutls_privkey_set_flags b/doc/functions/gnutls_privkey_set_flags
new file mode 100644
index 0000000..dc98715
--- /dev/null
+++ b/doc/functions/gnutls_privkey_set_flags
@@ -0,0 +1,15 @@
+
+
+
+
+@deftypefun {void} {gnutls_privkey_set_flags} (gnutls_privkey_t @var{key}, unsigned int @var{flags})
+@var{key}: A key of type @code{gnutls_privkey_t}
+
+@var{flags}: flags from the @code{gnutls_privkey_flags}
+
+This function will set flags for the specified private key, after
+it is generated. Currently this is useful for the @code{GNUTLS_PRIVKEY_FLAG_EXPORT_COMPAT}
+to allow exporting a "provable" private key in backwards compatible way.
+
+@strong{Since:} 3.5.0
+@end deftypefun