diff options
author | Tor Lillqvist <tml@collabora.com> | 2016-11-09 15:14:03 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2016-11-10 17:52:01 +0200 |
commit | 59547a54958914f57f5a9bcff6434c3acca042f6 (patch) | |
tree | 084a28528581f779699ab67f17a5621454c26bec /xmlsecurity/qa | |
parent | 2d2160bbbd326fa3249d10bed97392215027c8c9 (diff) |
More work in progress on XAdES compliant ODF signing
Pass an XAdES flag to a couple more functions and adapt to that.
Factor out writeDigestMethod() and writeSignedProperties() from
OOXMLSecExporter::Impl to DocumentSignatureHelper and use them in an
additional place.
Write xd:UnsignedProperties with EncapsulatedX509Certificate. Probably
much more work needed.
Change-Id: I2a0cd1db6dd487b9c7ba256ad29473de3d271cd8
Diffstat (limited to 'xmlsecurity/qa')
-rw-r--r-- | xmlsecurity/qa/unit/signing/signing.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlsecurity/qa/unit/signing/signing.cxx b/xmlsecurity/qa/unit/signing/signing.cxx index bad292114ba2..e14b3a754219 100644 --- a/xmlsecurity/qa/unit/signing/signing.cxx +++ b/xmlsecurity/qa/unit/signing/signing.cxx @@ -324,7 +324,7 @@ void SigningTest::testOOXMLRemoveAll() CPPUNIT_ASSERT(xCertificate.is()); aManager.remove(0); aManager.read(/*bUseTempStream=*/true); - aManager.write(); + aManager.write(/*bXAdESCompliantIfODF=*/false); // Make sure that the signature count is zero and the whole signature storage is removed completely. CPPUNIT_ASSERT_EQUAL(static_cast<std::size_t>(0), rInformations.size()); |