removed bouncycastle dependencies