Unfortunately iText needs more than algorithms and RSA public/private
key implementation, most of those already present in jdk 1.4. There's
also PKCS#7 assembly and disassembly and other asn1 operations that the
jce doesn't give you. Even if jdk 1.5 could provide all that, iText
won't leave jdk 1.4 in the near future. By the way, the jce is still
used for the algorithms and signature, BouncyCastle is/will be used for
high level asn1 manipulation and a few other things. I fail to see why
you are so desperate to kill BouncyCastle and add layers of indirection
and multiple implementations, I have enough work as it is.
Maybe I'm missing the point here. If that's the case please prepare your
code implementation so that this can be discussed grounded on something
tangible.
Paulo
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of robert engels
> Sent: Friday, March 02, 2007 5:21 PM
> To: itext iText here
> Subject: [iText-questions] bouncy castle
>
> 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/
>
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.
-------------------------------------------------------------------------
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/