summaryrefslogtreecommitdiffstats
path: root/doc/functions/gnutls_x509_key_purpose_set
diff options
context:
space:
mode:
Diffstat (limited to 'doc/functions/gnutls_x509_key_purpose_set')
-rw-r--r--doc/functions/gnutls_x509_key_purpose_set16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/functions/gnutls_x509_key_purpose_set b/doc/functions/gnutls_x509_key_purpose_set
new file mode 100644
index 0000000..346c60d
--- /dev/null
+++ b/doc/functions/gnutls_x509_key_purpose_set
@@ -0,0 +1,16 @@
+
+
+
+
+@deftypefun {int} {gnutls_x509_key_purpose_set} (gnutls_x509_key_purposes_t @var{p}, const char * @var{oid})
+@var{p}: The key purposes
+
+@var{oid}: The object identifier of the key purpose
+
+This function will store the specified key purpose in the
+purposes.
+
+@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS} (0), otherwise a negative error value.
+
+@strong{Since:} 3.3.0
+@end deftypefun