diff options
author | Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> | 2017-07-10 10:02:10 +0200 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2017-07-10 15:41:44 +0200 |
commit | 820bd4b3b64a5746599c48c729037a959ff61c84 (patch) | |
tree | 720e47094e0981b6fbcacdea5b963c92d3210e52 /xmlsecurity/inc | |
parent | c86be45d343635f2e137b8ea710d87e1a612101d (diff) |
tdf#108977 Show signature info also for keys we don't have locally
gpg4libre
Change-Id: I89593224590007e61bce95c14922c08551282067
Reviewed-on: https://gerrit.libreoffice.org/39742
Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'xmlsecurity/inc')
-rw-r--r-- | xmlsecurity/inc/sigstruct.hxx | 1 | ||||
-rw-r--r-- | xmlsecurity/inc/xmlsignaturehelper.hxx | 2 | ||||
-rw-r--r-- | xmlsecurity/inc/xsecctl.hxx | 4 |
3 files changed, 5 insertions, 2 deletions
diff --git a/xmlsecurity/inc/sigstruct.hxx b/xmlsecurity/inc/sigstruct.hxx index 68e64176206b..ff6ee5e5d3a5 100644 --- a/xmlsecurity/inc/sigstruct.hxx +++ b/xmlsecurity/inc/sigstruct.hxx @@ -77,6 +77,7 @@ struct SignatureInformation OUString ouGpgKeyID; OUString ouGpgCertificate; + OUString ouGpgOwner; OUString ouSignatureValue; css::util::DateTime stDateTime; diff --git a/xmlsecurity/inc/xmlsignaturehelper.hxx b/xmlsecurity/inc/xmlsignaturehelper.hxx index 7a39b6955ca6..209c93c15a09 100644 --- a/xmlsecurity/inc/xmlsignaturehelper.hxx +++ b/xmlsecurity/inc/xmlsignaturehelper.hxx @@ -151,7 +151,7 @@ public: void AddEncapsulatedX509Certificate(const OUString& ouEncapsulatedX509Certificate); void SetGpgCertificate(sal_Int32 nSecurityId, const OUString& ouGpgCertDigest, - const OUString& ouGpgCert); + const OUString& ouGpgCert, const OUString& ouGpgOwner); void SetDateTime( sal_Int32 nSecurityId, const Date& rDate, const tools::Time& rTime ); void SetDescription(sal_Int32 nSecurityId, const OUString& rDescription); diff --git a/xmlsecurity/inc/xsecctl.hxx b/xmlsecurity/inc/xsecctl.hxx index a38c1cbf8e3d..9ddc22affbae 100644 --- a/xmlsecurity/inc/xsecctl.hxx +++ b/xmlsecurity/inc/xsecctl.hxx @@ -309,6 +309,7 @@ private: void setDigestValue( sal_Int32 nDigestID, OUString& ouDigestValue ); void setGpgKeyID( OUString& ouKeyID ); void setGpgCertificate( OUString& ouGpgCert ); + void setGpgOwner( OUString& ouGpgOwner ); void setDate( OUString& ouDate ); void setDescription(const OUString& rDescription); @@ -388,7 +389,8 @@ public: void setGpgCertificate( sal_Int32 nSecurityId, const OUString& ouCertDigest, - const OUString& ouCert); + const OUString& ouCert, + const OUString& ouOwner); void setDate( sal_Int32 nSecurityId, |