diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-03-03 14:59:03 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-03-03 17:11:07 +0100 |
commit | 122c01989d4843db52725d375af22f866345d80a (patch) | |
tree | 255a3f93f52478094f1d92021dceee3a3293c2ef /xmlsecurity/inc | |
parent | dd7a2f9a980505acd87abfad4f14526228e8a124 (diff) |
xmlsecurity: avoid calculating the certificate digest late in XSecController
Every other aspect of the certificate is calculated earlier in
DocumentSignatureManager, so calculate the digest there as well.
Change-Id: Icd97f3ecb084bbce60fcdfa496b6aaf0ac75026d
Diffstat (limited to 'xmlsecurity/inc')
-rw-r--r-- | xmlsecurity/inc/xmlsecurity/xmlsignaturehelper.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlsecurity/inc/xmlsecurity/xmlsignaturehelper.hxx b/xmlsecurity/inc/xmlsecurity/xmlsignaturehelper.hxx index f22570aa6b46..55dc230dfdf3 100644 --- a/xmlsecurity/inc/xmlsecurity/xmlsignaturehelper.hxx +++ b/xmlsecurity/inc/xmlsecurity/xmlsignaturehelper.hxx @@ -161,7 +161,7 @@ public: certificate. */ void SetX509Certificate(sal_Int32 nSecurityId, const OUString& ouX509IssuerName, - const OUString& ouX509SerialNumber, const OUString& ouX509Cert); + const OUString& ouX509SerialNumber, const OUString& ouX509Cert, const OUString& ouX509CertDigest); void SetDateTime( sal_Int32 nSecurityId, const Date& rDate, const tools::Time& rTime ); void SetDescription(sal_Int32 nSecurityId, const OUString& rDescription); |