Hi,
I am new to this itext. I copied the "EncryptWithCertification.java" example
which is posted in itext example page. While running the sample I got the
below exception. Please help me fix this issue.
Exception in thread "main" ExceptionConverter:
java.security.NoSuchAlgorithmException: Cannot find any provider supporting
1.2.840.10040.4.1
at javax.crypto.Cipher.getInstance(DashoA13*..)
at
com.itextpdf.text.pdf.PdfPublicKeySecurityHandler.computeRecipientInfo(PdfPublicKeySecurityHandler.java:265)
at
com.itextpdf.text.pdf.PdfPublicKeySecurityHandler.createDERForRecipient(PdfPublicKeySecurityHandler.java:242)
at
com.itextpdf.text.pdf.PdfPublicKeySecurityHandler.getEncodedRecipient(PdfPublicKeySecurityHandler.java:191)
at
com.itextpdf.text.pdf.PdfEncryption.getEncryptionDictionary(PdfEncryption.java:621)
at com.itextpdf.text.pdf.PdfWriter.setEncryption(PdfWriter.java:2057)
at EncryptWithCertificate.createPdf(EncryptWithCertificate.java:54)
at EncryptWithCertificate.main(EncryptWithCertificate.java:140)
--
View this message in context:
http://itext-general.2136553.n4.nabble.com/Encrypt-with-Public-certification-tp3841509p3841509.html
Sent from the iText - General mailing list archive at Nabble.com.
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
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