~ubuntu-branches/ubuntu/gutsy/lasso/gutsy-security

« back to all changes in this revision

Viewing changes to lasso/xml/lib_assertion.h

  • Committer: Bazaar Package Importer
  • Author(s): Stephan Hermann
  • Date: 2005-09-16 02:16:49 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050916021649-lr5tuka6pfmmks44
Tags: 0.6.2-3ubuntu1
* debian/control: removed hardcoded php dependency, added php:Depends
  substvar
* debian/rules: added phpapiver, added substitution of php:Depends

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: lib_assertion.h,v 1.5 2004/08/22 16:22:01 valos Exp $ 
 
1
/* $Id: lib_assertion.h,v 1.10 2005/01/22 15:57:55 eraviart Exp $ 
2
2
 *
3
3
 * Lasso - A free implementation of the Liberty Alliance specifications.
4
4
 *
5
 
 * Copyright (C) 2004 Entr'ouvert
 
5
 * Copyright (C) 2004, 2005 Entr'ouvert
6
6
 * http://lasso.entrouvert.org
7
7
 * 
8
 
 * Authors: Nicolas Clapies <nclapies@entrouvert.com>
9
 
 *          Valery Febvre <vfebvre@easter-eggs.com>
 
8
 * Authors: See AUTHORS file in top-level directory.
10
9
 *
11
10
 * This program is free software; you can redistribute it and/or modify
12
11
 * it under the terms of the GNU General Public License as published by
32
31
 
33
32
#include <lasso/xml/saml_assertion.h>
34
33
 
35
 
#include <lasso/xml/lib_authentication_statement.h>
36
 
 
37
34
#define LASSO_TYPE_LIB_ASSERTION (lasso_lib_assertion_get_type())
38
 
#define LASSO_LIB_ASSERTION(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), LASSO_TYPE_LIB_ASSERTION, LassoLibAssertion))
39
 
#define LASSO_LIB_ASSERTION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), LASSO_TYPE_LIB_ASSERTION, LassoLibAssertionClass))
40
 
#define LASSO_IS_LIB_ASSERTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_LIB_ASSERTION))
41
 
#define LASSO_IS_LIB_ASSERTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), LASSO_TYPE_LIB_ASSERTION))
42
 
#define LASSO_LIB_ASSERTION_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), LASSO_TYPE_LIB_ASSERTION, LassoLibAssertionClass)) 
 
35
#define LASSO_LIB_ASSERTION(obj) \
 
36
        (G_TYPE_CHECK_INSTANCE_CAST((obj), LASSO_TYPE_LIB_ASSERTION, LassoLibAssertion))
 
37
#define LASSO_LIB_ASSERTION_CLASS(klass) \
 
38
        (G_TYPE_CHECK_CLASS_CAST((klass), LASSO_TYPE_LIB_ASSERTION, LassoLibAssertionClass))
 
39
#define LASSO_IS_LIB_ASSERTION(obj) \
 
40
        (G_TYPE_CHECK_INSTANCE_TYPE((obj), LASSO_TYPE_LIB_ASSERTION))
 
41
#define LASSO_IS_LIB_ASSERTION_CLASS(klass) \
 
42
        (G_TYPE_CHECK_CLASS_TYPE ((klass), LASSO_TYPE_LIB_ASSERTION))
 
43
#define LASSO_LIB_ASSERTION_GET_CLASS(o) \
 
44
        (G_TYPE_INSTANCE_GET_CLASS ((o), LASSO_TYPE_LIB_ASSERTION, LassoLibAssertionClass)) 
43
45
 
44
46
typedef struct _LassoLibAssertion LassoLibAssertion;
45
47
typedef struct _LassoLibAssertionClass LassoLibAssertionClass;
46
48
 
47
49
struct _LassoLibAssertion {
48
 
  LassoSamlAssertion parent;
49
 
  /*< private >*/
50
 
  gboolean use_xsitype;
 
50
        LassoSamlAssertion parent;
 
51
 
 
52
        /*< public >*/
 
53
        char *InResponseTo;
51
54
};
52
55
 
53
56
struct _LassoLibAssertionClass {
54
 
  LassoSamlAssertionClass parent;
 
57
        LassoSamlAssertionClass parent;
55
58
};
56
59
 
57
60
LASSO_EXPORT GType lasso_lib_assertion_get_type        (void);
58
61
 
59
 
LASSO_EXPORT LassoNode* lasso_lib_assertion_new        (gboolean use_xsitype);
60
 
 
61
 
LASSO_EXPORT void lasso_lib_assertion_set_inResponseTo (LassoLibAssertion *,
62
 
                                                        const xmlChar *);
 
62
LASSO_EXPORT LassoLibAssertion* lasso_lib_assertion_new(void);
 
63
LASSO_EXPORT LassoLibAssertion* lasso_lib_assertion_new_full(
 
64
                const char *issuer, const char *requestID, const char *audience,
 
65
                const char *notBefore, const char *notOnOrAfter);
63
66
 
64
67
#ifdef __cplusplus
65
68
}