Javier,

Javier Gardella wrote
>> Attached I send you the certificates:
>> -- "AC_raweb.cer" is the root certificate (Trust root)
>> -- "Test Certificate.cer" is the certificate with which I sign the PDF
>> document.

A ASN.1 dump shows that the certificate contains illegal characters:

File: TestCertificate.cer
Time: 12:06:55, 10/23/2012
---------------------------------------------------------------------
    [...]
 122 31   44:       SET {
    <30 2A>
 124 30   42:         SEQUENCE {
    <06 03>
 126 06    3:           OBJECT IDENTIFIER organizationalUnitName (2 5 4 11)
            :             (X.520 id-at (2 5 4))
    <13 23>
 131 13   35:           PrintableString 'Subsecretar.a de la Gesti.n
P.blica'
            :             Error: PrintableString contains illegal
character(s).
            :           }
            :         }
    [...]
 222 31   58:       SET {
    <30 38>
 224 30   56:         SEQUENCE {
    <06 03>
 226 06    3:           OBJECT IDENTIFIER organizationalUnitName (2 5 4 11)
            :             (X.520 id-at (2 5 4))
    <13 31>
 231 13   49:           PrintableString
            :             'Pol.tica de Certificaci.n en http://ca.sgp.gov.a'
            :             'r'
            :             Error: PrintableString contains illegal
character(s).
            :           }
            :         }
    <31 5D>
 282 31   93:       SET {
    <30 5B>
 284 30   91:         SEQUENCE {
    <06 03>
 286 06    3:           OBJECT IDENTIFIER commonName (2 5 4 3)
            :             (X.520 id-at (2 5 4))
    <13 54>
 291 13   84:           PrintableString
            :             'AC de la Subsecretar.a de la Gesti.n P.blica par'
            :             'a Certificados de Correo Electr.nico'
            :             Error: PrintableString contains illegal
character(s).
            :           }
            :         }
            :       }
    [...]
 412 31   56:       SET {
    <30 36>
 414 30   54:         SEQUENCE {
    <06 03>
 416 06    3:           OBJECT IDENTIFIER organizationName (2 5 4 10)
            :             (X.520 id-at (2 5 4))
    <13 2F>
 421 13   47:           PrintableString
            :             'Pol.tica de Certificaci.n de Correo Electr.nico'
            :             Error: PrintableString contains illegal
character(s).
            :           }
            :         }
    [...]
 816 16  119:               IA5String
            :                 'Pol.tica de Certificaci.n de Correo
Electr.nico.'
            :                 'Persona no verificada - No amparado bajo el
Decr'
            :                 'eto 427/98 de la IFDAPN'
            :                 Error: IA5String contains illegal
character(s).
            :               }
            :           }

Please ask the issuer to properly (i.e. as defined by RFCs) encode non-ASCII
characters.

Regards,   Michael



--
View this message in context: 
http://itext-general.2136553.n4.nabble.com/Help-with-iTextSharp-5-3-3-posible-BUG-tp4656672p4656687.html
Sent from the iText - General mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to