5
@deftypefun {int} {gnutls_privkey_import_openpgp_raw} (gnutls_privkey_t @var{pkey}, const gnutls_datum_t * @var{data}, gnutls_openpgp_crt_fmt_t @var{format}, const gnutls_openpgp_keyid_t @var{keyid}, const char* @var{password})
6
@var{pkey}: The private key
8
@var{data}: The private key data to be imported
10
@var{format}: The format of the private key
12
@var{keyid}: The key id to use (optional)
14
@var{password}: A password (optional)
16
This function will import the given private key to the abstract
17
@code{gnutls_privkey_t} structure.
19
@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS} (0) is returned, otherwise a