#include <libtasn1.h>
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 PEM_CERT_SEP "-----BEGIN CERTIFICATE" |
#define PEM_CERT_SEP2 "-----BEGIN X509 CERTIFICATE" |
#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.
int MHD__gnutls_check_key_usage | ( | const MHD_gnutls_cert * | cert, | |
enum MHD_GNUTLS_KeyExchangeAlgorithm | alg | |||
) |
Definition at line 553 of file gnutls_x509.c.
References CIPHER_ENCRYPT, CIPHER_IGN, CIPHER_SIGN, GNUTLS_E_INTERNAL_ERROR, GNUTLS_E_KEY_USAGE_VIOLATION, KEY_DIGITAL_SIGNATURE, KEY_KEY_ENCIPHERMENT, MHD_gnutls_cert::key_usage, MHD_gnutls_assert, MHD_GNUTLS_CRD_CERTIFICATE, MHD_gtls_kx_encipher_type(), and MHD_gtls_map_kx_get_cred().
Referenced by MHD_gtls_proc_x509_server_certificate(), and MHD_gtls_selected_cert_supported_kx().
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 | ||||
) |
Definition at line 367 of file gnutls_x509.c.
References GNUTLS_E_MEMORY_ERROR, MHD__gnutls_mpi_copy, MHD_gnutls_assert, MHD_gtls_mpi_release(), MHD_gtls_x509_privkey_int::params, MHD_gnutls_privkey_int::params, MHD_gnutls_privkey_int::params_size, MHD_gtls_x509_privkey_int::params_size, MHD_gtls_x509_privkey_int::pk_algorithm, and MHD_gnutls_privkey_int::pk_algorithm.
Referenced by alloc_and_load_x509_key(), and MHD__gnutls_x509_raw_privkey_to_gkey().
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().
Definition at line 41 of file mpi.c.
Referenced by MHD__gnutls_x509_crt_get_mpis(), and MHD__gnutls_x509_get_pk_algorithm().