summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2010-01-12 15:39:40 +0000
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2010-01-12 15:39:40 +0000
commit01dad5fd05974e00274c63373af698bb8486c18a (patch)
tree937917b30bdca219e5ab45130a27a25137599107
parentd461fe3957ca2d0fe87247f70ca4c0a695e36cbe (diff)
downloadlasso-01dad5fd05974e00274c63373af698bb8486c18a.tar.gz
lasso-01dad5fd05974e00274c63373af698bb8486c18a.tar.xz
lasso-01dad5fd05974e00274c63373af698bb8486c18a.zip
XML: fill node_data->{certificate,private_key}_file_offset for nodes with signatures
-rw-r--r--lasso/xml/id-wsf-2.0/is_interaction_statement.c4
-rw-r--r--lasso/xml/saml-2.0/saml2_assertion.c4
-rw-r--r--lasso/xml/saml-2.0/samlp2_request_abstract.c4
-rw-r--r--lasso/xml/saml-2.0/samlp2_status_response.c4
-rw-r--r--lasso/xml/saml_assertion.c3
-rw-r--r--lasso/xml/samlp_request_abstract.c4
-rw-r--r--lasso/xml/samlp_response_abstract.c12
7 files changed, 31 insertions, 4 deletions
diff --git a/lasso/xml/id-wsf-2.0/is_interaction_statement.c b/lasso/xml/id-wsf-2.0/is_interaction_statement.c
index 155bb2ae..4c499537 100644
--- a/lasso/xml/id-wsf-2.0/is_interaction_statement.c
+++ b/lasso/xml/id-wsf-2.0/is_interaction_statement.c
@@ -97,6 +97,10 @@ class_init(LassoIdWsf2IsInteractionStatementClass *klass)
LassoIdWsf2IsInteractionStatement, sign_type);
nclass->node_data->sign_method_offset = G_STRUCT_OFFSET(
LassoIdWsf2IsInteractionStatement, sign_method);
+ nclass->node_data->private_key_file_offset = G_STRUCT_OFFSET(
+ LassoIdWsf2IsInteractionStatement, private_key_file);
+ nclass->node_data->certificate_file_offset = G_STRUCT_OFFSET(
+ LassoIdWsf2IsInteractionStatement, certificate_file);
}
GType
diff --git a/lasso/xml/saml-2.0/saml2_assertion.c b/lasso/xml/saml-2.0/saml2_assertion.c
index 17ef06f9..35c8e472 100644
--- a/lasso/xml/saml-2.0/saml2_assertion.c
+++ b/lasso/xml/saml-2.0/saml2_assertion.c
@@ -170,6 +170,10 @@ class_init(LassoSaml2AssertionClass *klass)
LassoSaml2Assertion, sign_type);
nclass->node_data->sign_method_offset = G_STRUCT_OFFSET(
LassoSaml2Assertion, sign_method);
+ nclass->node_data->private_key_file_offset = G_STRUCT_OFFSET(LassoSaml2Assertion,
+ private_key_file);
+ nclass->node_data->certificate_file_offset = G_STRUCT_OFFSET(LassoSaml2Assertion,
+ certificate_file);
nclass->node_data->keep_xmlnode = TRUE;
}
diff --git a/lasso/xml/saml-2.0/samlp2_request_abstract.c b/lasso/xml/saml-2.0/samlp2_request_abstract.c
index eb27c58a..772b5c91 100644
--- a/lasso/xml/saml-2.0/samlp2_request_abstract.c
+++ b/lasso/xml/saml-2.0/samlp2_request_abstract.c
@@ -170,6 +170,10 @@ class_init(LassoSamlp2RequestAbstractClass *klass)
LassoSamlp2RequestAbstract, sign_type);
nclass->node_data->sign_method_offset = G_STRUCT_OFFSET(
LassoSamlp2RequestAbstract, sign_method);
+ nclass->node_data->private_key_file_offset = G_STRUCT_OFFSET(LassoSaml2Assertion,
+ private_key_file);
+ nclass->node_data->certificate_file_offset = G_STRUCT_OFFSET(LassoSaml2Assertion,
+ certificate_file);
}
GType
diff --git a/lasso/xml/saml-2.0/samlp2_status_response.c b/lasso/xml/saml-2.0/samlp2_status_response.c
index 31f398e5..d530dcab 100644
--- a/lasso/xml/saml-2.0/samlp2_status_response.c
+++ b/lasso/xml/saml-2.0/samlp2_status_response.c
@@ -173,6 +173,10 @@ class_init(LassoSamlp2StatusResponseClass *klass)
LassoSamlp2StatusResponse, sign_type);
nclass->node_data->sign_method_offset = G_STRUCT_OFFSET(
LassoSamlp2StatusResponse, sign_method);
+ nclass->node_data->private_key_file_offset = G_STRUCT_OFFSET(LassoSaml2StatusResponse,
+ private_key_file);
+ nclass->node_data->certificate_file_offset = G_STRUCT_OFFSET(LassoSaml2StatusResponse,
+ certificate_file);
nclass->node_data->keep_xmlnode = TRUE;
}
diff --git a/lasso/xml/saml_assertion.c b/lasso/xml/saml_assertion.c
index 0cf14504..605cefc8 100644
--- a/lasso/xml/saml_assertion.c
+++ b/lasso/xml/saml_assertion.c
@@ -195,6 +195,9 @@ class_init(LassoSamlAssertionClass *klass)
lasso_node_class_add_snippets(nclass, schema_snippets);
nclass->node_data->sign_type_offset = G_STRUCT_OFFSET(LassoSamlAssertion, sign_type);
nclass->node_data->sign_method_offset = G_STRUCT_OFFSET(LassoSamlAssertion, sign_method);
+ nclass->node_data->private_key_file_offset = G_STRUCT_OFFSET(LassoSamlAssertion,
+ private_key_file);
+ nclass->node_data->certificate_file_offset = G_STRUCT_OFFSET(LassoSamlAssertion, certificate_file);
nclass->node_data->keep_xmlnode = TRUE;
}
diff --git a/lasso/xml/samlp_request_abstract.c b/lasso/xml/samlp_request_abstract.c
index c17c00c3..1e0a5f6e 100644
--- a/lasso/xml/samlp_request_abstract.c
+++ b/lasso/xml/samlp_request_abstract.c
@@ -131,6 +131,10 @@ class_init(LassoSamlpRequestAbstractClass *klass)
LassoSamlpRequestAbstract, sign_type);
nclass->node_data->sign_method_offset = G_STRUCT_OFFSET(
LassoSamlpRequestAbstract, sign_method);
+ nclass->node_data->private_key_file_offset = G_STRUCT_OFFSET(LassoSamlpRequestAbstract,
+ private_key_file);
+ nclass->node_data->certificate_file_offset = G_STRUCT_OFFSET(LassoSamlpRequestAbstract,
+ certificate_file);
}
GType
diff --git a/lasso/xml/samlp_response_abstract.c b/lasso/xml/samlp_response_abstract.c
index e5ba1b74..f2cc245e 100644
--- a/lasso/xml/samlp_response_abstract.c
+++ b/lasso/xml/samlp_response_abstract.c
@@ -131,10 +131,14 @@ class_init(LassoSamlpResponseAbstractClass *klass)
lasso_node_class_set_nodename(nclass, "ResponseAbstract");
lasso_node_class_set_ns(nclass, LASSO_SAML_PROTOCOL_HREF, LASSO_SAML_PROTOCOL_PREFIX);
lasso_node_class_add_snippets(nclass, schema_snippets);
- nclass->node_data->sign_type_offset = G_STRUCT_OFFSET(
- LassoSamlpResponseAbstract, sign_type);
- nclass->node_data->sign_method_offset = G_STRUCT_OFFSET(
- LassoSamlpResponseAbstract, sign_method);
+ nclass->node_data->sign_type_offset = G_STRUCT_OFFSET(LassoSamlpResponseAbstract,
+ sign_type);
+ nclass->node_data->sign_method_offset = G_STRUCT_OFFSET(LassoSamlpResponseAbstract,
+ sign_method);
+ nclass->node_data->private_key_file_offset = G_STRUCT_OFFSET(LassoSamlpResponseAbstract,
+ private_key_file);
+ nclass->node_data->certificate_file_offset = G_STRUCT_OFFSET(LassoSamlpResponseAbstract,
+ certificate_file);
}
GType