Use libtasn1 v2.4.
[gnutls.git] / lib / auth_anon.h
blob0a46704d896358a2869c3129769c464017722498
1 /*
2 * Copyright (C) 2001, 2002, 2003, 2004, 2005, 2010 Free Software
3 * Foundation, Inc.
5 * Author: Nikos Mavrogiannopoulos
7 * This file is part of GNUTLS.
9 * The GNUTLS library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Lesser General Public License
11 * as published by the Free Software Foundation; either version 2.1 of
12 * the License, or (at your option) any later version.
14 * This library is distributed in the hope that it will be useful, but
15 * WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * Lesser General Public License for more details.
19 * You should have received a copy of the GNU Lesser General Public
20 * License along with this library; if not, write to the Free Software
21 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
22 * USA
26 /* this is not to be included by gnutls_anon.c */
27 #include <gnutls_auth.h>
28 #include <auth_dh_common.h>
30 typedef struct gnutls_anon_server_credentials_st
32 gnutls_dh_params_t dh_params;
33 /* this callback is used to retrieve the DH or RSA
34 * parameters.
36 gnutls_params_function *params_func;
37 } anon_server_credentials_st;
39 typedef struct gnutls_anon_client_credentials_st
41 int dummy;
42 } anon_client_credentials_st;
44 typedef struct anon_auth_info_st
46 dh_info_st dh;
47 } *anon_auth_info_t;
49 typedef struct anon_auth_info_st anon_auth_info_st;