gnutls_pkcs11_privkey_export_url3
Api function
Usage
#include <gnutls/pkcs11.h>
int gnutls_pkcs11_privkey_export_url(gnutls_pkcs11_privkey_t key, gnutls_pkcs11_url_type_t detailed, char ** url);
Arguments
gnutls_pkcs11_privkey_t key
|
Holds the PKCS 11 key |
|---|---|
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 export a URL identifying the given key.
Returns
On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative error value.
Releases
7 releases since Debian 8 (Jessie); the text changed 6 times.