I'm trying to use bouncycastle with itext but really don't know how :S
As i said i'm new using java, can somebody help me?
Thanks, and congratulations for doing this class
Maybe your linux jdk doesn't have a decent
crypto provider. Use the bouncycastle crypto provider.
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Miguel Domínguez Matos
> Sent: Wednesday, October 19, 2005 10:52 AM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-questions] pdf signature, linux problem
>
> Hi, i'm new using java, itext and this mailing list.
>
> I have tested an app based on paulo examples (and precompiled .jar)
> for sign pdf documents in windows and all was fine. But i need use
> this app under linux and i have this problem:
>
> [EMAIL PROTECTED] firmas]$ java -classpath
> .:itext-paulo-154.jar firma_pdf
> Exception in thread "main" java.security.KeyStoreException: pkcs12
> at java.security.KeyStore.getInstance(java.lang.String)
> (/usr/lib/libgcj.so.5.0.0)
> at firma_pdf.main(java.lang.String[]) (Unknown Source)
>
> Code:
> (...)
> KeyStore ks = KeyStore.getInstance("pkcs12");
> ks.load(new FileInputStream("FILEXXXX.p12"),
> "PASSWORD".toCharArray());
>
> (...)
>
> Does anybody know what could happen?
>
> [EMAIL PROTECTED] firmas]$ java -version
> java version "1.4.2"
> jdkgcj 0.3.1 (http://www.arklinux.org/projects/jdkgcj)
> gcj (GCC) 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)
> Copyright (C) 2004 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.
> There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A
> PARTICULAR PURPOSE.
>
> [EMAIL PROTECTED] firmas]$ javac -version
> Eclipse Java Compiler 0.319_R21x, Copyright IBM Corp 2000-2003. All
> rights reserved.
>
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by:
> Power Architecture Resource Center: Free content, downloads,
> discussions,
> and more. http://solutions.newsforge.com/ibmarch.tmpl
> _______________________________________________
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions