23#include <com/sun/star/beans/PropertyValue.hpp>
32 namespace lang {
class XMultiServiceFactory; }
33 namespace io {
class XStream; }
34 namespace embed {
class XStorage; }
35 namespace xml::dom {
class XDocumentBuilder; }
98 const css::uno::Reference<css::security::XCertificate>& xCert);
111 bool bReadOnly, OUString sODFVersion,
bool bHasDocumentSignature);
118 void SetStorage(
const css::uno::Reference < css::embed::XStorage >& rxStore );
123 short run()
override;
std::unique_ptr< weld::TreeView > m_xSignaturesLB
DECL_LINK(AddButtonHdl, weld::Button &, void)
std::unique_ptr< weld::Button > m_xCloseBtn
void ImplFillSignaturesBox()
DECL_LINK(SignatureHighlightHdl, weld::TreeView &, void)
std::unique_ptr< weld::Label > m_xHintDocFT
std::unique_ptr< weld::Label > m_xSigsInvalidFI
DECL_LINK(StartVerifySignatureHdl, LinkParamNone *, bool)
DECL_LINK(RemoveButtonHdl, weld::Button &, void)
bool SignaturesChanged() const
std::unique_ptr< weld::Button > m_xRemoveBtn
DECL_LINK(AdESCompliantCheckBoxHdl, weld::Toggleable &, void)
std::shared_ptr< weld::MessageDialog > m_xInfoBox
std::shared_ptr< CertificateViewer > m_xViewer
DigitalSignaturesDialog(weld::Window *pParent, const css::uno::Reference< css::uno::XComponentContext > &rxCtx, DocumentSignatureMode eMode, bool bReadOnly, OUString sODFVersion, bool bHasDocumentSignature)
std::unique_ptr< weld::CheckButton > m_xAdESCompliantCB
std::unique_ptr< weld::Label > m_xSigsValidFI
std::unique_ptr< weld::Label > m_xHintBasicFT
css::uno::Reference< css::security::XCertificate > getCertificate(const SignatureInformation &rInfo)
std::unique_ptr< weld::Label > m_xHintPackageFT
void ImplShowSignaturesDetails()
DECL_LINK(OKButtonHdl, weld::Button &, void)
DECL_LINK(ViewButtonHdl, weld::Button &, void)
DECL_LINK(SignatureSelectHdl, weld::TreeView &, bool)
std::unique_ptr< weld::Image > m_xSigsInvalidImg
OUString const m_sODFVersion
void GetCertificateManager(OUString &aPath, OUString &sExecutable, OUString &sFoundGUIServer)
virtual ~DigitalSignaturesDialog() override
bool GetPathAllOS(OUString &aPath)
std::unique_ptr< weld::Image > m_xSigsValidImg
bool IsThereCertificateMgr()
void SetStorage(const css::uno::Reference< css::embed::XStorage > &rxStore)
std::unique_ptr< weld::Image > m_xSigsNotvalidatedImg
std::unique_ptr< weld::Image > m_xSigsOldSignatureImg
void ImplGetSignatureInformations(bool bUseTempStream, bool bCacheLastSignature)
void SetSignatureStream(const css::uno::Reference< css::io::XStream > &rxStream)
DECL_LINK(CertMgrButtonHdl, weld::Button &, void)
std::unique_ptr< weld::Button > m_xViewBtn
DocumentSignatureManager maSignatureManager
std::unique_ptr< weld::Label > m_xSigsNotvalidatedFI
std::unique_ptr< weld::Button > m_xAddBtn
std::unique_ptr< weld::Button > m_xStartCertMgrBtn
bool m_bWarningShowSignMacro
bool const m_bHasDocumentSignature
std::unique_ptr< weld::Label > m_xSigsOldSignatureFI
css::uno::Reference< css::xml::crypto::XSecurityEnvironment > getSecurityEnvironmentForCertificate(const css::uno::Reference< css::security::XCertificate > &xCert)
Manages signatures (addition, removal), used by DigitalSignaturesDialog.