<!-- ##### SECTION Title ##### -->
pkcs11

<!-- ##### SECTION Short_Description ##### -->


<!-- ##### SECTION Long_Description ##### -->
<para>

</para>

<!-- ##### SECTION See_Also ##### -->
<para>

</para>

<!-- ##### SECTION Stability_Level ##### -->


<!-- ##### SECTION Image ##### -->


<!-- ##### MACRO GNUTLS_PKCS11_FLAG_AUTO ##### -->
<para>

</para>



<!-- ##### MACRO GNUTLS_PKCS11_FLAG_MANUAL ##### -->
<para>

</para>



<!-- ##### MACRO GNUTLS_PKCS11_MAX_PIN_LEN ##### -->
<para>

</para>



<!-- ##### MACRO GNUTLS_PKCS11_TOKEN_HW ##### -->
<para>

</para>



<!-- ##### FUNCTION gnutls_pkcs11_add_provider ##### -->
<para>

</para>

@name: 
@params: 
@Returns: 


<!-- ##### FUNCTION gnutls_pkcs11_copy_secret_key ##### -->
<para>

</para>

@token_url: 
@key: 
@label: 
@key_usage: 
@flags: 
@Returns: 


<!-- ##### FUNCTION gnutls_pkcs11_copy_x509_crt ##### -->
<para>

</para>

@token_url: 
@crt: 
@label: 
@flags: 
@Returns: 


<!-- ##### FUNCTION gnutls_pkcs11_copy_x509_privkey ##### -->
<para>

</para>

@token_url: 
@key: 
@label: 
@key_usage: 
@flags: 
@Returns: 


<!-- ##### FUNCTION gnutls_pkcs11_deinit ##### -->
<para>

</para>

@void: 


<!-- ##### FUNCTION gnutls_pkcs11_delete_url ##### -->
<para>

</para>

@object_url: 
@flags: 
@Returns: 


<!-- ##### FUNCTION gnutls_pkcs11_get_pin_function ##### -->
<para>

</para>

@userdata: 
@Returns: 


<!-- ##### FUNCTION gnutls_pkcs11_init ##### -->
<para>

</para>

@flags: 
@deprecated_config_file: 
@Returns: 


<!-- ##### ENUM gnutls_pkcs11_obj_attr_t ##### -->
<para>

</para>

@GNUTLS_PKCS11_OBJ_ATTR_CRT_ALL: 
@GNUTLS_PKCS11_OBJ_ATTR_CRT_TRUSTED: 
@GNUTLS_PKCS11_OBJ_ATTR_CRT_WITH_PRIVKEY: 
@GNUTLS_PKCS11_OBJ_ATTR_PUBKEY: 
@GNUTLS_PKCS11_OBJ_ATTR_PRIVKEY: 
@GNUTLS_PKCS11_OBJ_ATTR_ALL: 
@GNUTLS_PKCS11_OBJ_ATTR_CRT_TRUSTED_CA: 
@GNUTLS_PKCS11_OBJ_ATTR_MATCH: 

<!-- ##### FUNCTION gnutls_pkcs11_obj_deinit ##### -->
<para>

</para>

@obj: 


<!-- ##### FUNCTION gnutls_pkcs11_obj_export ##### -->
<para>

</para>

@obj: 
@output_data: 
@output_data_size: 
@Returns: 


<!-- ##### FUNCTION gnutls_pkcs11_obj_export2 ##### -->
<para>

</para>

@obj: 
@out: 
@Returns: 


<!-- ##### FUNCTION gnutls_pkcs11_obj_export_url ##### -->
<para>

</para>

@obj: 
@detailed: 
@url: 
@Returns: 


<!-- ##### FUNCTION gnutls_pkcs11_obj_get_info ##### -->
<para>

</para>

@crt: 
@itype: 
@output: 
@output_size: 
@Returns: 


<!-- ##### FUNCTION gnutls_pkcs11_obj_import_url ##### -->
<para>

</para>

@obj: 
@url: 
@flags: 
@Returns: 


<!-- ##### ENUM gnutls_pkcs11_obj_info_t ##### -->
<para>

</para>

@GNUTLS_PKCS11_OBJ_ID_HEX: 
@GNUTLS_PKCS11_OBJ_LABEL: 
@GNUTLS_PKCS11_OBJ_TOKEN_LABEL: 
@GNUTLS_PKCS11_OBJ_TOKEN_SERIAL: 
@GNUTLS_PKCS11_OBJ_TOKEN_MANUFACTURER: 
@GNUTLS_PKCS11_OBJ_TOKEN_MODEL: 
@GNUTLS_PKCS11_OBJ_ID: 
@GNUTLS_PKCS11_OBJ_LIBRARY_VERSION: 
@GNUTLS_PKCS11_OBJ_LIBRARY_DESCRIPTION: 
@GNUTLS_PKCS11_OBJ_LIBRARY_MANUFACTURER: 

<!-- ##### FUNCTION gnutls_pkcs11_obj_init ##### -->
<para>

</para>

@obj: 
@Returns: 


<!-- ##### FUNCTION gnutls_pkcs11_obj_list_import_url ##### -->
<para>

</para>

@p_list: 
@n_list: 
@url: 
@attrs: 
@flags: 
@Returns: 


<!-- ##### FUNCTION gnutls_pkcs11_obj_list_import_url2 ##### -->
<para>

</para>

@p_list: 
@n_list: 
@url: 
@attrs: 
@flags: 
@Returns: 


<!-- ##### FUNCTION gnutls_pkcs11_obj_set_pin_function ##### -->
<para>

</para>

@obj: 
@fn: 
@userdata: 


