Lines Matching refs:aSignatureHelper
78 XMLSignatureHelper aSignatureHelper( xMSF ); in main() local
80 bool bInit = aSignatureHelper.Init( aCryptoToken ); in main()
89 aSignatureHelper.StartMission(); in main()
94 …uno::Reference< xml::crypto::XSecurityEnvironment > xSecurityEnvironment = aSignatureHelper.GetSec… in main()
102 nSecurityId = aSignatureHelper.GetNewSecurityId(); in main()
106 aSignatureHelper.SetX509Certificate( in main()
110 aSignatureHelper.AddForSigning( nSecurityId, aXMLFileName, aXMLFileName, sal_False ); in main()
111 aSignatureHelper.AddForSigning( nSecurityId, aBINFileName, aBINFileName, sal_True ); in main()
112 aSignatureHelper.SetDateTime( nSecurityId, Date(), Time() ); in main()
118 bDone = aSignatureHelper.CreateAndWriteSignature( xOutputStream ); in main()
124 aSignatureHelper.EndMission(); in main()
136 aSignatureHelper.SetStartVerifySignatureHdl( Link( NULL, denyVerifyHandler ) ); in main()
137 aSignatureHelper.StartMission(); in main()
140 bDone = aSignatureHelper.ReadAndVerifySignature( xInputStream ); in main()
151 signatureInformations = aSignatureHelper.GetSignatureInformations(); in main()
158 xDocumentHandler = aSignatureHelper.CreateDocumentHandlerWithHeader( xOutputStream); in main()
159 aSignatureHelper.ExportSignature( xDocumentHandler, signatureInformations[1]); in main()
160 aSignatureHelper.CloseDocumentHandler( xDocumentHandler); in main()
161 aSignatureHelper.EndMission(); in main()
165 aSignatureHelper.StartMission(); in main()
167 nSecurityId = aSignatureHelper.GetNewSecurityId(); in main()
171 aSignatureHelper.SetX509Certificate( in main()
175 aSignatureHelper.AddForSigning( nSecurityId, aXMLFileName, aXMLFileName, sal_False ); in main()
176 aSignatureHelper.AddForSigning( nSecurityId, aBINFileName, aBINFileName, sal_True ); in main()
177 aSignatureHelper.SetDateTime( nSecurityId, Date(), Time() ); in main()
181 xDocumentHandler = aSignatureHelper.CreateDocumentHandlerWithHeader( xOutputStream); in main()
183 aSignatureHelper.ExportSignature( xDocumentHandler, signatureInformations[0]); in main()
184 bDone = aSignatureHelper.CreateAndWriteSignature( xDocumentHandler ); in main()
185 aSignatureHelper.ExportSignature( xDocumentHandler, signatureInformations[1]); in main()
186 aSignatureHelper.CloseDocumentHandler( xDocumentHandler); in main()
193 aSignatureHelper.EndMission(); in main()
197 aSignatureHelper.SetStartVerifySignatureHdl( Link( NULL, startVerifyHandler ) ); in main()
199 aSignatureHelper.StartMission(); in main()
202 bDone = aSignatureHelper.ReadAndVerifySignature( xInputStream ); in main()
210 aSignatureHelper.EndMission(); in main()
212 …QueryPrintSignatureDetails( aSignatureHelper.GetSignatureInformations(), aSignatureHelper.GetSecur… in main()
216 aSignatureHelper.StartMission(); in main()
219 bDone = aSignatureHelper.ReadAndVerifySignature( xInputStream ); in main()
227 aSignatureHelper.EndMission(); in main()
229 …QueryPrintSignatureDetails( aSignatureHelper.GetSignatureInformations(), aSignatureHelper.GetSecur… in main()