From 0dac6d1f179c286dd7aea2d9ef7c37db8323fa37 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Mon, 25 Jan 2016 15:34:38 +0100 Subject: xmlsecurity: implement OOXML stream references With this, if see an URI like: /_rels/.rels?ContentType=application/vnd.openxmlformats-package.relationships+xml Then it is properly detected that it's the .rels stream of the _rels storage, and UriBindingHelper will serve that stream (when looked up by name later) to libxmlsec. Change-Id: Iac62cb170c0aa8bb92c40311fb7b248e96c25dde --- xmlsecurity/source/helper/ooxmlsecparser.hxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'xmlsecurity/source/helper/ooxmlsecparser.hxx') diff --git a/xmlsecurity/source/helper/ooxmlsecparser.hxx b/xmlsecurity/source/helper/ooxmlsecparser.hxx index c7ac95368392..73ac0b22be97 100644 --- a/xmlsecurity/source/helper/ooxmlsecparser.hxx +++ b/xmlsecurity/source/helper/ooxmlsecparser.hxx @@ -39,6 +39,10 @@ class OOXMLSecParser: public cppu::WeakImplHelper OUString m_aMdssiValue; bool m_bInSignatureComments; OUString m_aSignatureComments; + /// Last seen . + OUString m_aReferenceURI; + /// Already called addStreamReference() for this reference. + bool m_bReferenceUnresolved; public: OOXMLSecParser(XSecController* pXSecController); -- cgit