rollback to bouncycastle 1.49

Version 1.50 is not working in OSGi environment