gnutls_x509.h File Reference

#include <libtasn1.h>

Include dependency graph for gnutls_x509.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define PEM_CERT_SEP2   "-----BEGIN X509 CERTIFICATE"
#define PEM_CERT_SEP   "-----BEGIN CERTIFICATE"
#define PEM_CRL_SEP   "-----BEGIN X509 CRL"
#define PEM_KEY_RSA_SEP   "-----BEGIN RSA"
#define PEM_KEY_DSA_SEP   "-----BEGIN DSA"

Functions

int MHD__gnutls_x509_cert_verify_peers (MHD_gtls_session_t session, unsigned int *status)
int MHD__gnutls_check_key_usage (const MHD_gnutls_cert *cert, enum MHD_GNUTLS_KeyExchangeAlgorithm alg)
int MHD__gnutls_x509_read_rsa_params (opaque *der, int dersize, mpi_t *params)
int MHD__gnutls_x509_read_dsa_pubkey (opaque *der, int dersize, mpi_t *params)
int MHD__gnutls_x509_raw_privkey_to_gkey (MHD_gnutls_privkey *privkey, const MHD_gnutls_datum_t *raw_key, MHD_gnutls_x509_crt_fmt_t type)
int MHD__gnutls_x509_privkey_to_gkey (MHD_gnutls_privkey *privkey, MHD_gnutls_x509_privkey_t)


Define Documentation

#define PEM_CERT_SEP   "-----BEGIN CERTIFICATE"

Definition at line 31 of file gnutls_x509.h.

Referenced by parse_pem_cert_mem().

#define PEM_CERT_SEP2   "-----BEGIN X509 CERTIFICATE"

Definition at line 30 of file gnutls_x509.h.

Referenced by parse_pem_cert_mem().

#define PEM_CRL_SEP   "-----BEGIN X509 CRL"

Definition at line 33 of file gnutls_x509.h.

#define PEM_KEY_DSA_SEP   "-----BEGIN DSA"

Definition at line 36 of file gnutls_x509.h.

#define PEM_KEY_RSA_SEP   "-----BEGIN RSA"

Definition at line 35 of file gnutls_x509.h.


Function Documentation

int MHD__gnutls_check_key_usage ( const MHD_gnutls_cert cert,
enum MHD_GNUTLS_KeyExchangeAlgorithm  alg 
)

int MHD__gnutls_x509_cert_verify_peers ( MHD_gtls_session_t  session,
unsigned int *  status 
)

int MHD__gnutls_x509_privkey_to_gkey ( MHD_gnutls_privkey privkey,
MHD_gnutls_x509_privkey_t   
)

int MHD__gnutls_x509_raw_privkey_to_gkey ( MHD_gnutls_privkey privkey,
const MHD_gnutls_datum_t raw_key,
MHD_gnutls_x509_crt_fmt_t  type 
)

Definition at line 413 of file gnutls_x509.c.

References MHD__gnutls_x509_privkey_to_gkey(), MHD_gnutls_assert, MHD_gnutls_x509_privkey_deinit(), MHD_gnutls_x509_privkey_import(), and MHD_gnutls_x509_privkey_init().

Referenced by read_key_mem().

Here is the call graph for this function:

Here is the caller graph for this function:

int MHD__gnutls_x509_read_dsa_pubkey ( opaque der,
int  dersize,
mpi_t params 
)

int MHD__gnutls_x509_read_rsa_params ( opaque der,
int  dersize,
mpi_t params 
)

Definition at line 41 of file mpi.c.

Referenced by MHD__gnutls_x509_crt_get_mpis(), and MHD__gnutls_x509_get_pk_algorithm().

Here is the caller graph for this function:


Generated on Tue May 19 23:23:09 2009 for GNU libmicrohttpd by  doxygen 1.5.8