Home
last modified time | relevance | path

Searched refs:getProviders (Results 1 – 25 of 31) sorted by relevance

12

/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DSecurityTest.java50 int initNum = Security.getProviders().length; // initial number of in test_insertProviderAtLjava_security_ProviderLI()
52 Provider initialSecondProviderName = Security.getProviders()[1]; in test_insertProviderAtLjava_security_ProviderLI()
58 assertSame(p, Security.getProviders()[initNum]); in test_insertProviderAtLjava_security_ProviderLI()
68 assertSame(p, Security.getProviders()[initNum]); in test_insertProviderAtLjava_security_ProviderLI()
74 assertSame(p, Security.getProviders()[0]); in test_insertProviderAtLjava_security_ProviderLI()
76 Security.getProviders()[2]); in test_insertProviderAtLjava_security_ProviderLI()
94 int initNum = Security.getProviders().length; // initial number of in test_addProviderLjava_security_Provider()
100 assertSame(p, Security.getProviders()[initNum]); in test_addProviderLjava_security_Provider()
160 providers = Security.getProviders(); in testRemoveProvider()
167 Security.getProviders().length); in testRemoveProvider()
[all …]
DSecurity2Test.java40 Provider[] allProviders = Security.getProviders(); in test_getProvidersLjava_lang_String()
77 Provider[] provTest = Security.getProviders(filterString); in test_getProvidersLjava_lang_String()
89 Security.getProviders("Signature.SHA1withDSA :512"); in test_getProvidersLjava_lang_String()
116 Provider[] allProviders = Security.getProviders(); in getProvidersCount()
185 Provider[] provTest = Security.getProviders(filter); in test_getProvidersLjava_util_Map()
198 provTest = Security.getProviders(filter); in test_getProvidersLjava_util_Map()
211 provTest = Security.getProviders(filter); in test_getProvidersLjava_util_Map()
223 provTest = Security.getProviders(filter); in test_getProvidersLjava_util_Map()
234 provTest = Security.getProviders(filter); in test_getProvidersLjava_util_Map()
243 provTest = Security.getProviders(filter); in test_getProvidersLjava_util_Map()
[all …]
DKeyFactory2Test.java94 Provider[] providers = Security.getProviders("KeyFactory.DSA"); in test_constructor()
186 Provider[] providers = Security.getProviders("KeyFactory.DSA"); in test_getInstanceLjava_lang_StringLjava_lang_String()
208 Provider[] providers = Security.getProviders("KeyFactory.DSA"); in test_getInstanceLjava_lang_StringLjava_security_Provider()
306 Provider[] providers = Security.getProviders(); in setUp()
DSignature2Test.java114 Provider[] providers = Security.getProviders("Signature.DSA"); in test_getInstanceLjava_lang_StringLjava_lang_String_java_security_Provider()
153 Provider[] providers = Security.getProviders("Signature.DSA"); in test_getInstanceLjava_lang_StringLjava_lang_String()
165 Provider[] pp = Security.getProviders(); in test_getInstanceLjava_lang_StringLjava_lang_String()
281 Provider[] pp = Security.getProviders(); in test_initVerifyLjava_security_Certificate()
DKeyPairGenerator4Test.java62 Provider[] providers = Security.getProviders("KeyPairGenerator.DSA"); in test_getInstanceLjava_lang_StringLjava_lang_String()
DProviderTest.java68 storedProviders = Security.getProviders(); in setUp()
79 for (Provider p: Security.getProviders()) { in tearDown()
396 Provider[] pp = Security.getProviders("MessageDigest.ASH-1"); in testService2()
DSecureRandom2Test.java156 .getProviders("SecureRandom.SHA1PRNG"); in test_getInstanceLjava_lang_StringLjava_lang_String()
DMessageDigest2Test.java443 Provider[] providers = Security.getProviders("MessageDigest.SHA"); in setUp()
DKeyStoreBuilderTest.java66 defaultProvider = Security.getProviders(
DKeyFactoryTest.java34 Provider[] providers = Security.getProviders(); in setUp()
/libcore/ojluni/src/main/java/java/security/
DSecurity.java384 public static Provider[] getProviders() { in getProviders() method in Security
464 public static Provider[] getProviders(String filter) { in getProviders() method in Security
480 return (getProviders(hashtableFilter)); in getProviders()
535 public static Provider[] getProviders(Map<String,String> filter) { in getProviders() method in Security
538 Provider[] allProviders = Security.getProviders(); in getProviders()
1041 Provider[] providers = Security.getProviders(); in getAlgorithms()
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
DSpiEngUtils.java49 Provider[] provs = Security.getProviders(service.concat(".") in isSupport()
/libcore/luni/src/test/java/libcore/java/security/
DSecureRandomTest.java36 Provider[] providers = Security.getProviders(); in test_getInstance()
119 for (Provider p : Security.getProviders()) { in testGetInstanceStrong()
DProviderTest.java90 Provider[] providers = Security.getProviders(); in test_Provider_getServices()
216 Provider[] providers = Security.getProviders(); in testProviderList()
253 Provider[] providers = Security.getProviders(); in test_Provider_Properties()
452 Provider[] providers = Security.getProviders(); in test_Provider_getServices_supportsParameter()
/libcore/luni/src/test/java/libcore/sun/security/jca/
DProvidersTest.java397 for (int i = 0; i < Security.getProviders().length; i++) { in testCustomProvider()
398 if (Security.getProviders()[i].getName().equals("BC")) { in testCustomProvider()
399 originalBouncyCastle = Security.getProviders()[i]; in testCustomProvider()
/libcore/luni/src/test/java/tests/targets/security/cert/
DCertificateTest.java602 Provider[] providers = Security.getProviders("CertificateFactory.X509"); in testVerifyMD5()
615 Provider[] providers = Security.getProviders("CertificateFactory.X509"); in testVerifyMD2()
/libcore/luni/src/test/java/libcore/javax/crypto/
DCipherOutputStreamTest.java39 for (Provider provider : Security.getProviders()) { in testDecryptCorruptGCM()
DCipherInputStreamTest.java296 for (Provider provider : Security.getProviders()) { in testDecryptCorruptGCM()
DCipherTest.java139 System.out.println(Arrays.deepToString(Security.getProviders("Cipher.FOO"))); in testCipher_getInstance_DelayedInitialization_KeyType()
/libcore/tools/docs/crypto/src/java/libcore/java/security/
DListProviders.java93 for (Provider p : Security.getProviders()) { in main()
/libcore/luni/src/test/java/tests/security/cert/
DCertificateFactory4Test.java176 .getProviders("CertificateFactory.X.509"); in test_getInstanceLjava_lang_StringLjava_lang_String()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DCipherOutputStream1Test.java311 Security.getProviders()[0], in test_close_doubleCloseDoesntCallDoFinal()
DCipherTest.java109 Provider[] providers = Security.getProviders("Cipher.DES"); in test_getInstanceLjava_lang_StringLjava_lang_String()
143 Provider[] providers = Security.getProviders("Cipher.DES"); in test_getInstanceLjava_lang_StringLjava_security_Provider()
170 Provider[] providers = Security.getProviders("Cipher.AES"); in test_getProvider()
DMacTest.java116 for (Provider p : Security.getProviders("Mac." + defaultAlgorithm)) { in createMacs()
863 Provider[] providers = Security.getProviders("Mac.HmacMD5"); in test_ConsistentBetweenProviders()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/cert/
DX509CertificateTest.java756 Provider[] providers = Security.getProviders(); in testVerifyPublicKeyString()

12