Debian Codegraph @

doc/functions/gnutls_x509_key_purpose_set

raw
1
2
3
4
5 @deftypefun {int} {gnutls_x509_key_purpose_set} (gnutls_x509_key_purposes_t @var{p}, const char * @var{oid})
6 @var{p}: The key purposes
7
8 @var{oid}: The object identifier of the key purpose
9
10 This function will store the specified key purpose in the
11 purposes.
12
13 @strong{Returns:} On success, @code{GNUTLS_E_SUCCESS} (0), otherwise a negative error value.
14
15 @strong{Since:} 3.3.0
16 @end deftypefun