Re: [iText-questions] PIN is required twice when signing

2008-05-25 Thread Paulo Soares
- Original Message - From: "Baer" <[EMAIL PROTECTED]> To: Sent: Sunday, May 25, 2008 10:51 PM Subject: Re: [iText-questions] PIN is required twice when signing > > Hi Paulo, > > I'm sure that this type of smartcard does not allow to read the private

Re: [iText-questions] PIN is required twice when signing

2008-05-25 Thread Baer
Hi Paulo, I'm sure that this type of smartcard does not allow to read the private key. When I print out the private key I get the following line: - key = RSAPrivateKey [size=1536 bits, type=Exchange, container=4126649253410001] - In another constellation

Re: [iText-questions] PIN is required twice when signing

2008-05-25 Thread Paulo Soares
Thanks. This assumes that the private key is exportable from the smartcard, isn't? Paulo - Original Message - From: "Baer" <[EMAIL PROTECTED]> To: Sent: Sunday, May 25, 2008 8:13 PM Subject: Re: [iText-questions] PIN is required twice when signing > > H

Re: [iText-questions] PIN is required twice when signing

2008-05-25 Thread Baer
Hi Paulo, enclosed is an example for both approaches; the following steps are necessary to run this example: * import private key into your windows certificate store; in my setup there is a smartcard plus smartcard reader with a pkcs11.dll that places the entries in the certificate store tempora

Re: [iText-questions] PIN is required twice when signing

2008-05-21 Thread Paulo Soares
Can you post your code using the smartcard? Paulo > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of Baer > Sent: Wednesday, May 21, 2008 7:08 AM > To: itext-questions@lists.sourceforge.net > Subject: [iText-questions] PIN i

[iText-questions] PIN is required twice when signing

2008-05-20 Thread Baer
Hi Bruno, this is just a suggestion and I'm not sure if it's possible to include this into iText without loosing flexibility. I created a signing application based on iText according to this example, but adapted to benefit of Java 6 support for the windows certificate store and then selected a c