diff options
Diffstat (limited to 'doc/functions/gnutls_pubkey_get_key_usage')
-rw-r--r-- | doc/functions/gnutls_pubkey_get_key_usage | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/functions/gnutls_pubkey_get_key_usage b/doc/functions/gnutls_pubkey_get_key_usage new file mode 100644 index 0000000..faa4d5d --- /dev/null +++ b/doc/functions/gnutls_pubkey_get_key_usage @@ -0,0 +1,16 @@ + + + + +@deftypefun {int} {gnutls_pubkey_get_key_usage} (gnutls_pubkey_t @var{key}, unsigned int * @var{usage}) +@var{key}: should contain a @code{gnutls_pubkey_t} type + +@var{usage}: If set will return the number of bits of the parameters (may be NULL) + +This function will return the key usage of the public key. + +@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS} (0) is returned, otherwise a +negative error value. + +@strong{Since:} 2.12.0 +@end deftypefun |