Re: [iText-questions] iTextSharp, Powershell and Headers & Footers

2012-12-31 Thread Tim Bernhardson
Found the problem...iTextSharp implements events in a 'unusual/non-standard way' which Powershell does not work with. Powershell expects an event to be declared using the .NET standard of using "public delegate" and "public event" ( see http://msdn.microsoft.com/en-us/library/aa645739(v=vs.71).

Re: [iText-questions] Signing PDF with Smart Card

2012-12-31 Thread Paulo Soares
If you are in .NET and your card is registered in the Windows Certificate Store use X509Certificate2Signature.cs. If you only have a PKCS11 compatible DLL use http://sourceforge.net/projects/pkcs11net/ and follow the code at http://itextpdf.com/book/digitalsignatures, it's for java but the methods

Re: [iText-questions] Signing PDF with Smart Card

2012-12-31 Thread 1T3XT BVBA
On 31/12/2012 4:44, Jose M. Morales C. wrote: Hi there, I'm new to all this digital certificates and signing pdf, so I'm trying to make a program to sign PDF files with a Digital Certificate in a Smart Card. I'm able to do it with a development certificate generated by me, but when I try to s