Lines Matching refs:Security
48 Provider[] providers = Security.getProviders();
55 Security.removeProvider(name);
56 if (Security.getProvider(name) != null) {
59 Security.addProvider(p);
61 if (Arrays.equals(providers, Security.getProviders()) == false) {
62 throw new Exception("Provider mismatch: " + Arrays.asList(Security.getProviders()));
66 Security.removeProvider("foo");
67 if (Arrays.equals(providers, Security.getProviders()) == false) {
68 throw new Exception("Provider mismatch: " + Arrays.asList(Security.getProviders()));
72 Security.removeProvider("SunJCE");
73 if (Security.getProvider("SunJCE") != null) {