/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cms/ |
CMSSignedDataGenerator.java | 9 import java.security.Provider; 95 Provider sigProvider, 400 * object using the given provider. 401 * @deprecated use generate() method not taking provider. 413 * object using the given provider. 414 * @deprecated use generate() method not taking provider. 418 Provider sigProvider) 426 * object using the given provider - if encapsulate is true a copy 444 * object using the given provider - if encapsulate is true a copy 453 Provider sigProvider [all...] |
CMSUtils.java | 7 import java.security.Provider; 315 public static Provider getProvider(String providerName) 320 Provider prov = Security.getProvider(providerName); 327 throw new NoSuchProviderException("provider " + providerName + " not found.");
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
AlgorithmParametersTest.java | 29 import java.security.Provider; 50 * Provider 52 Provider p; 159 assertNull(format); // null is passed to spi-provider 291 assertNull(paramSpec); // null is passed to spi-provider 302 * java.security.AlgorithmParameters#getInstance(String, Provider) 306 Provider pp = null; 330 fail("IllegalArgumentException was not thrown for NULL provider"); 411 assertNull(paramSpec);// null is passed to spi-provider 479 assertNull(params); // null is passed to spi-provider [all...] |
KeyPairGenerator1Test.java | 32 import java.security.Provider; 59 public static Provider validProvider = null; 134 * Test for <code>getInstance(String algorithm, String provider)</code> 136 * Assertion: throws IllegalArgumentException when provider is null or empty 144 String provider = null; local 147 KeyPairGenerator.getInstance(algs[i], provider); 148 fail("IllegalArgumentException must be thrown when provider is null"); 153 fail("IllegalArgumentException must be thrown when provider is empty"); 160 * Test for <code>getInstance(String algorithm, String provider)</code> 163 * throws NoSuchProviderException when provider is not availabl 247 Provider provider = null; local [all...] |
KeyPairGenerator2Test.java | 30 import java.security.Provider; 69 Provider mProv; 82 "Testing provider", KeyPairGenerator1Test.srvKeyPairGenerator.concat(".") 206 assertEquals("Incorrect provider", kpG.getProvider(), mProv); 212 * Test for <code>getInstance(String algorithm, String provider)</code> 217 * throws IllegalArgumentException when provider is null; 218 * throws NoSuchProviderException when provider is available; 244 fail("IllegalArgumentException must be thrown when provider is null (algorithm: " 255 .concat(alg).concat(" provider: ").concat( 267 assertEquals("Incorrect provider", kpG.getProvider().getName() [all...] |
KeyStoreTest.java | 28 import java.security.Provider; 68 public static Provider defaultProvider = null; 72 Provider mProv; 87 "Testing provider", KeyStoreTestSupport.srvKeyStore.concat(".")
|
/external/chromium_org/components/test/data/web_database/ |
version_43.sql | 6 INSERT INTO "meta" VALUES('Default Search Provider ID','2'); 7 INSERT INTO "meta" VALUES('Default Search Provider ID Backup','3'); 8 INSERT INTO "meta" VALUES('Default Search Provider ID Backup Signature','');
|
version_44.sql | 6 INSERT INTO "meta" VALUES('Default Search Provider ID Backup','0'); 7 INSERT INTO "meta" VALUES('Default Search Provider ID Backup Signature','');
|
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/javax/security/auth/login/ |
ConfigurationTest.java | 28 import java.security.Provider; 55 private static final String LOGIN_CONFIG_PROVIDER = "login.configuration.provider"; 102 * Tests loading of a default provider, both valid and invalid class 109 // test: loading custom test provider 116 // test: loading absent class as test provider 121 fail("No SecurityException on failed provider"); 126 // test: loading wrong class as test provider 127 // a name of this unit test is used as config provider 145 * Tests reading config files by default provider 233 * @tests javax.security.auth.login.Configuration#getInstance(java.lang.String, javax.security.auth.login.Configuration.Parameters, java.security.Provider) [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
KeyStoreTest.java | 27 import java.security.Provider; 69 public static Provider defaultProvider = null; 73 Provider mProv; 88 "Testing provider", KeyStoreTestSupport.srvKeyStore.concat(".")
|
KeyPairGenerator3Test.java | 47 public static Provider validProvider = null;
|
KeyStore3Test.java | 33 import java.security.Provider; 194 public MyKeyStore(KeyStoreSpi keyStoreSpi, Provider provider, 196 super(keyStoreSpi, provider, type);
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
CertificateFactory2Test.java | 27 import java.security.Provider; 66 Provider mProv; 71 "Provider for testing", CertificateFactory1Test.srvCertificateFactory 210 assertEquals("Incorrect provider", cerF.getProvider(), mProv); 216 * Test for <code>getInstance(String type, String provider)</code> method 220 * throws IllegalArgumentException when provider is null or empty; 221 * throws NoSuchProviderException when provider is available; 245 fail("IllegalArgumentException must be thrown when provider is null (type: " 251 fail("IllegalArgumentException must be thrown when provider is empty (type: " 262 .concat(validValues[i]).concat(" provider: " [all...] |
CertificateFactory3Test.java | 26 import java.security.Provider; 50 private static Provider defaultProvider = null;
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/cert/ |
CertStore_ImplTest.java | 27 import java.security.Provider; 66 Provider mProv; 71 "Provider for testing", srvCertStore 140 assertEquals("Incorrect provider", certS.getProvider(), mProv); 148 * <code>getInstance(String type, CertStoreParameters params, String provider)</code> 152 * throws IllegalArgumentException when provider is null or empty; 153 * throws NoSuchProviderException when provider is available; 181 fail("IllegalArgumentException must be thrown when provider is null (type: " 187 fail("IllegalArgumentException must be thrown when provider is empty (type: " 198 .concat(validValues[i]).concat(" provider: " [all...] |
/libcore/luni/src/test/java/tests/security/cert/ |
CertStore2Test.java | 8 import java.security.Provider; 26 Provider provider; field in class:CertStore2Test 30 provider = new MyCertStoreProvider(); 31 Security.addProvider(provider); 159 parameters, provider); 163 assertSame(provider, certStore.getProvider()); 172 provider); 175 assertSame(provider, certStore.getProvider()); 183 CertStore.getInstance("UnknownCertStore", null, provider); [all...] |
CertificateFactory2Test.java | 33 import java.security.Provider; 65 Provider mProv; 70 "Provider for testing", CertificateFactory1Test.srvCertificateFactory 200 assertEquals("Incorrect provider", cerF.getProvider(), mProv); 206 * Test for <code>getInstance(String type, String provider)</code> method 210 * throws IllegalArgumentException when provider is null or empty; 211 * throws NoSuchProviderException when provider is available; 236 fail("IllegalArgumentException must be thrown when provider is null (type: " 242 fail("IllegalArgumentException must be thrown when provider is empty (type: " 253 .concat(validValues[i]).concat(" provider: " [all...] |
/external/smack/src/org/jivesoftware/smackx/workgroup/packet/ |
AgentStatusRequest.java | 23 import org.jivesoftware.smack.provider.IQProvider;
117 * Packet extension provider for AgentStatusRequest packets.
119 public static class Provider implements IQProvider {
|
QueueOverview.java | 24 import org.jivesoftware.smack.provider.PacketExtensionProvider;
118 public static class Provider implements PacketExtensionProvider {
|
RoomInvitation.java | 23 import org.jivesoftware.smack.provider.PacketExtensionProvider;
143 public static class Provider implements PacketExtensionProvider {
|
RoomTransfer.java | 23 import org.jivesoftware.smack.provider.PacketExtensionProvider;
143 public static class Provider implements PacketExtensionProvider {
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
CipherTest.java | 33 import java.security.Provider; 109 Provider[] providers = Security.getProviders("Cipher.DES"); 139 * java.security.Provider) 143 Provider[] providers = Security.getProviders("Cipher.DES"); 153 Cipher.getInstance("DES", (Provider) null); 170 Provider[] providers = Security.getProviders("Cipher.AES"); 175 Provider provider = providers[i]; local 176 Cipher cipher = Cipher.getInstance("AES", provider.getName()); 177 Provider cipherProvider = cipher.getProvider() [all...] |
KeyGeneratorTest.java | 30 import java.security.Provider; 67 private static Provider defaultProvider = null; 71 private static final String NotSupportMsg = "There is no suitable provider for KeyGenerator"; 122 assertEquals("Incorrect provider", keyG.getProvider(), defaultProvider); 137 assertNull("Provider must be null", keyG.getProvider()); 190 * Test for <code> getInstance(String algorithm, String provider)</code> method 218 * Test for <code> getInstance(String algorithm, String provider)</code> method 220 * throws IllegalArgumentException when provider is null or empty 221 * throws NoSuchProviderException when provider has not be configured 229 String provider = null local 308 Provider provider = null; local [all...] |
/libcore/luni/src/test/java/tests/api/javax/net/ssl/ |
KeyManagerFactory1Test.java | 26 import java.security.Provider; 54 private static Provider defaultProvider = null; 58 private static final String NotSupportedMsg = "There is no suitable provider for KeyManagerFactory"; 189 * Test for <code>getInstance(String algorithm, String provider)</code> 191 * Assertion: throws IllegalArgumentException when provider is null or empty 199 String provider = null; local 202 KeyManagerFactory.getInstance(validValues[i], provider); 203 fail("Expected IllegalArgumentException was not thrown for null provider"); 208 fail("Expected IllegalArgumentException was not thrown for empty provider"); 215 * Test for <code>getInstance(String algorithm, String provider)</code 303 Provider provider = null; local [all...] |
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/jcajce/ |
JcaContentVerifierProviderBuilder.java | 6 import java.security.Provider; 35 public JcaContentVerifierProviderBuilder setProvider(Provider provider) 37 this.helper = new OperatorHelper(new ProviderJcaJceHelper(provider));
|