This look like a question to IBM.
Paulo
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Sasidharan N
> Sent: Monday, December 17, 2007 10:30 AM
> To: [email protected]
> Subject: [iText-questions] PDF Signing with IBM Java 1.5
>
>
> I'm trying to sign a pdf by the help of iText with both Sun
> 1.5 java & IBM
> 1.5 java by having iKey 2000 as my token.Though, signing was
> successful with
> Sun java, I'm getting the following exception with IBM java.
>
> java.lang.NullPointerException
> at java.math.BigInteger.remainder(BigInteger.java:1367)
> at com.ibm.crypto.provider.c.a(Unknown Source)
> at com.ibm.crypto.provider.c.a(Unknown Source)
> at com.ibm.crypto.provider.gc.engineSign(Unknown Source)
> at
> java.security.Signature$Delegate.engineSign(Signature.java:1180)
> at java.security.Signature.sign(Signature.java:576)
> at
> com.lowagie.text.pdf.PdfPKCS7.getEncodedPKCS7(PdfPKCS7.java:798)
> at
> com.lowagie.text.pdf.PdfPKCS7.getEncodedPKCS7(PdfPKCS7.java:771)
> at
> com.lowagie.text.pdf.PdfSigGenericPKCS.setSignInfo(PdfSigGener
> icPKCS.java:110)
> at
> com.lowagie.text.pdf.PdfSignatureAppearance.preClose(PdfSignat
> ureAppearance.java:928)
> at
> com.lowagie.text.pdf.PdfSignatureAppearance.preClose(PdfSignat
> ureAppearance.java:847)
> at com.lowagie.text.pdf.PdfStamper.close(PdfStamper.java:175)
> at SignPDF.signPDF(SignPDF.java:139)
> at SignPDF.main(SignPDF.java:280)
>
> Getting the private key & certificate chain was successful,
> but still, this
> exception gets thrown @ this line - stamper.close().
>
> Any ideas on this would be highly appreciated.
Aviso Legal:
Esta mensagem é destinada exclusivamente ao destinatário. Pode conter
informação confidencial ou legalmente protegida. A incorrecta transmissão desta
mensagem não significa a perca de confidencialidade. Se esta mensagem for
recebida por engano, por favor envie-a de volta para o remetente e apague-a do
seu sistema de imediato. É proibido a qualquer pessoa que não o destinatário de
usar, revelar ou distribuir qualquer parte desta mensagem.
Disclaimer:
This message is destined exclusively to the intended receiver. It may contain
confidential or legally protected information. The incorrect transmission of
this message does not mean the loss of its confidentiality. If this message is
received by mistake, please send it back to the sender and delete it from your
system immediately. It is forbidden to any person who is not the intended
receiver to use, distribute or copy any part of this message.
-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/