Bouncycastle encryption error java.lang.SecurityException: class "org.bouncycastle.math.ec.ECCurve$AbstractFp"'s signer information does not match signer information of other classes in the same package
            Asked
            
        
        
            Active
            
        
            Viewed 701 times
        
    0
            
            
        - 
                    ...and what is your question? What did you do to get this Exception? – Hulk Jan 25 '19 at 09:31
 - 
                    I use bouncycastle encryption, the local test can pass, the server will report this exception, how to solve this exception?I found other solutions, but I can't. – Liang Jan 25 '19 at 09:35
 - 
                    Introduced bcpkix-jdk15on-1.60.jar and bcprov-jdk15on-1.60.jar these two packages, the local can be, the server will report an error, why? – Liang Jan 25 '19 at 09:42
 - 
                    Is anybody here? – Liang Jan 25 '19 at 09:44
 - 
                    related question, possible duplicate: https://stackoverflow.com/questions/2877262/java-securityexception-signer-information-does-not-match – Hulk Jan 25 '19 at 09:55
 - 
                    i.e. the easiest thing to try is to swap the order of the jars – Hulk Jan 25 '19 at 09:58
 - 
                    Sorry,but how to swap the order of the jars? – Liang Jan 25 '19 at 10:05
 - 
                    Because it is different from the encryption that comes with jdk, it need to configure it under the secutity of jdk? – Liang Jan 25 '19 at 10:07
 - 
                    1That depends on how you build your project. In the linnked question there are answers for maven and eclipse. – Hulk Jan 25 '19 at 10:11