[Libreoffice-commits] .: Branch 'feature/pdf-signing' - filter/source
Gökcen Eraslan
gokcen at kemper.freedesktop.org
Sun Jul 1 01:37:22 PDT 2012
filter/source/pdf/impdialog.cxx | 14 ++++++++++++++
1 file changed, 14 insertions(+)
New commits:
commit 64f614d93e0ff2b719e8dd360c0ed684569439bc
Author: Gökçen Eraslan <gokcen.eraslan at gmail.com>
Date: Sun Jul 1 11:35:12 2012 +0300
Add CertificateChooser code in comment.
When I solve #include "xmlsecurity/..." problem, I will use that code.
Change-Id: Ia119557d90ba231d848b7eaac41249a8acd897a2
diff --git a/filter/source/pdf/impdialog.cxx b/filter/source/pdf/impdialog.cxx
index 1ca8a9a..cc26818 100644
--- a/filter/source/pdf/impdialog.cxx
+++ b/filter/source/pdf/impdialog.cxx
@@ -33,6 +33,7 @@
#include "vcl/msgbox.hxx"
#include "sfx2/passwd.hxx"
#include "svtools/miscopt.hxx"
+//#include "xmlsecurity/certificatechooser.hxx"
#include "comphelper/storagehelper.hxx"
@@ -1697,6 +1698,19 @@ ImpPDFTabSigningPage::~ImpPDFTabSigningPage()
IMPL_LINK_NOARG( ImpPDFTabSigningPage, ClickmaPbSignSelectCert )
{
// Certificate selection dialog will pop up
+ /*
+ Reference< dcss::xml::crypto::XSecurityEnvironment > xSecEnv;
+ Reference< XComponentContext > mxCtx;
+
+ XMLSignatureHelper aSignatureHelper( mxCtx );
+ if ( aSignatureHelper.Init() )
+ xSecEnv = aSignatureHelper.GetSecurityEnvironment();
+
+ SignatureInformations maCurrentSignatureInformations = maSignatureHelper.GetSignatureInformations();
+ CertificateChooser aChooser( this, mxCtx, xSecEnv, maCurrentSignatureInformations );
+ aChooser.Execute();
+ */
+
return 0;
}
More information about the Libreoffice-commits
mailing list