Provider sunJce = new com.sun.crypto.provider.SunJCE(); Security.addProvider(sunJce); Provider[] list = Security.getProviders(); for (int i = 0; i < list.length; i++) { System.out.println(list[i]); }