diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-03-04 12:20:38 +0100 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-03-04 16:01:34 +0100 |
commit | 4351ff1f12268a0b97413e811503ac65a51665eb (patch) | |
tree | 2d771c2c4c706224aed13f3a2674b0fd1536a8b3 /xmlsecurity/inc | |
parent | 4225092a3586498f27dcb3cc54ae7f5b8ea53d4e (diff) |
xmlsecurity: extract signature removal logic from DigitalSignaturesDialog
So that it'll be possible to call that code without an active dialog,
from a headless unit test.
Change-Id: I1728a666ff5d84b337efd7e2b7eb68469896257a
Diffstat (limited to 'xmlsecurity/inc')
-rw-r--r-- | xmlsecurity/inc/documentsignaturemanager.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xmlsecurity/inc/documentsignaturemanager.hxx b/xmlsecurity/inc/documentsignaturemanager.hxx index b5a7e1b83871..918c02e37896 100644 --- a/xmlsecurity/inc/documentsignaturemanager.hxx +++ b/xmlsecurity/inc/documentsignaturemanager.hxx @@ -53,6 +53,8 @@ public: SignatureStreamHelper ImplOpenSignatureStream(sal_Int32 eStreamMode, bool bTempStream); /// Add a new signature, using xCert as a signing certificate, and rDescription as description. bool add(const css::uno::Reference<css::security::XCertificate>& xCert, const OUString& rDescription, sal_Int32& nSecurityId); + /// Remove signature at nPosition. + void remove(sal_uInt16 nPosition); /// Read signatures from either a temp stream or the real storage. void read(bool bUseTempStream, bool bCacheLastSignature = true); }; |