Home
last modified time | relevance | path

Searched refs:Security (Results 1 – 25 of 310) sorted by relevance

12345678910>>...13

/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
DSecurityTest.java29 import java.security.Security;
72 Security.insertProviderAt(null, 1); in test_insertProviderAtLjava_security_ProviderLI()
78 int initNum = Security.getProviders().length; // initial number of providers in test_insertProviderAtLjava_security_ProviderLI()
79 Provider initialSecondProviderName = Security.getProviders()[1]; in test_insertProviderAtLjava_security_ProviderLI()
84 assertEquals(initNum + 1, Security.insertProviderAt(p, -1)); in test_insertProviderAtLjava_security_ProviderLI()
85 assertSame(p, Security.getProviders()[initNum]); in test_insertProviderAtLjava_security_ProviderLI()
88 assertEquals(-1, Security.insertProviderAt(p, 1)); in test_insertProviderAtLjava_security_ProviderLI()
90 Security.removeProvider(p.getName()); in test_insertProviderAtLjava_security_ProviderLI()
93 assertEquals(initNum + 1, Security.insertProviderAt(p, in test_insertProviderAtLjava_security_ProviderLI()
95 assertSame(p, Security.getProviders()[initNum]); in test_insertProviderAtLjava_security_ProviderLI()
[all …]
DSecurity2Test.java22 import java.security.Security;
41 Provider[] allProviders = Security.getProviders(); in test_getProvidersLjava_lang_String()
90 provTest = Security.getProviders(filterString); in test_getProvidersLjava_lang_String()
103 provTest = Security.getProviders("Signature.SHA1withDSA :512"); in test_getProvidersLjava_lang_String()
145 Provider[] allProviders = Security.getProviders(); in getProvidersCount()
218 Provider provTest[] = Security.getProviders(filter); in test_getProvidersLjava_util_Map()
231 provTest = Security.getProviders(filter); in test_getProvidersLjava_util_Map()
244 provTest = Security.getProviders(filter); in test_getProvidersLjava_util_Map()
256 provTest = Security.getProviders(filter); in test_getProvidersLjava_util_Map()
267 provTest = Security.getProviders(filter); in test_getProvidersLjava_util_Map()
[all …]
DProvider2Test.java23 import java.security.Security;
140 Security.addProvider(mockProvider); in test_getAlias()
149 Security.removeProvider("MOCKNAME"); in test_getAlias()
DKeyStoreTest.java28 import java.security.Security;
90 Security.insertProviderAt(mProv, 2); in setUp()
102 Security.removeProvider(mProv.getName()); in tearDown()
189 String defKSType = Security.getProperty(propName); in testKeyStore01()
199 Security.setProperty(propName, defaultType); in testKeyStore01()
201 resType = Security.getProperty(propName); in testKeyStore01()
/external/apache-harmony/security/src/test/impl/java.injected/java/security/
DSecurity_ImplTest.java38 assertNull("Incorrect result on null parameter", Security in testGetAlgorithmProperty()
40 assertNull("Incorrect result on null parameter", Security in testGetAlgorithmProperty()
42 assertNull("Incorrect result (provider not added)", Security in testGetAlgorithmProperty()
46 Security.addProvider(p); in testGetAlgorithmProperty()
49 "SomeClassName", Security.getAlgorithmProperty("MyAlGoriThm", "MySerVicE")); in testGetAlgorithmProperty()
51 Security.removeProvider(p.getName()); in testGetAlgorithmProperty()
61 providers = Security.getProviders(); in testGetProviders()
75 Security.getProviders("AAA.BBB CCC"); in test_getProvidersLjava_lang_String()
90 Security.getProviders(m); in test_getProvidersLjava_util_Map()
100 alg1 = Security.getAlgorithms("AAAAAAAAAAAAAAA"); in testGetAlgorithms()
[all …]
/external/apache-harmony/auth/src/test/java/common/org/ietf/jgss/
DGSSManagerTest.java25 import java.security.Security;
38 String oldProvider = Security.getProperty(GSSManager.MANAGER); in testGetInstance_valid()
40 Security.setProperty(GSSManager.MANAGER, TestManager.class in testGetInstance_valid()
46 Security.setProperty(GSSManager.MANAGER, (oldProvider == null) ? "" in testGetInstance_valid()
55 String oldProvider = Security.getProperty(GSSManager.MANAGER); in testGetInstance_invalid()
58 Security.setProperty(GSSManager.MANAGER, "a.b.c.D"); in testGetInstance_invalid()
64 Security.setProperty(GSSManager.MANAGER, ""); in testGetInstance_invalid()
70 Security.setProperty(GSSManager.MANAGER, (oldProvider == null) ? "" in testGetInstance_invalid()
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/login/
DLoginContextTest.java25 import java.security.Security;
135 Security.setProperty("auth.login.defaultCallbackHandler", in testLC_String_InaccessibleCallbackHandler()
145 Security.setProperty("auth.login.defaultCallbackHandler", ""); in testLC_String_InaccessibleCallbackHandler()
162 Security.setProperty("auth.login.defaultCallbackHandler", in testLC_String_InvalidCallbackHandler()
170 Security.setProperty("auth.login.defaultCallbackHandler", ""); in testLC_String_InvalidCallbackHandler()
184 Security in testLC_String_InitCallbackHandler()
193 Security.setProperty("auth.login.defaultCallbackHandler", ""); in testLC_String_InitCallbackHandler()
243 Security in testLC_String_LoginModuleInitialize()
258 Security.setProperty("auth.login.defaultCallbackHandler", ""); in testLC_String_LoginModuleInitialize()
344 Security in testLC_StringCallbackHandler_NoInit()
[all …]
DConfigurationTest.java29 import java.security.Security;
107 String oldProvider = Security.getProperty(LOGIN_CONFIG_PROVIDER); in test_loadDefaultProvider()
110 Security.setProperty(LOGIN_CONFIG_PROVIDER, ConfTestProvider.class in test_loadDefaultProvider()
117 Security.setProperty(LOGIN_CONFIG_PROVIDER, "ThereIsNoSuchClass"); in test_loadDefaultProvider()
128 Security.setProperty(LOGIN_CONFIG_PROVIDER, this.getClass() in test_loadDefaultProvider()
139 Security.setProperty(LOGIN_CONFIG_PROVIDER, in test_loadDefaultProvider()
277 Security.addProvider(mp); in test_getInstance_String_Parameters_String()
323 Security.removeProvider("MockProvider"); in test_getInstance_String_Parameters_String()
332 Security.addProvider(mp); in test_getInstance_String_Parameters()
355 Security.removeProvider("MockProvider"); in test_getInstance_String_Parameters()
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/sasl/
DSasl1Test.java25 import java.security.Security;
47 provs = Security.getProviders(); in setUp()
52 Security.removeProvider(element.getName()); in setUp()
62 Security.insertProviderAt(provs[i], (i+1)); in tearDown()
DSasl4Test.java26 import java.security.Security;
56 provs = Security.getProviders(); in setUp()
61 Security.removeProvider(element.getName()); in setUp()
70 Security.insertProviderAt(element, 1); in addProviders()
82 Security.removeProvider(element.getName()); in tearDown()
87 Security.insertProviderAt(provs[i], (i+1)); in tearDown()
DSasl3Test.java26 import java.security.Security;
59 provs = Security.getProviders(); in setUp()
64 Security.removeProvider(element.getName()); in setUp()
73 Security.insertProviderAt(element, 1); in addProviders()
85 Security.removeProvider(element.getName()); in tearDown()
90 Security.insertProviderAt(provs[i], (i+1)); in tearDown()
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/
DREADME.chromium15 Security Critical: no
25 Security Critical: no
35 Security Critical: no
45 Security Critical: no
55 Security Critical: no
66 Security Critical: no
76 Security Critical: no
88 Security Critical: no
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/
DSecureRandom_ImplTest.java27 import java.security.Security;
41 Provider providers[] = Security.getProviders();
50 Security.removeProvider(providers[i].getName()); in setUp()
61 Security.addProvider(providers[i]); in tearDown()
/external/apache-harmony/crypto/src/test/impl/java/org/apache/harmony/crypto/tests/javax/crypto/
DCipher_ImplTest.java28 import java.security.Security;
58 Security.insertProviderAt(p1, 1); in setUp()
59 Security.insertProviderAt(p2, 1); in setUp()
83 Security.removeProvider("MyProvider1"); in tearDown()
84 Security.removeProvider("MyProvider2"); in tearDown()
106 Security.removeProvider(p1.getName()); in testGetInstanceString2()
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/support/
DTestUtils.java27 import java.security.Security;
108 while (Security.getProperty(provider) != null) { in createJavaPropertiesFile()
109 propsToFlush.setProperty(provider, Security.getProperty(provider)); in createJavaPropertiesFile()
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/
DCertPathValidator2Test.java28 import java.security.Security;
68 Security.insertProviderAt(mProv, 1); in setUp()
76 Security.removeProvider(mProv.getName()); in tearDown()
94 Security.setProperty(propName, invalidValues[i]); in checkResult()
98 Security.setProperty(propName, dt); in checkResult()
DCertPathBuilder2Test.java28 import java.security.Security;
67 Security.insertProviderAt(mProv, 1); in setUp()
75 Security.removeProvider(mProv.getName()); in tearDown()
94 Security.setProperty(propName, invalidValues[i]); in checkResult()
100 Security.setProperty(propName, dt); in checkResult()
/external/chromium_org/net/data/url_request_unittest/
Dhsts-multiple-headers.html.mock-http-headers6 Strict-Transport-Security: max-age=123
7 Strict-Transport-Security: max-age=123; includeSubdomains
Dhsts-and-hpkp-headers.html.mock-http-headers6 Strict-Transport-Security: max-age=12300
7 Strict-Transport-Security: max-age=12300; includeSubdomains
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/fortress/
DEngineTest.java26 import java.security.Security;
109 Provider p = Security.getProvider("SUN"); in testGetInstanceStringProvider1()
119 Provider p = Security.getProvider("SUN"); in testGetInstanceStringProvider2()
/external/chromium_org/chromeos/test/data/network/
Dtoplevel_with_unknown_fields.onc14 "Security": "None"
24 "Security": "WPA-PSK"
/external/apache-harmony/x-net/src/test/support/common/java/org/apache/harmony/xnet/tests/support/
DSpiEngUtils.java25 import java.security.Security;
48 Provider[] provs = Security.getProviders(service.concat(".") in isSupport()
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
DSpiEngUtils.java25 import java.security.Security;
50 Provider[] provs = Security.getProviders(service.concat(".") in isSupport()
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/
DANTLRFileStream.cs47 …[System.Security.Permissions.FileIOPermission(System.Security.Permissions.SecurityAction.Demand, U…
/external/chromium_org/chrome/third_party/mozilla_security_manager/
DREADME.chromium1 Name: Mozilla Personal Security Manager
8 This is selected code bits from Mozilla's Personal Security Manager.

12345678910>>...13