paul,

I think you misunderstand the JCE system or what I am stating -  
although I did not use the term provider correctly in the strictest  
sense.

The SUN provider in 1.5 includes significantly more cryptography  
algorithms than the 1.4 and prior releases - most importantly it  
includes an RSA public/private key implementation.

One point you make that is almost correct, is that it does make it  
easier to easier to port to C#, but it is not a direct compile  
anyway, so I am not sure why the Java version wouldn't use JCE.

Even so, supporting both easily only requires an additional layer of  
indirection, just create a PdfCryptography interface. There can be a  
implementation that uses JCE, and an implementation that uses bouncy  
castle directly. The C# version would probably only port over the  
'bouncy castle' version.

Maybe if you can explain why using bouncy castle directly is a good  
solution I could understand this, and why the extra layer of  
indirection is not a valid solution.

Thanks,
Robert




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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/

Reply via email to