Vista combinada Visión Plana Vista de árbol
Discusiones [ Anterior | Siguiente ]
Use of Portuguese National Identification Card (SmartCard)
toggle
Hola,
It seems this software is very good.
I try tu use SmartCard (Portuguese National Identification Card - PKCS7) but it do not work.
I've develop a small software (base in Itext and C#) that works fine.
How to put your software to use SmartCard (PKCS7)?
What operating System are you using?
Can you start sinadura application from console and try to load the pkcs7 and sign with the smartcard?, if there is an error a stacktrace will throws. Can you post it into the forum?
To load the smartcard you need to configure the .so o .dll (PKCS11 ones) into the sinadura preferences
I’m using XP SP3.
I’ve xome problems installing win32 version, but I’ve installed Java version.
I can open the application and I can chose the PDF file.
But the system claims for certificate file.
In Sinadura preferences I´ve to choose a certificate in file. My certificate is not in a file. Is inside SC card and cannot be extracted.
You have to add a new Certificate device

Tools>Personal Configuration>Certificates Managment>Add

In the new window:

Name: The name you have to appear into the list
Folder: The path to the pkcs11 dll (driver for your smart card) file
Password: The password of the smart carf
Type: PKCS11
I think the dll for the windows system is, pteidpkcs11.dll into the System32 folder.
for the linux system the library is /usr/local/lib/libpteidpkcs11.so
and for the Mac OS X is /usr/local/lib/pteidpkcs11.bundle

Ok, it works.
I've instaled jar version on win Xp SP3.
In certificate I chose pteidpkcs11.dll, and it works.

Only tree questions:
- How to define signature reason and Local?

- In PDF Reader 9, the error "4000 "unrecognized PDF content"" in PDF/SigQ (when showing signed version persists.
is possible to correct. In Itext the solution is already discovered. Are you palning to resolve that?

- How to translate also to portuguese?

Best regards
Ok, to define the reson and location

Tools>Personal Configuration> Sign>Appearance


To translate to other languages you can follow this steps (spanish) http://www.sinadura.net/wik/-/wiki/sinadura/Internacionalizar
If you translate it send to my mail and we can upload to the server.

If you want we can send to you a new version (2.0) in september, to test and translate it too, and we can include it to the 2.0 version
Anónimo:

- In PDF Reader 9, the error "4000 "unrecognized PDF content"" in PDF/SigQ (when showing signed version persists.
is possible to correct. In Itext the solution is already discovered. Are you palning to resolve that?


can you sen us more information of this?
We are using the last itext version already (in development) and this warning is not appearing anymore, so it will be fixed in the next sinadura release.
Anónimo:
Anónimo:
Heloo
- In PDF Reader 9, the error "4000 "unrecognized PDF content"" in PDF/SigQ (when showing signed version persists.
is possible to correct. In Itext the solution is already discovered. Are you palning to resolve that?


can you sen us more information of this?



Hi,

as I find in sourceforge forum, this error is about PDF Encoding.
The solution is, in iText library, you must remove two lines in com.lowagie.text.pdf.PdfStamperImp.java :

if (dr.get(PdfName.ENCODING) == null)
dr.put(PdfName.ENCODING, PdfName.WIN_ANSI_ENCODING);

The problem description and solution is at:
http://sourceforge.net/tracker/index.php?func=detail&aid=1851980&group_id=15255&atid=115255