~ubuntu-branches/ubuntu/edgy/lasso/edgy

« back to all changes in this revision

Viewing changes to lasso/xml/samlp_response_abstract.h

  • Committer: Bazaar Package Importer
  • Author(s): Frederic Peters
  • Date: 2004-09-13 09:26:34 UTC
  • Revision ID: james.westby@ubuntu.com-20040913092634-01vdfl8j9cp94exa
Tags: upstream-0.4.1
ImportĀ upstreamĀ versionĀ 0.4.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* $Id: samlp_response_abstract.h,v 1.6 2004/08/19 12:45:05 valos Exp $ 
 
2
 *
 
3
 * Lasso - A free implementation of the Liberty Alliance specifications.
 
4
 *
 
5
 * Copyright (C) 2004 Entr'ouvert
 
6
 * http://lasso.entrouvert.org
 
7
 * 
 
8
 * Authors: Nicolas Clapies <nclapies@entrouvert.com>
 
9
 *          Valery Febvre <vfebvre@easter-eggs.com>
 
10
 *
 
11
 * This program is free software; you can redistribute it and/or modify
 
12
 * it under the terms of the GNU General Public License as published by
 
13
 * the Free Software Foundation; either version 2 of the License, or
 
14
 * (at your option) any later version.
 
15
 * 
 
16
 * This program is distributed in the hope that it will be useful,
 
17
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
18
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
19
 * GNU General Public License for more details.
 
20
 * 
 
21
 * You should have received a copy of the GNU General Public License
 
22
 * along with this program; if not, write to the Free Software
 
23
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
24
 */
 
25
 
 
26
#ifndef __LASSO_SAMLP_RESPONSE_ABSTRACT_H__
 
27
#define __LASSO_SAMLP_RESPONSE_ABSTRACT_H__
 
28
 
 
29
#ifdef __cplusplus
 
30
extern "C" {
 
31
#endif /* __cplusplus */ 
 
32
 
 
33
#include <lasso/xml/xml.h>
 
34
 
 
35
#define LASSO_TYPE_SAMLP_RESPONSE_ABSTRACT (lasso_samlp_response_abstract_get_type())
 
36
#define LASSO_SAMLP_RESPONSE_ABSTRACT(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), LASSO_TYPE_SAMLP_RESPONSE_ABSTRACT, LassoSamlpResponseAbstract))
 
37
#define LASSO_SAMLP_RESPONSE_ABSTRACT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), LASSO_TYPE_SAMLP_RESPONSE_ABSTRACT, LassoSamlpResponseAbstractClass))
 
38
#define LASSO_IS_SAMLP_RESPONSE_ABSTRACT(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_SAMLP_RESPONSE_ABSTRACT))
 
39
#define LASSO_IS_SAMLP_RESPONSE_ABSTRACT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), LASSO_TYPE_SAMLP_RESPONSE_ABSTRACT))
 
40
#define LASSO_SAMLP_RESPONSE_ABSTRACT_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), LASSO_TYPE_SAMLP_RESPONSE_ABSTRACT, LassoSamlpResponseAbstractClass)) 
 
41
 
 
42
typedef struct _LassoSamlpResponseAbstract LassoSamlpResponseAbstract;
 
43
typedef struct _LassoSamlpResponseAbstractClass LassoSamlpResponseAbstractClass;
 
44
 
 
45
struct _LassoSamlpResponseAbstract {
 
46
  LassoNode parent;
 
47
  /*< private >*/
 
48
};
 
49
 
 
50
struct _LassoSamlpResponseAbstractClass {
 
51
  LassoNodeClass parent;
 
52
  /*< vtable >*/
 
53
};
 
54
 
 
55
LASSO_EXPORT GType lasso_samlp_response_abstract_get_type           (void);
 
56
 
 
57
LASSO_EXPORT LassoNode* lasso_samlp_response_abstract_new           (void);
 
58
 
 
59
LASSO_EXPORT void lasso_samlp_response_abstract_set_inResponseTo    (LassoSamlpResponseAbstract *node,
 
60
                                                                     const xmlChar *inResponseTo);
 
61
 
 
62
LASSO_EXPORT void lasso_samlp_response_abstract_set_issueInstant    (LassoSamlpResponseAbstract *node,
 
63
                                                                     const xmlChar *issueInstant);
 
64
 
 
65
LASSO_EXPORT void lasso_samlp_response_abstract_set_majorVersion    (LassoSamlpResponseAbstract *node,
 
66
                                                                     const xmlChar *majorVersion);
 
67
 
 
68
LASSO_EXPORT void lasso_samlp_response_abstract_set_minorVersion    (LassoSamlpResponseAbstract *node,
 
69
                                                                     const xmlChar *minorVersion);
 
70
 
 
71
LASSO_EXPORT void lasso_samlp_response_abstract_set_recipient       (LassoSamlpResponseAbstract *node,
 
72
                                                                     const xmlChar *recipient);
 
73
 
 
74
LASSO_EXPORT void lasso_samlp_response_abstract_set_responseID      (LassoSamlpResponseAbstract *node,
 
75
                                                                     const xmlChar *responseID);
 
76
 
 
77
LASSO_EXPORT gint lasso_samlp_response_abstract_set_signature       (LassoSamlpResponseAbstract *node,
 
78
                                                                     gint                        sign_method,
 
79
                                                                     const xmlChar              *private_key_file,
 
80
                                                                     const xmlChar              *certificate_file);
 
81
 
 
82
LASSO_EXPORT gint lasso_samlp_response_abstract_set_signature_tmpl  (LassoSamlpResponseAbstract *node,
 
83
                                                                     lassoSignatureType          sign_type,
 
84
                                                                     lassoSignatureMethod        sign_method);
 
85
 
 
86
LASSO_EXPORT gint lasso_samlp_response_abstract_sign_signature_tmpl (LassoSamlpResponseAbstract *node,
 
87
                                                                     const xmlChar              *private_key_file,
 
88
                                                                     const xmlChar              *certificate_file);
 
89
 
 
90
#ifdef __cplusplus
 
91
}
 
92
#endif /* __cplusplus */
 
93
 
 
94
#endif /* __LASSO_SAMLP_RESPONSE_ABSTRACT_H__ */