HomeSort by relevance Sort by last modified time
    Searched refs:Provider (Results 201 - 225 of 404) sorted by null

1 2 3 4 5 6 7 891011>>

  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/
AlgorithmParameterGenerator2Test.java 27 import java.security.Provider;
59 Provider mProv;
63 mProv = (new SpiEngUtils()).new MyProvider("MyAPGProvider", "Testing provider",
141 assertEquals("Incorrect provider", apG.getProvider(), mProv);
147 * Test for <code>getInstance(String algorithm, String provider)</code>
152 * throws IllegalArgumentException when provider is null;
153 * throws NoSuchProviderException when provider is available;
178 fail("IllegalArgumentException must be thrown when provider is null (algorithm: "
189 .concat(invalidValues[i]).concat(" provider: ")
201 assertEquals("Incorrect provider", apG.getProvider().getName()
    [all...]
AlgorithmParametersTest.java 28 import java.security.Provider;
44 * Provider
46 Provider p;
153 assertNull(format); // null is passed to spi-provider
241 assertNull(paramSpec); // null is passed to spi-provider
252 * @tests java.security.AlgorithmParameters#getInstance(String, Provider)
339 assertNull(paramSpec);// null is passed to spi-provider
407 assertNull(params); // null is passed to spi-provider
482 // null is passed to spi-provider
517 * Tests DSA AlgorithmParameters provider
    [all...]
  /external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/
CertPathBuilder2Test.java 27 import java.security.Provider;
58 Provider mProv;
63 "Provider for testing", CertPathBuilder1Test.srvCertPathBuilder
139 assertEquals("Incorrect provider", cerPB.getProvider(), mProv);
145 * Test for <code>getInstance(String algorithm, String provider)</code> method
149 * throws IllegalArgumentException when provider is null or empty;
150 * throws NoSuchProviderException when provider is available;
175 fail("IllegalArgumentException must be thrown when provider is null (type: "
181 fail("IllegalArgumentException must be thrown when provider is empty (type: "
192 .concat(validValues[i]).concat(" provider: "
    [all...]
CertPathValidator2Test.java 27 import java.security.Provider;
59 Provider mProv;
64 "Provider for testing", CertPathValidator1Test.srvCertPathValidator
138 assertEquals("Incorrect provider", cerPV.getProvider(), mProv);
144 * Test for <code>getInstance(String algorithm, String provider)</code> method
148 * throws IllegalArgumentException when provider is null or empty;
149 * throws NoSuchProviderException when provider is available;
174 fail("IllegalArgumentException must be thrown when provider is null (type: "
180 fail("IllegalArgumentException must be thrown when provider is empty (type: "
191 .concat(validValues[i]).concat(" provider: "
    [all...]
CertificateFactory4Test.java 25 import java.security.Provider;
166 Provider[] providers = Security
192 // Test for method java.security.Provider
194 Provider p = CertificateFactory.getInstance("X.509").getProvider();
195 assertNotNull("provider is null", p);
    [all...]
  /external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/
KeyStore_Impl3Test.java 29 import java.security.Provider;
52 public static Provider defaultProvider = null;
56 Provider mProv;
71 "Testing provider", KeyStoreTestSupport.srvKeyStore.concat(".")
  /external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/
KeyManagerFactory2Test.java 25 import java.security.Provider;
59 Provider mProv;
65 "Provider for testing", srvKeyManagerFactory.concat(".")
152 assertEquals("Incorrect provider", keyMF.getProvider(), mProv);
158 * Test for <code>getInstance(String algorithm, String provider)</code>
163 * throws IllegalArgumentException when provider is null or empty;
164 * throws NoSuchProviderException when provider is available;
187 fail("IllegalArgumentException must be thrown when provider is null (algorithm: "
193 fail("IllegalArgumentException must be thrown when provider is empty (algorithm: "
204 .concat(invalidValues[i]).concat(" provider: "
    [all...]
SSLContext2Test.java 23 import java.security.Provider;
60 Provider mProv;
65 mProv = (new SpiEngUtils()).new MyProvider("MySSLContextProvider", "Provider for testing",
178 assertEquals("Incorrect provider", sslC.getProvider(), mProv);
184 * Test for <code>getInstance(String protocol, String provider)</code>
189 * throws IllegalArgumentException when provider is null or empty;
190 * throws NoSuchProviderException when provider is available;
214 fail("IllegalArgumentException must be thrown when provider is null (protocol: "
220 fail("IllegalArgumentException must be thrown when provider is empty (protocol: "
230 .concat(invalidValues[i]).concat(" provider: "
    [all...]
TrustManagerFactory2Test.java 25 import java.security.Provider;
56 Provider mProv;
62 "Provider for testing", srvTrustManagerFactory.concat(".")
141 assertEquals("Incorrect provider", tmf.getProvider(), mProv);
147 * Test for <code>getInstance(String algorithm, String provider)</code>
152 * throws IllegalArgumentException when provider is null or empty;
153 * throws NoSuchProviderException when provider is available;
176 fail("IllegalArgumentException must be thrown when provider is null (algorithm: "
182 fail("IllegalArgumentException must be thrown when provider is empty (algorithm: "
193 .concat(invalidValues[i]).concat(" provider: "
    [all...]
SSLContext1Test.java 25 import java.security.Provider;
63 private static Provider defaultProvider = null;
69 private static final String NotSupportedMsg = "There is no suitable provider for SSLContext";
147 fail("NoSuchAlgorithmException was not thrown as expected for provider: "
155 * Test for <code>getInstance(String protocol, String provider)</code>
156 * method Assertion: throws IllegalArgumentException when provider is null
165 String provider = null; local
168 SSLContext.getInstance(defaultProtocol, provider);
169 fail("IllegalArgumentException must be thrown when provider is null");
174 fail("IllegalArgumentException must be thrown when provider is empty")
261 Provider provider = null; local
    [all...]
  /external/chromium_org/chrome/browser/chromeos/policy/
browser_policy_connector_chromeos.cc 319 typedef chromeos::CrosSettingsProvider Provider;
320 Provider::TrustedStatus result =
325 if (result != Provider::TRUSTED)
  /external/chromium_org/third_party/WebKit/Source/devtools/front_end/ui/
ContextMenu.js 298 self.runtime.extensions(WebInspector.ContextMenu.Provider, target).forEach(processProviders.bind(this));
306 var provider = /** @type {!WebInspector.ContextMenu.Provider} */ (extension.instance());
308 provider.appendApplicableItems(this._event, this, target);
319 WebInspector.ContextMenu.Provider = function() {
322 WebInspector.ContextMenu.Provider.prototype = {
  /external/clang/unittests/Sema/
ExternalSemaSourceTest.cpp 196 NamespaceTypoProvider Provider("AAB", "BBB");
198 Installer->PushSource(&Provider);
203 ASSERT_LE(0, Provider.CallCount);
  /external/smack/src/org/apache/harmony/javax/security/sasl/
Sasl.java 20 import java.security.Provider;
70 private static Object newInstance(String factoryName, Provider prv) throws SaslException {
95 Provider[] pp = Security.getProviders();
  /libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
KeyManagerFactory2Test.java 25 import java.security.Provider;
59 Provider mProv;
64 "Provider for testing", srvKeyManagerFactory.concat(".")
147 assertEquals("Incorrect provider", keyMF.getProvider(), mProv);
153 * Test for <code>getInstance(String algorithm, String provider)</code>
158 * throws IllegalArgumentException when provider is null or empty;
159 * throws NoSuchProviderException when provider is available;
184 fail("IllegalArgumentException must be thrown when provider is null (algorithm: "
190 fail("IllegalArgumentException must be thrown when provider is empty (algorithm: "
201 .concat(invalidValues[i]).concat(" provider: "
    [all...]
SSLContext2Test.java 23 import java.security.Provider;
57 Provider mProv;
61 mProv = (new SpiEngUtils()).new MyProvider("MySSLContextProvider", "Provider for testing",
172 assertEquals("Incorrect provider", sslC.getProvider(), mProv);
178 * Test for <code>getInstance(String protocol, String provider)</code>
183 * throws IllegalArgumentException when provider is null or empty;
184 * throws NoSuchProviderException when provider is available;
209 fail("IllegalArgumentException must be thrown when provider is null (protocol: "
215 fail("IllegalArgumentException must be thrown when provider is empty (protocol: "
225 .concat(invalidValues[i]).concat(" provider: "
    [all...]
TrustManagerFactory2Test.java 25 import java.security.Provider;
56 Provider mProv;
61 "Provider for testing", srvTrustManagerFactory.concat(".")
139 assertEquals("Incorrect provider", tmf.getProvider(), mProv);
145 * Test for <code>getInstance(String algorithm, String provider)</code>
150 * throws IllegalArgumentException when provider is null or empty;
151 * throws NoSuchProviderException when provider is available;
174 fail("IllegalArgumentException must be thrown when provider is null (algorithm: "
180 fail("IllegalArgumentException must be thrown when provider is empty (algorithm: "
191 .concat(invalidValues[i]).concat(" provider: "
    [all...]
TrustManagerFactory1Test.java 27 import java.security.Provider;
58 private static Provider DEFAULT_PROVIDER;
69 private static Provider getDefaultProvider() {
107 assertEquals("Incorrect provider", tmF.getProvider(), getDefaultProvider());
112 assertNull("Provider must be null", tmF.getProvider());
205 * Test for <code>getInstance(String algorithm, String provider)</code>
207 * Assertion: throws IllegalArgumentException when provider is null
226 * Test for <code>getInstance(String algorithm, String provider)</code>
251 * Test for <code>getInstance(String algorithm, String provider)</code>
253 * Assertion: throws NoSuchProviderException when provider ha
    [all...]
  /libcore/luni/src/test/java/libcore/javax/net/ssl/
SSLSocketFactoryTest.java 27 import java.security.Provider;
46 private static final String SSL_PROPERTY = "ssl.SocketFactory.provider";
54 public static class FakeSSLSocketProvider extends Provider {
56 super("FakeSSLSocketProvider", 1.0, "Testing provider");
147 Provider fakeProvider = new FakeSSLSocketProvider();
205 fail("Cannot find a way to clear out the SocketFactory provider");
  /libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
AlgorithmParameterGenerator2Test.java 30 import java.security.Provider;
61 Provider mProv;
65 mProv = (new SpiEngUtils()).new MyProvider("MyAPGProvider", "Testing provider",
138 assertEquals("Incorrect provider", apG.getProvider(), mProv);
144 * Test for <code>getInstance(String algorithm, String provider)</code>
149 * throws IllegalArgumentException when provider is null;
150 * throws NoSuchProviderException when provider is available;
175 fail("IllegalArgumentException must be thrown when provider is null (algorithm: "
186 .concat(invalidValues[i]).concat(" provider: ")
198 assertEquals("Incorrect provider", apG.getProvider().getName()
    [all...]
  /libcore/luni/src/test/java/tests/security/cert/
CertPathBuilder2Test.java 32 import java.security.Provider;
59 Provider mProv;
64 "Provider for testing", CertPathBuilder1Test.srvCertPathBuilder
132 assertEquals("Incorrect provider", cerPB.getProvider(), mProv);
138 * Test for <code>getInstance(String algorithm, String provider)</code> method
142 * throws IllegalArgumentException when provider is null or empty;
143 * throws NoSuchProviderException when provider is available;
168 fail("IllegalArgumentException must be thrown when provider is null (type: "
174 fail("IllegalArgumentException must be thrown when provider is empty (type: "
185 .concat(validValues[i]).concat(" provider: "
    [all...]
CertPathValidator2Test.java 34 import java.security.Provider;
62 Provider mProv;
67 "Provider for testing", CertPathValidator1Test.srvCertPathValidator.concat(".")
128 assertEquals("Incorrect provider", cerPV.getProvider(), mProv);
134 * Test for <code>getInstance(String algorithm, String provider)</code>
137 * IllegalArgumentException when provider is null or empty; throws
138 * NoSuchProviderException when provider is available; returns
162 fail("IllegalArgumentException must be thrown when provider is null (type: "
168 fail("IllegalArgumentException must be thrown when provider is empty (type: "
178 .concat(" provider: ").concat(invalidValues[j]).concat(")"))
    [all...]
CertificateFactory4Test.java 31 import java.security.Provider;
167 Provider[] providers = Security
193 // Test for method java.security.Provider
195 Provider p = CertificateFactory.getInstance("X.509").getProvider();
196 assertNotNull("provider is null", p);
    [all...]
CertificateTest.java 32 import java.security.Provider;
303 private Provider wrongProvider;
305 private Provider usefulProvider;
342 // a new provider, test if it works, then remove it and test if the
  /external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/
TestCertUtils.java 36 import java.security.Provider;
110 private static Provider provider = null; field in class:TestCertUtils
127 if (provider == null) {
128 provider = new TestProvider(providerName, 0.01,
129 "Test provider for serialization testing");
130 Security.insertProviderAt(provider, 1);
135 if (provider != null) {
137 provider = null;
576 public static class TestProvider extends Provider {
    [all...]

Completed in 1024 milliseconds

1 2 3 4 5 6 7 891011>>