The AS Java uses cryptographic providers to obtain cryptographic algorithms, for example, for the message digest or the encryption cipher suite. The order of the cryptographic providers determines the order of the searching algorithm implementation through the available providers.
To change the priority of the cryptographic providers, you have to edit the configuration file named java.security in the standard way for Java virtual machine. For more information, see the configuration of the Java Cryptographic Extension (JCE) providers in http://docs.oracle.com/cd/E19830-01/819-4712/index.html.