Blame doc/functions/gnutls_privkey_import_x509_raw

Packit Service 4684c1
Packit Service 4684c1
Packit Service 4684c1
Packit Service 4684c1
Packit Service 4684c1
@deftypefun {int} {gnutls_privkey_import_x509_raw} (gnutls_privkey_t @var{pkey}, const gnutls_datum_t * @var{data}, gnutls_x509_crt_fmt_t @var{format}, const char * @var{password}, unsigned int @var{flags})
Packit Service 4684c1
@var{pkey}: The private key
Packit Service 4684c1
Packit Service 4684c1
@var{data}: The private key data to be imported
Packit Service 4684c1
Packit Service 4684c1
@var{format}: The format of the private key
Packit Service 4684c1
Packit Service 4684c1
@var{password}: A password (optional)
Packit Service 4684c1
Packit Service 4684c1
@var{flags}: an ORed sequence of gnutls_pkcs_encrypt_flags_t
Packit Service 4684c1
Packit Service 4684c1
This function will import the given private key to the abstract
Packit Service 4684c1
@code{gnutls_privkey_t}  type. 
Packit Service 4684c1
Packit Service 4684c1
The supported formats are basic unencrypted key, PKCS8, PKCS12, 
Packit Service 4684c1
and the openssl format.
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.1.0
Packit Service 4684c1
@end deftypefun