<!-- ##### STRUCT gnutls_pkcs11_obj_st ##### -->
<para>

</para>

@raw: 
@type: 
@flags: 
@info: 
@pubkey: 
@pk_algorithm: 
@key_usage: 
@pin: 

<!-- ##### TYPEDEF gnutls_pkcs11_obj_t ##### -->
<para>

</para>


<!-- ##### ENUM gnutls_pkcs11_obj_type_t ##### -->
<para>

</para>

@GNUTLS_PKCS11_OBJ_UNKNOWN: 
@GNUTLS_PKCS11_OBJ_X509_CRT: 
@GNUTLS_PKCS11_OBJ_PUBKEY: 
@GNUTLS_PKCS11_OBJ_PRIVKEY: 
@GNUTLS_PKCS11_OBJ_SECRET_KEY: 
@GNUTLS_PKCS11_OBJ_DATA: 
@GNUTLS_PKCS11_OBJ_X509_CRT_EXTENSION: 

<!-- ##### FUNCTION gnutls_pkcs11_privkey_deinit ##### -->
<para>

</para>

@key: 


<!-- ##### FUNCTION gnutls_pkcs11_privkey_export_url ##### -->
<para>

</para>

@key: 
@detailed: 
@url: 
@Returns: 


<!-- ##### FUNCTION gnutls_pkcs11_privkey_generate ##### -->
<para>

</para>

@url: 
@pk: 
@bits: 
@label: 
@flags: 
@Returns: 


<!-- ##### FUNCTION gnutls_pkcs11_privkey_generate2 ##### -->
<para>

</para>

@url: 
@pk: 
@bits: 
@label: 
@fmt: 
@pubkey: 
@flags: 
@Returns: 


<!-- ##### FUNCTION gnutls_pkcs11_privkey_get_info ##### -->
<para>

</para>

@pkey: 
@itype: 
@output: 
@output_size: 
@Returns: 


<!-- ##### FUNCTION gnutls_pkcs11_privkey_get_pk_algorithm ##### -->
<para>

</para>

@key: 
@bits: 
@Returns: 


<!-- ##### FUNCTION gnutls_pkcs11_privkey_import_url ##### -->
<para>

</para>

@pkey: 
@url: 
@flags: 
@Returns: 


<!-- ##### FUNCTION gnutls_pkcs11_privkey_init ##### -->
<para>

</para>

@key: 
@Returns: 


<!-- ##### FUNCTION gnutls_pkcs11_privkey_set_pin_function ##### -->
<para>

</para>

@key: 
@fn: 
@userdata: 


<!-- ##### FUNCTION gnutls_pkcs11_reinit ##### -->
<para>

</para>

@void: 
@Returns: 


<!-- ##### FUNCTION gnutls_pkcs11_set_pin_function ##### -->
<para>

</para>

@fn: 
@userdata: 


<!-- ##### FUNCTION gnutls_pkcs11_set_token_function ##### -->
<para>

</para>

@fn: 
@userdata: 


<!-- ##### USER_FUNCTION gnutls_pkcs11_token_callback_t ##### -->
<para>

</para>

@userdata: 
@label: 
@retry: 
@Returns: 


<!-- ##### FUNCTION gnutls_pkcs11_token_get_flags ##### -->
<para>

</para>

@url: 
@flags: 
@Returns: 


<!-- ##### FUNCTION gnutls_pkcs11_token_get_info ##### -->
<para>

</para>

@url: 
@ttype: 
@output: 
@output_size: 
@Returns: 


<!-- ##### FUNCTION gnutls_pkcs11_token_get_mechanism ##### -->
<para>

</para>

@url: 
@idx: 
@mechanism: 
@Returns: 


<!-- ##### FUNCTION gnutls_pkcs11_token_get_url ##### -->
<para>

</para>

@seq: 
@detailed: 
@url: 
@Returns: 


<!-- ##### ENUM gnutls_pkcs11_token_info_t ##### -->
<para>

</para>

@GNUTLS_PKCS11_TOKEN_LABEL: 
@GNUTLS_PKCS11_TOKEN_SERIAL: 
@GNUTLS_PKCS11_TOKEN_MANUFACTURER: 
@GNUTLS_PKCS11_TOKEN_MODEL: 

<!-- ##### FUNCTION gnutls_pkcs11_token_init ##### -->
<para>

</para>

@token_url: 
@so_pin: 
@label: 
@Returns: 


<!-- ##### FUNCTION gnutls_pkcs11_token_set_pin ##### -->
<para>

</para>

@token_url: 
@oldpin: 
@newpin: 
@flags: 
@Returns: 


<!-- ##### FUNCTION gnutls_pkcs11_type_get_name ##### -->
<para>

</para>

@type: 
@Returns: 


<!-- ##### ENUM gnutls_pkcs11_url_type_t ##### -->
<para>

</para>

@GNUTLS_PKCS11_URL_GENERIC: 
@GNUTLS_PKCS11_URL_LIB: 
@GNUTLS_PKCS11_URL_LIB_VERSION: 

<!-- ##### FUNCTION gnutls_x509_crt_import_pkcs11 ##### -->
<para>

</para>

@crt: 
@pkcs11_crt: 
@Returns: 


<!-- ##### FUNCTION gnutls_x509_crt_import_pkcs11_url ##### -->
<para>

</para>

@crt: 
@url: 
@flags: 
@Returns: 


<!-- ##### FUNCTION gnutls_x509_crt_list_import_pkcs11 ##### -->
<para>

</para>

@certs: 
@cert_max: 
@objs: 
@flags: 
@Returns: 


