gnutls_sig.h

Go to the documentation of this file.
00001 /*
00002  * Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation
00003  *
00004  * Author: Nikos Mavrogiannopoulos
00005  *
00006  * This file is part of GNUTLS.
00007  *
00008  * The GNUTLS library is free software; you can redistribute it and/or
00009  * modify it under the terms of the GNU Lesser General Public License
00010  * as published by the Free Software Foundation; either version 2.1 of
00011  * the License, or (at your option) any later version.
00012  *
00013  * This library is distributed in the hope that it will be useful, but
00014  * WITHOUT ANY WARRANTY; without even the implied warranty of
00015  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00016  * Lesser General Public License for more details.
00017  *
00018  * You should have received a copy of the GNU Lesser General Public
00019  * License along with this library; if not, write to the Free Software
00020  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
00021  * USA
00022  *
00023  */
00024 
00025 #ifndef GNUTLS_SIG_H
00026 # define GNUTLS_SIG_H
00027 
00028 int MHD_gtls_tls_sign_hdata (MHD_gtls_session_t session,
00029                              MHD_gnutls_cert * cert,
00030                              MHD_gnutls_privkey * pkey,
00031                              MHD_gnutls_datum_t * signature);
00032 
00033 int MHD_gtls_tls_sign_params (MHD_gtls_session_t session,
00034                               MHD_gnutls_cert * cert,
00035                               MHD_gnutls_privkey * pkey,
00036                               MHD_gnutls_datum_t * params,
00037                               MHD_gnutls_datum_t * signature);
00038 
00039 int MHD_gtls_verify_sig_hdata (MHD_gtls_session_t session,
00040                                MHD_gnutls_cert * cert,
00041                                MHD_gnutls_datum_t * signature);
00042 
00043 int MHD_gtls_verify_sig_params (MHD_gtls_session_t session,
00044                                 MHD_gnutls_cert * cert,
00045                                 const MHD_gnutls_datum_t * params,
00046                                 MHD_gnutls_datum_t * signature);
00047 
00048 
00049 #endif

Generated on Fri Feb 27 18:32:19 2009 for GNU libmicrohttpd by  doxygen 1.5.7.1