Blame doc/functions/gnutls_pkcs11_obj_export

Packit Service 4684c1
Packit Service 4684c1
Packit Service 4684c1
Packit Service 4684c1
Packit Service 4684c1
@deftypefun {int} {gnutls_pkcs11_obj_export} (gnutls_pkcs11_obj_t @var{obj}, void * @var{output_data}, size_t * @var{output_data_size})
Packit Service 4684c1
@var{obj}: Holds the object
Packit Service 4684c1
Packit Service 4684c1
@var{output_data}: will contain the object data
Packit Service 4684c1
Packit Service 4684c1
@var{output_data_size}: holds the size of output_data (and will be
Packit Service 4684c1
replaced by the actual size of parameters)
Packit Service 4684c1
Packit Service 4684c1
This function will export the PKCS11 object data.  It is normal for
Packit Service 4684c1
data to be inaccessible and in that case @code{GNUTLS_E_INVALID_REQUEST} 
Packit Service 4684c1
will be returned.
Packit Service 4684c1
Packit Service 4684c1
If the buffer provided is not long enough to hold the output, then
Packit Service 4684c1
*output_data_size is updated and GNUTLS_E_SHORT_MEMORY_BUFFER will
Packit Service 4684c1
be returned.
Packit Service 4684c1
Packit Service 4684c1
@strong{Returns:} In case of failure a negative error code will be
Packit Service 4684c1
returned, and @code{GNUTLS_E_SUCCESS}  (0) on success.
Packit Service 4684c1
Packit Service 4684c1
@strong{Since:} 2.12.0
Packit Service 4684c1
@end deftypefun