diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-02-08 16:22:42 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-02-08 16:44:25 +0100 |
commit | 1688228bec7f5cc4e7c252dea0ef5002bf26cec9 (patch) | |
tree | 9537c133d33759e8d11ba846ef0d0d7d58d83637 | |
parent | dd641965351b2b83e4ffc7ba7a97ace318765dcb (diff) |
xmlsecurity: export OOXML <SignatureValue>
Change-Id: I7c5055e3bfaa81cae4c91842e9e3681d41d5c3b6
-rw-r--r-- | xmlsecurity/source/helper/xsecctl.cxx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/xmlsecurity/source/helper/xsecctl.cxx b/xmlsecurity/source/helper/xsecctl.cxx index cffb2987d7b4..dad4c39c69e2 100644 --- a/xmlsecurity/source/helper/xsecctl.cxx +++ b/xmlsecurity/source/helper/xsecctl.cxx @@ -1024,13 +1024,17 @@ void XSecController::exportOOXMLSignature(const uno::Reference<xml::sax::XDocume xDocumentHandler->endElement(TAG_DIGESTMETHOD); } xDocumentHandler->startElement(TAG_DIGESTVALUE, uno::Reference<xml::sax::XAttributeList>(new SvXMLAttributeList())); - xDocumentHandler->endElement(TAG_DIGESTVALUE); xDocumentHandler->characters(rReference.ouDigestValue); + xDocumentHandler->endElement(TAG_DIGESTVALUE); xDocumentHandler->endElement(TAG_REFERENCE); } } xDocumentHandler->endElement(TAG_SIGNEDINFO); + + xDocumentHandler->startElement(TAG_SIGNATUREVALUE, uno::Reference<xml::sax::XAttributeList>(new SvXMLAttributeList())); + xDocumentHandler->characters(rInformation.ouSignatureValue); + xDocumentHandler->endElement(TAG_SIGNATUREVALUE); } SignatureInformation XSecController::getSignatureInformation( sal_Int32 nSecurityId ) const |