#include <gnutls_int.h>#include <gnutls_errors.h>#include <gnutls_global.h>#include <libtasn1.h>#include <gnutls_datum.h>#include "common.h"#include "x509.h"#include <gnutls_num.h>#include "mpi.h"

Go to the source code of this file.
Functions | |
| int | MHD__gnutls_x509_read_rsa_params (opaque *der, int dersize, mpi_t *params) |
| int | MHD__gnutls_x509_crt_get_mpis (MHD_gnutls_x509_crt_t cert, mpi_t *params, int *params_size) |
| int | MHD__gnutls_x509_write_rsa_params (mpi_t *params, int params_size, MHD_gnutls_datum_t *der) |
| int MHD__gnutls_x509_crt_get_mpis | ( | MHD_gnutls_x509_crt_t | cert, | |
| mpi_t * | params, | |||
| int * | params_size | |||
| ) |
Definition at line 90 of file mpi.c.
References MHD_gnutls_x509_crt_int::cert, MHD_gnutls_datum_t::data, GNUTLS_E_INTERNAL_ERROR, GNUTLS_E_X509_CERTIFICATE_ERROR, MHD__gnutls_free_datum, MHD__gnutls_x509_read_rsa_params(), MHD__gnutls_x509_read_value(), MHD_gnutls_assert, MHD_GNUTLS_PK_RSA, MHD_gnutls_x509_crt_get_pk_algorithm(), RSA_PUBLIC_PARAMS, and MHD_gnutls_datum_t::size.
Referenced by MHD_gtls_x509_crt_to_gcert().


Definition at line 41 of file mpi.c.
References ASN1_SUCCESS, ASN1_TYPE_EMPTY, GNUTLS_E_ASN1_GENERIC_ERROR, MHD__asn1_create_element(), MHD__asn1_delete_structure(), MHD__asn1_der_decoding(), MHD__gnutls_getMHD__gnutls_asn, MHD__gnutls_x509_read_int(), MHD_gnutls_assert, MHD_gtls_asn2err(), and MHD_gtls_mpi_release().
Referenced by MHD__gnutls_x509_crt_get_mpis(), and MHD__gnutls_x509_get_pk_algorithm().


| int MHD__gnutls_x509_write_rsa_params | ( | mpi_t * | params, | |
| int | params_size, | |||
| MHD_gnutls_datum_t * | der | |||
| ) |
Definition at line 160 of file mpi.c.
References ASN1_SUCCESS, ASN1_TYPE_EMPTY, MHD_gnutls_datum_t::data, GNUTLS_E_INVALID_REQUEST, MHD__asn1_create_element(), MHD__asn1_delete_structure(), MHD__gnutls_getMHD__gnutls_asn, MHD__gnutls_x509_der_encode(), MHD__gnutls_x509_write_int(), MHD_gnutls_assert, MHD_gtls_asn2err(), and MHD_gnutls_datum_t::size.
Referenced by MHD__gnutls_check_key_cert_match().


1.5.7.1