upgrade bouncecastle to 1.47 to fix the error:
java.lang.NoSuchMethodError: org/bouncycastle/asn1/ASN1InputStream.readObject()Lorg/bouncycastle/asn1/ASN1Primitive;
make the .product work