/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | SecurityTest.java | 50 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 …]
|
D | Security2Test.java | 40 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 …]
|
D | KeyFactory2Test.java | 94 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()
|
D | Signature2Test.java | 114 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()
|
D | KeyPairGenerator4Test.java | 62 Provider[] providers = Security.getProviders("KeyPairGenerator.DSA"); in test_getInstanceLjava_lang_StringLjava_lang_String()
|
D | ProviderTest.java | 68 storedProviders = Security.getProviders(); in setUp() 79 for (Provider p: Security.getProviders()) { in tearDown() 396 Provider[] pp = Security.getProviders("MessageDigest.ASH-1"); in testService2()
|
D | SecureRandom2Test.java | 156 .getProviders("SecureRandom.SHA1PRNG"); in test_getInstanceLjava_lang_StringLjava_lang_String()
|
D | MessageDigest2Test.java | 443 Provider[] providers = Security.getProviders("MessageDigest.SHA"); in setUp()
|
D | KeyStoreBuilderTest.java | 66 defaultProvider = Security.getProviders(
|
D | KeyFactoryTest.java | 34 Provider[] providers = Security.getProviders(); in setUp()
|
/libcore/ojluni/src/main/java/java/security/ |
D | Security.java | 384 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/ |
D | SpiEngUtils.java | 49 Provider[] provs = Security.getProviders(service.concat(".") in isSupport()
|
/libcore/luni/src/test/java/libcore/java/security/ |
D | SecureRandomTest.java | 36 Provider[] providers = Security.getProviders(); in test_getInstance() 119 for (Provider p : Security.getProviders()) { in testGetInstanceStrong()
|
D | ProviderTest.java | 90 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/ |
D | ProvidersTest.java | 397 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/ |
D | CertificateTest.java | 602 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/ |
D | CipherOutputStreamTest.java | 39 for (Provider provider : Security.getProviders()) { in testDecryptCorruptGCM()
|
D | CipherInputStreamTest.java | 296 for (Provider provider : Security.getProviders()) { in testDecryptCorruptGCM()
|
D | CipherTest.java | 139 System.out.println(Arrays.deepToString(Security.getProviders("Cipher.FOO"))); in testCipher_getInstance_DelayedInitialization_KeyType()
|
/libcore/tools/docs/crypto/src/java/libcore/java/security/ |
D | ListProviders.java | 93 for (Provider p : Security.getProviders()) { in main()
|
/libcore/luni/src/test/java/tests/security/cert/ |
D | CertificateFactory4Test.java | 176 .getProviders("CertificateFactory.X.509"); in test_getInstanceLjava_lang_StringLjava_lang_String()
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
D | CipherOutputStream1Test.java | 311 Security.getProviders()[0], in test_close_doubleCloseDoesntCallDoFinal()
|
D | CipherTest.java | 109 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()
|
D | MacTest.java | 116 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/ |
D | X509CertificateTest.java | 756 Provider[] providers = Security.getProviders(); in testVerifyPublicKeyString()
|