summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmlsecurity/inc/xsecctl.hxx5
-rw-r--r--xmlsecurity/source/helper/xsecctl.cxx16
-rw-r--r--xmlsecurity/source/helper/xsecverify.cxx2
3 files changed, 6 insertions, 17 deletions
diff --git a/xmlsecurity/inc/xsecctl.hxx b/xmlsecurity/inc/xsecctl.hxx
index 5e8cdb6ccfe7..3abd31d9d75d 100644
--- a/xmlsecurity/inc/xsecctl.hxx
+++ b/xmlsecurity/inc/xsecctl.hxx
@@ -339,10 +339,7 @@ public:
const css::uno::Reference<
css::xml::crypto::XXMLSecurityContext >& xSecurityContext );
- void setSAXChainConnector(
- const css::uno::Reference< css::lang::XInitialization >& xInitialization,
- const css::uno::Reference< css::xml::sax::XDocumentHandler >& xDocumentHandler,
- const css::uno::Reference< css::xml::crypto::sax::XElementStackKeeper >& xElementStackKeeper);
+ void setSAXChainConnector(const css::uno::Reference< css::lang::XInitialization >& xInitialization);
void clearSAXChainConnector();
void endMission();
diff --git a/xmlsecurity/source/helper/xsecctl.cxx b/xmlsecurity/source/helper/xsecctl.cxx
index 616ffcfb2ae4..767c55fe1e87 100644
--- a/xmlsecurity/source/helper/xsecctl.cxx
+++ b/xmlsecurity/source/helper/xsecctl.cxx
@@ -474,10 +474,7 @@ void XSecController::startMission(
m_bVerifyCurrentSignature = false;
}
-void XSecController::setSAXChainConnector(
- const cssu::Reference< cssl::XInitialization >& xInitialization,
- const cssu::Reference< cssxs::XDocumentHandler >& xDocumentHandler,
- const cssu::Reference< cssxc::sax::XElementStackKeeper >& xElementStackKeeper)
+void XSecController::setSAXChainConnector(const cssu::Reference< cssl::XInitialization >& xInitialization)
/****** XSecController/setSAXChainConnector ***********************************
*
* NAME
@@ -485,21 +482,16 @@ void XSecController::setSAXChainConnector(
* collaborate with the SAXEventKeeper on the SAX chain.
*
* SYNOPSIS
- * setSAXChainConnector( xInitialization,
- * xDocumentHandler,
- * xElementStackKeeper );
+ * setSAXChainConnector(xInitialization);
*
* INPUTS
* xInitialization - the previous node on the SAX chain
- * xDocumentHandler - the next node on the SAX chain
- * xElementStackKeeper - the ElementStackKeeper component which reserves
- * missed key SAX events for the SAXEventKeeper
******************************************************************************/
{
m_bIsPreviousNodeInitializable = true;
m_xPreviousNodeOnSAXChain = xInitialization;
- m_xNextNodeOnSAXChain = xDocumentHandler;
- m_xElementStackKeeper = xElementStackKeeper;
+ m_xNextNodeOnSAXChain.clear();
+ m_xElementStackKeeper.clear();
initializeSAXChain( );
}
diff --git a/xmlsecurity/source/helper/xsecverify.cxx b/xmlsecurity/source/helper/xsecverify.cxx
index 3ec123bc4029..b4f8158b7c6c 100644
--- a/xmlsecurity/source/helper/xsecverify.cxx
+++ b/xmlsecurity/source/helper/xsecverify.cxx
@@ -466,7 +466,7 @@ cssu::Reference< cssxs::XDocumentHandler > const & XSecController::createSignatu
m_xSecParser = new XSecParser(rXMLSignatureHelper, this);
cssu::Reference< cssl::XInitialization > xInitialization(m_xSecParser, uno::UNO_QUERY);
- setSAXChainConnector(xInitialization, nullptr, nullptr);
+ setSAXChainConnector(xInitialization);
return m_xSecParser;
}