summaryrefslogtreecommitdiff
path: root/xmlsecurity/workben
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2005-04-08 15:21:20 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2005-04-08 15:21:20 +0000
commit2c1e76582da10b8dfe04775a872ef2172bdf99eb (patch)
tree345c4967a2798b7560f80d7ce59b7af54551f444 /xmlsecurity/workben
parent4b7da5793f13b282ab031ca5f0740178274cdaa1 (diff)
INTEGRATION: CWS xmlsec11 (1.5.26); FILE MERGED
2005/04/08 13:58:19 mt 1.5.26.1: ...
Diffstat (limited to 'xmlsecurity/workben')
-rw-r--r--xmlsecurity/workben/signaturetest.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/xmlsecurity/workben/signaturetest.cxx b/xmlsecurity/workben/signaturetest.cxx
index 309abf1eaaae..8c168dc08ea4 100644
--- a/xmlsecurity/workben/signaturetest.cxx
+++ b/xmlsecurity/workben/signaturetest.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: signaturetest.cxx,v $
*
- * $Revision: 1.5 $
+ * $Revision: 1.6 $
*
- * last change: $Author: rt $ $Date: 2004-11-26 15:02:16 $
+ * last change: $Author: hr $ $Date: 2005-04-08 16:21:20 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -405,7 +405,7 @@ IMPL_LINK( MyWin, DigitalSignaturesWithServiceHdl, Button*, EMPTYARG )
uno::Reference< security::XDocumentDigitalSignatures > xD(
comphelper::getProcessServiceFactory()->createInstance( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM ( "com.sun.star.security.DocumentDigitalSignatures" ) ) ), uno::UNO_QUERY );
if ( xD.is() )
- xD->SignDocumentContent( xStore );
+ xD->signDocumentContent( xStore, NULL );
return 0;
@@ -421,7 +421,7 @@ IMPL_LINK( MyWin, VerifyDigitalSignaturesHdl, Button*, EMPTYARG )
comphelper::getProcessServiceFactory()->createInstance( rtl::OUString( RTL_CONSTASCII_USTRINGPARAM ( "com.sun.star.security.DocumentDigitalSignatures" ) ) ), uno::UNO_QUERY );
if ( xD.is() )
{
- uno::Sequence< security::DocumentSignaturesInformation > aInfos = xD->VerifyDocumentContentSignatures( xStore );
+ uno::Sequence< security::DocumentSignaturesInformation > aInfos = xD->verifyDocumentContentSignatures( xStore, NULL );
int nInfos = aInfos.getLength();
for ( int n = 0; n < nInfos; n++ )
{