summaryrefslogtreecommitdiff
path: root/xmlsecurity/inc
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@collabora.co.uk>2016-02-12 09:49:37 +0100
committerMiklos Vajna <vmiklos@collabora.co.uk>2016-02-12 10:11:05 +0100
commit89af47f2b3fba6692a1cea850159b2163a64db8b (patch)
tree9f4aad6c06a55f1c2db545ba06f2188a7081bd31 /xmlsecurity/inc
parent0acbf9404a40e5ca87642af299218846d51cf009 (diff)
xmlsecurity: import OOXML <xd:CertDigest>
Another redundant field: it's the SHA-256 digest of the certificate data for OOXML, not used for ODF. We need to store it after import, as we no longer have the security environment at hand when we store the signature to the persistent storage. Change-Id: I3bcccb3c7c4f4178c0b267ce87777fba543f8716
Diffstat (limited to 'xmlsecurity/inc')
-rw-r--r--xmlsecurity/inc/xmlsecurity/sigstruct.hxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/xmlsecurity/inc/xmlsecurity/sigstruct.hxx b/xmlsecurity/inc/xmlsecurity/sigstruct.hxx
index f798b3b2db7f..e501239b8765 100644
--- a/xmlsecurity/inc/xmlsecurity/sigstruct.hxx
+++ b/xmlsecurity/inc/xmlsecurity/sigstruct.hxx
@@ -81,6 +81,8 @@ struct SignatureInformation
OUString ouDescription;
/// The Id attribute of the <SignatureProperty> element that contains the <dc:description>.
OUString ouDescriptionPropertyId;
+ /// OOXML certificate SHA-256 digest, empty for ODF.
+ OUString ouCertDigest;
SignatureInformation( sal_Int32 nId )
{