gnutls_certificate_set_openpgp_key_mem
NAMESYNOPSIS
ARGUMENTS
DESCRIPTION
RETURNS
REPORTING BUGS
COPYRIGHT
SEE ALSO
NAME
gnutls_certificate_set_openpgp_key_mem − API function
SYNOPSIS
#include <gnutls/openpgp.h>
int gnutls_certificate_set_openpgp_key_mem(gnutls_certificate_credentials_t res, const gnutls_datum_t * cert, const gnutls_datum_t * key, gnutls_openpgp_crt_fmt_t format);
ARGUMENTS
gnutls_certificate_credentials_t res
the destination context to save the data.
const gnutls_datum_t * cert
the datum that contains the public key.
const gnutls_datum_t * key
the datum that contains the secret key.
gnutls_openpgp_crt_fmt_t format
the format of the keys
DESCRIPTION
This funtion is used to load OpenPGP keys into the GnuTLS credential structure. The datum should contain at least one valid non encrypted subkey.
RETURNS
On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative error value.
REPORTING BUGS
Report bugs to <bug-gnutls@gnu.org>. GnuTLS home page: http://www.gnu.org/software/gnutls/ General help using GNU software: http://www.gnu.org/gethelp/
COPYRIGHT
Copyright
© 2008 Free Software Foundation.
Copying and distribution of this file, with or without
modification, are permitted in any medium without royalty
provided the copyright notice and this notice are
preserved.
SEE ALSO
The full documentation for gnutls is maintained as a Texinfo manual. If the info and gnutls programs are properly installed at your site, the command
info gnutls
should give you access to the complete manual.
More Linux Commands
manpages/wall.1.html
wall(1) - write a message to users - Linux manual page......
wall displays a message, or the contents of a file, or otherwise its standard input, on the terminals of all currently logged in users. The command will wrap li
manpages/chacl.1.html
chacl(1) - change the access control list of a file or direc
chacl is an IRIX-compatibility command, and is maintained for those users who are familiar with its use from either XFS or IRIX. Refer to the SEE ALSO section b
manpages/mq_send.3.html
mq_send(3) - send a message to a message queue (Man Page)...
mq_send() adds the message pointed to by msg_ptr to the message queue referred to by the descriptor mqdes. The msg_len argument specifies the length of the mess
manpages/perl561delta.1.html
perl561delta(1) - what's new for perl v5.6.x (Man Page).....
This document describes differences between the 5.005 release and the 5.6.1 release. Summary of changes between 5.6.0 and 5.6.1 This section contains a summary
manpages/XkbKeyGroupInfo.3.html
XkbKeyGroupInfo(3) - Returns the number of groups of symbols
The group_info field of an XkbSymMapRec is an encoded value containing the number of groups of symbols bound to the key as well as the specification of the trea
manpages/pam_verror.3.html
pam_verror(3) - display error messages to the user (ManPage)
The pam_error function prints error messages through the conversation function to the user. The pam_verror function performs the same task as pam_error() with t
manpages/ntfsfix.8.html
ntfsfix(8) - fix common errors and force Windows to check NT
ntfsfix is a utility that fixes some common NTFS problems. ntfsfix is NOT a Linux version of chkdsk. It only repairs some fundamental NTFS inconsistencies, rese
manpages/systemd-activate.8.html
systemd-activate(8) Test socket activation of daemons.......
systemd-activate can be used to launch a socket activated daemon from the command-line for testing purposes. It can also be used to launch single instances of t
manpages/gnutls_certificate_set_x509_trust_file.3.html
gnutls_certificate_set_x509_trust_file(3) - API function....
gnutls_certificate_set_x509_trust_file.3 - This function adds the trusted CAs in order to verify client or server certificates. In case of a client this is not
manpages/perl584delta.1.html
perl584delta(1) - what is new for perl v5.8.4 (Man Page)....
This document describes differences between the 5.8.3 release and the 5.8.4 release. Incompatible Changes Many minor bugs have been fixed. Scripts which happen
manpages/mzip.1.html
mzip(1) - change protection mode and eject disk on Zip/Jaz d
The mzip command is used to issue ZIP disk specific commands on Linux, Solaris or HP-UX. Its syntax is: mzip [-epqrwx] Mzip allows the following command line op
manpages/fcntl64.2.html
fcntl64(2) - manipulate file descriptor - Linux manual page
fcntl() performs one of the operations described below on the open file descriptor fd. The operation is determined by cmd. fcntl() can take an optional third ar
