gnutls_pkcs12_export
NAMESYNOPSIS
ARGUMENTS
DESCRIPTION
RETURNS
REPORTING BUGS
COPYRIGHT
SEE ALSO
NAME
gnutls_pkcs12_export − API function
SYNOPSIS
#include <gnutls/pkcs12.h>
int gnutls_pkcs12_export(gnutls_pkcs12_t pkcs12, gnutls_x509_crt_fmt_t format, void * output_data, size_t * output_data_size);
ARGUMENTS
gnutls_pkcs12_t pkcs12
Holds the pkcs12 structure
gnutls_x509_crt_fmt_t format
the format of output params. One of PEM or DER.
void * output_data
will contain a structure PEM or DER encoded
size_t * output_data_size
holds the size of output_data (and will be replaced by the actual size of parameters)
DESCRIPTION
This function will export the pkcs12 structure to DER or PEM format.
If the buffer provided is not long enough to hold the output, then *output_data_size will be updated and GNUTLS_E_SHORT_MEMORY_BUFFER will be returned.
If the structure is PEM encoded, it will have a header of "BEGIN PKCS12".
RETURNS
In case of failure a negative error code will be returned, and 0 on success.
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/gnutls_certificate_server_set_retrieve_function.3.html
gnutls_certificate_server_set_retrieve_function.3...........
gnutls_certificate_server_set_retrieve_function.3 - This function sets a callback to be called in order to retrieve the certificate to be used in the handshake.
manpages/CPU_SET_S.3.html
CPU_SET_S(3) - macros for manipulating CPU sets (Man Page)
The cpu_set_t data structure represents a set of CPUs. CPU sets are used by sched_setaffinity(2) and similar interfaces. The cpu_set_t data type is implemented
manpages/audit_log_user_avc_message.3.html
audit_log_user_avc_message(3) - log a user avc message......
This function will log a message to the audit system using a predefined message format. This function should be used by all apps that are SE Linux object manage
manpages/keyctl_get_keyring_ID.3.html
keyctl_get_keyring_ID(3) - Get the ID of a special keyring
keyctl_get_keyring_ID() maps a special key or keyring ID to the serial number of the key actually representing that feature. The serial number will be returned
manpages/glEnable.3gl.html
glEnable(3gl) - enable or disable server-side GL capabilitie
glEnable and glDisable enable and disable various capabilities. Use glIsEnabled or glGet to determine the current setting of any capability. The initial value f
manpages/securetty.5.html
securetty(5) - file which lists ttys from which root can log
The file /etc/securetty is used by (some versions of) login(1). The file contains the device names of terminal lines (one per line, without leading /dev/) on wh
manpages/pamfix.1.html
pamfix(1) repair a Netpbm image with various corruptions....
This program is part of Netpbm(1) pamfix reads a stream that is mostly a Netpbm image but may have certain types of corruptions and produces a valid Netpbm imag
manpages/isendwin.3ncurses.html
isendwin(3ncurses) - curses screen initialization and manipu
initscr is normally the first curses routine to call when initializing a program. A few special routines sometimes need to be called before it; these are slk_in
manpages/lua5.2.1.html
lua5.2(1) Lua interpreter (Commands - Linux manual page)....
lua is the standalone Lua interpreter. It loads and executes Lua programs, either in textual source form or in precompiled binary form. (Precompiled binaries ar
manpages/gnutls_pkcs7_init.3.html
gnutls_pkcs7_init(3) - API function - Linux manual page.....
This function will initialize a PKCS7 structure. PKCS7 structures usually contain lists of X.509 Certificates and X.509 Certificate revocation lists. RETURNS On
manpages/XtVaAppInitialize.3.html
XtVaAppInitialize(3) - initialize, open, or close a display
The XtAppInitialize function calls XtToolkitInitialize followed by XtCreateApplicationContext, then calls XtOpenDisplay with display_string NULL and application
manpages/XtWindowOfObject.3.html
XtWindowOfObject(3) - obtain window information about a widg
XtDisplay returns the display pointer for the specified widget. XtDisplayOfObject returns the display pointer for the specified object. XtScreen returns the scr
