gnutls_openpgp_trustdb_import_file(3)

gnutls_openpgp_trustdb_import_file3

This function will import a raw or base64 encoded key

Usage

#include <gnutls/openpgp.h>

int gnutls_openpgp_trustdb_import_file(gnutls_openpgp_trustdb_t trustdb, const char * file);

Arguments

gnutls_openpgp_trustdb_t trustdb

The structure to store the parsed key.

const char * file

The file that holds the trustdb.

Overview

This function will convert the given RAW or Base64 encoded trustdb to the native gnutls_openpgp_trustdb_t format. The output will be stored in 'trustdb'.

Returns 0 on success.

Reporting bugs

Report bugs to <[email protected]>.

From gnutls-doc 1.4.4-3+etch5 in Debian 4.0 (Etch). Parsed by carta from the page's man source.