gnutls_pkcs11_token_get_url(3)

gnutls_pkcs11_token_get_url3

Api function

Usage

#include <gnutls/pkcs11.h>

int gnutls_pkcs11_token_get_url(unsigned int seq, gnutls_pkcs11_url_type_t detailed, char ** url);

Arguments

unsigned int seq

sequence number starting from 0

gnutls_pkcs11_url_type_t detailed

non zero if a detailed URL is required

char ** url

will contain an allocated url

Overview

This function will return the URL for each token available in system. The url has to be released using gnutls_free()

Returns

On success, GNUTLS_E_SUCCESS (0) is returned, GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE if the sequence number exceeds the available tokens, otherwise a negative error value.

Since

2.12.0

Releases

7 releases since Debian 8 (Jessie); the text changed 6 times.

  1. 8
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13
  7. Arch

Reporting bugs

Report bugs to <[email protected]>.
Home page: https://www.gnutls.org

From gnutls 3.8.13-3 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.