#include <gnutls_int.h>
#include "x509.h"
Go to the source code of this file.
Functions | |
int | MHD__gnutls_x509_crt_get_mpis (MHD_gnutls_x509_crt_t cert, mpi_t *params, int *params_size) |
int | MHD__gnutls_x509_read_rsa_params (opaque *der, int dersize, mpi_t *params) |
int | MHD__gnutls_x509_write_rsa_params (mpi_t *params, int params_size, MHD_gnutls_datum_t *der) |
int | MHD__gnutls_x509_read_int (ASN1_TYPE node, const char *value, mpi_t *ret_mpi) |
int | MHD__gnutls_x509_write_int (ASN1_TYPE node, const char *value, mpi_t mpi, int lz) |
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 178 of file gnutls_mpi.c.
References ASN1_MEM_ERROR, ASN1_SUCCESS, GNUTLS_E_MEMORY_ERROR, GNUTLS_E_MPI_SCAN_FAILED, MHD__asn1_read_value(), MHD_gnutls_afree, MHD_gnutls_alloca, MHD_gnutls_assert, MHD_gtls_asn2err(), and MHD_gtls_mpi_scan().
Referenced by MHD__gnutls_privkey_decode_pkcs1_rsa_key(), and MHD__gnutls_x509_read_rsa_params().
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().
Definition at line 224 of file gnutls_mpi.c.
References ASN1_SUCCESS, GNUTLS_E_MEMORY_ERROR, GNUTLS_E_MPI_PRINT_FAILED, MHD__asn1_write_value(), MHD_gnutls_afree, MHD_gnutls_alloca, MHD_gnutls_assert, MHD_gtls_asn2err(), MHD_gtls_mpi_print(), and MHD_gtls_mpi_print_lz().
Referenced by MHD__gnutls_x509_write_rsa_params().
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().