1
.\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
2
.TH "gnutls_privkey_import_tpm_raw" 3 "3.2.2" "gnutls" "gnutls"
4
gnutls_privkey_import_tpm_raw \- API function
6
.B #include <gnutls/abstract.h>
8
.BI "int gnutls_privkey_import_tpm_raw(gnutls_privkey_t " pkey ", const gnutls_datum_t * " fdata ", gnutls_tpmkey_fmt_t " format ", const char * " srk_password ", const char * " key_password ", unsigned int " flags ");"
10
.IP "gnutls_privkey_t pkey" 12
12
.IP "const gnutls_datum_t * fdata" 12
13
The TPM key to be imported
14
.IP "gnutls_tpmkey_fmt_t format" 12
15
The format of the private key
16
.IP "const char * srk_password" 12
17
The password for the SRK key (optional)
18
.IP "const char * key_password" 12
19
A password for the key (optional)
20
.IP "unsigned int flags" 12
23
This function will import the given private key to the abstract
24
\fBgnutls_privkey_t\fP structure.
26
With respect to passwords the same as in \fBgnutls_privkey_import_tpm_url()\fP apply.
28
On success, \fBGNUTLS_E_SUCCESS\fP (0) is returned, otherwise a
33
Report bugs to <bug-gnutls@gnu.org>.
35
General guidelines for reporting bugs: http://www.gnu.org/gethelp/
37
GnuTLS home page: http://www.gnu.org/software/gnutls/
40
Copyright \(co 2001-2013 Free Software Foundation, Inc..
42
Copying and distribution of this file, with or without modification,
43
are permitted in any medium without royalty provided the copyright
44
notice and this notice are preserved.
46
The full documentation for
48
is maintained as a Texinfo manual. If the
52
programs are properly installed at your site, the command
56
should give you access to the complete manual.
57
As an alternative you may obtain the manual from:
59
.B http://www.gnu.org/software/gnutls/manual/