Hi Guys,
Well, I'm trying to sign my PDF with a TSA Client, my problem is that it
throws some header errors like those:
Exception in thread "main" java.lang.IllegalArgumentException: Illegal
>> character(s) in message header value: Basic
>> Y29udHJlbF9jb25zdHJ1Y29lczpvOWF3ODlkb2xhOW9seXM5MzdoMHlwMDN5NG4yN3RkeTQ5cHkw
>
> cHM=
>
> at sun.net.www.protocol.http.HttpURLConnection.checkMessageHeader(Unknown
>> Source)
>
> at
>> sun.net.www.protocol.http.HttpURLConnection.isExternalMessageHeaderAllowed(Unknown
>> Source)
>
> at sun.net.www.protocol.http.HttpURLConnection.setRequestProperty(Unknown
>> Source)
>
> at
>> com.itextpdf.text.pdf.security.TSAClientBouncyCastle.getTSAResponse(TSAClientBouncyCastle.java:245)
>
>
I'm using the following example: http://itextpdf.com/examples/iia.php?id=225
When trying to sign with a different software that uses Itext as it's base
like PDF Signer (http://www.signfiles.com/pdf-signer/). It works correctly.
Does anyone have any clue?
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
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