From bf0f282902c5d002b80a38b11dea3b754f39d447 Mon Sep 17 00:00:00 2001 From: Valery Febvre Date: Thu, 13 May 2004 16:43:43 +0000 Subject: authn_response_add_assetion() function removed --- python/protocols/py_authn_response.c | 22 ---------------------- python/protocols/py_authn_response.h | 1 - 2 files changed, 23 deletions(-) (limited to 'python/protocols') diff --git a/python/protocols/py_authn_response.c b/python/protocols/py_authn_response.c index d47223fd..302aeb1a 100644 --- a/python/protocols/py_authn_response.c +++ b/python/protocols/py_authn_response.c @@ -106,28 +106,6 @@ PyObject *authn_response_new_from_request_query(PyObject *self, PyObject *args) return (LassoAuthnResponse_wrap(LASSO_AUTHN_RESPONSE(response))); } -PyObject *authn_response_add_assertion(PyObject *self, PyObject *args) { - PyObject *response_obj, *assertion_obj; - const xmlChar *private_key_file; - const xmlChar *certificate_file; - - if (CheckArgs(args, "OOSS:authn_response_add_assertion")) { - if(!PyArg_ParseTuple(args, (char *) "OOss:authn_response_add_assertion", - &response_obj, &assertion_obj, - &private_key_file, &certificate_file)) - return NULL; - } - else return NULL; - - lasso_authn_response_add_assertion(LassoAuthnResponse_get(response_obj), - LassoAssertion_get(assertion_obj), - private_key_file, - certificate_file); - - Py_INCREF(Py_None); - return (Py_None); -} - PyObject *authn_response_must_authenticate(PyObject *self, PyObject *args) { PyObject *response_obj; gboolean is_authenticated; diff --git a/python/protocols/py_authn_response.h b/python/protocols/py_authn_response.h index 79e3f20b..429745bd 100644 --- a/python/protocols/py_authn_response.h +++ b/python/protocols/py_authn_response.h @@ -40,7 +40,6 @@ PyObject *LassoAuthnResponse_wrap(LassoAuthnResponse *response); PyObject *authn_response_getattr(PyObject *self, PyObject *args); PyObject *authn_response_new_from_dump(PyObject *self, PyObject *args); PyObject *authn_response_new_from_request_query(PyObject *self, PyObject *args); -PyObject *authn_response_add_assertion(PyObject *self, PyObject *args); PyObject *authn_response_must_authenticate(PyObject *self, PyObject *args); PyObject *authn_response_process_authentication_result(PyObject *self, PyObject *args); PyObject *authn_response_verify_signature(PyObject *self, PyObject *args); -- cgit