Blame doc/functions/gnutls_pubkey_get_key_usage
|
Packit |
aea12f |
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
@deftypefun {int} {gnutls_pubkey_get_key_usage} (gnutls_pubkey_t @var{key}, unsigned int * @var{usage})
|
|
Packit |
aea12f |
@var{key}: should contain a @code{gnutls_pubkey_t} type
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
@var{usage}: If set will return the number of bits of the parameters (may be NULL)
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
This function will return the key usage of the public key.
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS} (0) is returned, otherwise a
|
|
Packit |
aea12f |
negative error value.
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
@strong{Since:} 2.12.0
|
|
Packit |
aea12f |
@end deftypefun
|