~ubuntu-branches/ubuntu/saucy/gnutls28/saucy

« back to all changes in this revision

Viewing changes to doc/functions/gnutls_privkey_import_openpgp_raw

  • Committer: Package Import Robot
  • Author(s): Jeremy Bicha
  • Date: 2013-07-30 21:40:07 UTC
  • mfrom: (14.1.9 saucy-proposed)
  • Revision ID: package-import@ubuntu.com-20130730214007-9mrd08xo61kla008
Tags: 3.2.3-1ubuntu1
* Sync with Debian (LP: #1068029). Remaining change:
  - Drop gnutls-bin and -doc since we want to use the versions
    in gnutls26 as the defaults instead

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
 
 
3
 
 
4
 
 
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
 
7
 
 
8
@var{data}: The private key data to be imported
 
9
 
 
10
@var{format}: The format of the private key
 
11
 
 
12
@var{keyid}: The key id to use (optional)
 
13
 
 
14
@var{password}: A password (optional)
 
15
 
 
16
This function will import the given private key to the abstract
 
17
@code{gnutls_privkey_t}  structure. 
 
18
 
 
19
@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS}  (0) is returned, otherwise a
 
20
negative error value.
 
21
 
 
22
@strong{Since:} 3.1.0
 
23
@end deftypefun