I am using below jar files
bcmail-jdk16-1.46,
bcprov-jdk16-1.46,
commons-codec-1.9,
commons-io-2.5
I am getting error at this line
CMSSignedData cms = new CMSSignedData(Base64.decode(respBytes));
Error:-
java.lang.SecurityException: class "org.bouncycastle.asn1.DEREncodable"'s signer information does not match signer information of other classes in the same package
i tried everything but did not find solution of this.