gnutls_pubkey_export − API function
int gnutls_pubkey_export(gnutls_pubkey_t key, gnutls_x509_crt_fmt_t format, void * output_data, size_t * output_data_size);
Holds the certificate
the format of output params. One of PEM or DER.
void * output_data
will contain a certificate 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)
This function will export the certificate to DER or PEM format.
If the buffer provided is not long enough to hold the output, then *output_data_size is updated and GNUTLS_E_SHORT_MEMORY_BUFFER will be returned.
If the structure is PEM encoded, it will have a header of "BEGIN CERTIFICATE".
In case of failure a negative error code will be returned, and 0 on success.
Report bugs to <firstname.lastname@example.org>. GnuTLS home page: http://www.gnu.org/software/gnutls/ General help using GNU software: http://www.gnu.org/gethelp/
© 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.
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
should give you access to the complete manual.
More Linux Commands
gnutls_anon_free_server_credentials(3) - API function.......
gnutls_anon_free_server_credentials.3 - This structure is complex enough to manipulate directly thus this helper function is provided in order to free (dealloca
perl5181delta(1) what is new for perl v5.18.1 (Man Page)....
This document describes differences between the 5.18.0 release and the 5.18.1 release. If you are upgrading from an earlier release such as 5.16.0, first read p
Tcl_FSAccess(3) - procedures to interact with any filesystem
There are several reasons for calling the Tcl_FS API functions (e.g. Tcl_FSAccess and Tcl_FSStat) rather than calling system level functions like access and sta
glMultiTexCoord4dARB(3gl) - set the current texture coordina
glMultiTexCoordARB specifies texture coordinates in one, two, three, or four dimensions. glMultiTexCoord1ARB sets the current texture coordinates to (s, 0, 0, 1
Devel::SelfStubber(3pm) - generate stubs for a SelfLoading m
Devel::SelfStubber prints the stubs you need to put in the module before the __DATA__ token (or you can get it to print the entire module with stubs correctly p
gnutls_pkcs11_delete_url(3) - API function - Linux man page
This function will delete objects matching the given URL. Note that not all tokens support the delete operation. RETURNS On success, the number of objects delet
brk(2) - change data segment size - Linux manual page.......
brk() and sbrk() change the location of the program break, which defines the end of the processs data segment (i.e., the program break is the first location aft
Tcl_SetWideIntObj(3) - manipulate Tcl objects as integer val
These procedures are used to create, modify, and read Tcl objects that &#9474; hold integral values. &#9474; The different routines exist to accommodate differe
pnmquantall(1) run Pnmquant on a bunch of files all at once,
This program is part of Netpbm(1) pnmquantall takes a bunch of Netpbm image files as input, chooses ncolors colors to best represent all of the images, maps the
Tcl_GetReturnOptions(3) - retrieve or record information abo
The Tcl_SetReturnOptions and Tcl_GetReturnOptions routines expose the &#9474; same capabilities as the return and catch commands, respectively, in &#9474; the f
statvfs(3) - get file system statistics - Linux manual page
The function statvfs() returns information about a mounted filesystem. path is the pathname of any file within the mounted filesystem. buf is a pointer to a sta
pkey(1ssl) public or private key processing tool (Man Page)
The pkey command processes public or private keys. They can be converted between various forms and their components printed out. COMMAND OPTIONS -inform DER|PEM