Blame doc/functions/gnutls_pubkey_import_tpm_raw
|
Packit |
aea12f |
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
@deftypefun {int} {gnutls_pubkey_import_tpm_raw} (gnutls_pubkey_t @var{pkey}, const gnutls_datum_t * @var{fdata}, gnutls_tpmkey_fmt_t @var{format}, const char * @var{srk_password}, unsigned int @var{flags})
|
|
Packit |
aea12f |
@var{pkey}: The public key
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
@var{fdata}: The TPM key to be imported
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
@var{format}: The format of the private key
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
@var{srk_password}: The password for the SRK key (optional)
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
@var{flags}: One of the GNUTLS_PUBKEY_* flags
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
This function will import the public key from the provided TPM key
|
|
Packit |
aea12f |
structure.
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
With respect to passwords the same as in
|
|
Packit |
aea12f |
@code{gnutls_pubkey_import_tpm_url()} apply.
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS} (0) is returned, otherwise a
|
|
Packit |
aea12f |
negative error value.
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
@strong{Since:} 3.1.0
|
|
Packit |
aea12f |
@end deftypefun
|