gnutls_tpm_key_list_get_url man page

gnutls_tpm_key_list_get_url — API function

Synopsis

#include <gnutls/tpm.h>

int gnutls_tpm_key_list_get_url(gnutls_tpm_key_list_t list, unsigned int idx, char ** url, unsigned int flags);

Arguments

gnutls_tpm_key_list_t list
a list of the keys
unsigned int idx
The index of the key (starting from zero)
char ** url
The URL to be returned
unsigned int flags
should be zero

Description

This function will return for each given index a URL of the corresponding key. If the provided index is out of bounds then GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE is returned.

Returns

On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative error value.

Since

3.1.0

Reporting Bugs

Report bugs to <bugs@gnutls.org>.
Home page: http://www.gnutls.org

See Also

The full documentation for gnutls is maintained as a Texinfo manual. If the /usr/share/doc/gnutls/ directory does not contain the HTML form visit

http://www.gnutls.org/manual/

Info

3.5.5 gnutls gnutls