[fedora-java] Replacement for JCEECDHKeyAgreement

Michal Srb msrb at redhat.com
Mon Feb 24 08:17:11 UTC 2014


On 02/24/2014 07:46 AM, David Juran wrote:
> Hello!
>
> I would need help with some pointers for how to find a replacement for
> (the ancient?) org.bouncycastle.jce.provider.JCEECDHKeyAgreement.

Hello David,

The replacement you are looking for is probably 
"org.bouncycastle.jcajce.provider.asymmetric.ec.KeyAgreementSpi".

Michal

>
> I'm maintaining the azureus package for fedora and (quite some time
> ago), it's come to my attention
> (https://bugzilla.redhat.com/show_bug.cgi?id=820117) that azureus
> bundles an ancient version of BouncyCastle and relies on the
> JCEECDHKeyAgreement class.  This class no longer exists in current
> BouncyCastle and all information I can find about it is a javadoc of a
> rather old Bouncycastle version
> (http://www.cs.berkeley.edu/~jonah/bc/org/bouncycastle/jce/provider/JCEECDHKeyAgreement.html)
> So now my question is, does anyone have any good leads on how to convert
> this too use the current BouncyCastle API? The problematic (upstreams)
> sources can be found in
> http://svn.vuze.com/public/client/branches/BRANCH_4812/azureus2/src/com/aelitis/azureus/core/security/impl/CryptoSTSEngineImpl.java
>



More information about the java-devel mailing list