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 $
3
3
* Lasso - A free implementation of the Liberty Alliance specifications.
5
* Copyright (C) 2004 Entr'ouvert
5
* Copyright (C) 2004, 2005 Entr'ouvert
6
6
* http://lasso.entrouvert.org
8
* Authors: Nicolas Clapies <nclapies@entrouvert.com>
9
* Valery Febvre <vfebvre@easter-eggs.com>
8
* Authors: See AUTHORS file in top-level directory.
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
33
32
#include <lasso/xml/saml_assertion.h>
35
#include <lasso/xml/lib_authentication_statement.h>
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))
44
46
typedef struct _LassoLibAssertion LassoLibAssertion;
45
47
typedef struct _LassoLibAssertionClass LassoLibAssertionClass;
47
49
struct _LassoLibAssertion {
48
LassoSamlAssertion parent;
50
LassoSamlAssertion parent;
53
56
struct _LassoLibAssertionClass {
54
LassoSamlAssertionClass parent;
57
LassoSamlAssertionClass parent;
57
60
LASSO_EXPORT GType lasso_lib_assertion_get_type (void);
59
LASSO_EXPORT LassoNode* lasso_lib_assertion_new (gboolean use_xsitype);
61
LASSO_EXPORT void lasso_lib_assertion_set_inResponseTo (LassoLibAssertion *,
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);