Blame doc/functions/gnutls_privkey_export_pkcs11

Packit Service 4684c1
Packit Service 4684c1
Packit Service 4684c1
Packit Service 4684c1
Packit Service 4684c1
@deftypefun {int} {gnutls_privkey_export_pkcs11} (gnutls_privkey_t @var{pkey}, gnutls_pkcs11_privkey_t * @var{key})
Packit Service 4684c1
@var{pkey}: The private key
Packit Service 4684c1
Packit Service 4684c1
@var{key}: Location for the key to be exported.
Packit Service 4684c1
Packit Service 4684c1
Converts the given abstract private key to a @code{gnutls_pkcs11_privkey_t} 
Packit Service 4684c1
type. The key must be of type @code{GNUTLS_PRIVKEY_PKCS11} . The key
Packit Service 4684c1
returned in  @code{key} must be deinitialized with
Packit Service 4684c1
@code{gnutls_pkcs11_privkey_deinit()} .
Packit Service 4684c1
Packit Service 4684c1
@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS}  (0) is returned, otherwise a
Packit Service 4684c1
negative error value.
Packit Service 4684c1
Packit Service 4684c1
@strong{Since:} 3.4.0
Packit Service 4684c1
@end deftypefun