summaryrefslogtreecommitdiff
path: root/lib/x509/mpi.h
blob: 4ea3bb1b1c96106764532c0a49a36a02cff7b24a (plain)
1
2
3
4
5
6
7
8
9
10
11
#include "x509.h"

int _gnutls_x509_crt_get_mpis( gnutls_x509_crt cert,
	GNUTLS_MPI* params, int *params_size);
int _gnutls_x509_read_rsa_params(opaque * der, int dersize, GNUTLS_MPI * params);
int _gnutls_x509_read_dsa_pubkey(opaque * der, int dersize, GNUTLS_MPI * params);
int _gnutls_x509_read_dsa_params(opaque * der, int dersize, GNUTLS_MPI * params);

int _gnutls_x509_write_rsa_params( GNUTLS_MPI * params, int params_size,
	opaque * der, int* dersize);