/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 | 117 Provider[] providers = Security.getProviders("Signature.DSA"); in test_getInstanceLjava_lang_StringLjava_lang_String_java_security_Provider() 156 Provider[] providers = Security.getProviders("Signature.DSA"); in test_getInstanceLjava_lang_StringLjava_lang_String() 168 Provider[] pp = Security.getProviders(); in test_getInstanceLjava_lang_StringLjava_lang_String() 284 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 | 67 storedProviders = Security.getProviders(); in setUp() 78 for (Provider p: Security.getProviders()) { in tearDown() 363 Provider[] pp = Security.getProviders("MessageDigest.ASH-1"); in testService2()
|
D | SecureRandom2Test.java | 156 .getProviders("SecureRandom.SHA1PRNG"); in test_getInstanceLjava_lang_StringLjava_lang_String()
|
D | KeyStoreBuilderTest.java | 66 defaultProvider = Security.getProviders(
|
D | MessageDigest2Test.java | 429 Provider[] providers = Security.getProviders("MessageDigest.SHA"); in setUp()
|
/libcore/luni/src/main/java/java/security/ |
D | Security.java | 97 Provider[] providers = getProviders(); in getAlgorithmProperty() 186 public static synchronized Provider[] getProviders() { in getProviders() method in Security 187 ArrayList<Provider> providers = Services.getProviders(); in getProviders() 227 public static Provider[] getProviders(String filter) { in getProviders() method in Security 244 return getProviders(hm); in getProviders() 271 public static synchronized Provider[] getProviders(Map<String,String> filter) { in getProviders() method in Security 278 ArrayList<Provider> result = new ArrayList<Provider>(Services.getProviders()); in getProviders() 373 for (Provider provider : getProviders()) { in getAlgorithms() 389 ArrayList<Provider> providers = Services.getProviders(); in renumProviders()
|
/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 | KeyPairGeneratorTest.java | 59 Provider[] providers = Security.getProviders(); in test_providerCount() 108 Provider[] providers = Security.getProviders(); 307 Provider[] providers = Security.getProviders(); in test_KeyWithAllKeyFactories() 418 final Provider[] providers = Security.getProviders(); in testDSAGeneratorWithParams()
|
D | SecureRandomTest.java | 37 Provider[] providers = Security.getProviders(); in test_getInstance()
|
D | ProviderTest.java | 70 Provider[] providers = Security.getProviders(); in test_Provider_getServices() 168 Provider[] providers = Security.getProviders(); in test_Provider_Properties() 261 Provider[] providers = Security.getProviders(); in test_Provider_getServices_supportsParameter()
|
D | MessageDigestTest.java | 50 Provider[] providers = Security.getProviders(); in test_getInstance()
|
/libcore/luni/src/test/java/tests/targets/security/cert/ |
D | CertificateTest.java | 593 Provider[] providers = Security.getProviders("CertificateFactory.X509"); in testVerifyMD5() 607 Provider[] providers = Security.getProviders("CertificateFactory.X509"); in testVerifyMD2()
|
/libcore/luni/src/test/java/libcore/javax/net/ssl/ |
D | TrustManagerFactoryTest.java | 177 Provider[] providers = Security.getProviders(); in test_TrustManagerFactory_getInstance() 223 Provider[] providers = Security.getProviders(); in test_TrustManagerFactory_intermediate()
|
D | KeyManagerFactoryTest.java | 265 Provider[] providers = Security.getProviders(); in test_KeyManagerFactory_getInstance()
|
/libcore/luni/src/main/java/org/apache/harmony/security/fortress/ |
D | Services.java | 93 public static synchronized ArrayList<Provider> getProviders() { in getProviders() method in Services
|
/libcore/luni/src/main/java/org/apache/harmony/security/utils/ |
D | AlgNameMapper.java | 111 Provider[] pl = Security.getProviders(); in checkCacheVersion()
|
/libcore/luni/src/test/java/libcore/javax/crypto/ |
D | KeyGeneratorTest.java | 39 Provider[] providers = Security.getProviders(); in test_getInstance()
|
D | ECDHKeyAgreementTest.java | 373 Provider[] providers = Security.getProviders("KeyAgreement.ECDH"); in getKeyAgreementProviders() 383 Provider[] providers = Security.getProviders("KeyFactory.EC"); in getKeyFactoryProviders()
|
/libcore/luni/src/test/java/tests/security/cert/ |
D | CertificateFactory4Test.java | 168 .getProviders("CertificateFactory.X.509"); in test_getInstanceLjava_lang_StringLjava_lang_String()
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
D | CertificateFactoryTest.java | 166 Provider[] providers = Security.getProviders("CertificateFactory.X509"); in test_generateCertificate() 378 Provider[] providers = Security.getProviders("CertificateFactory.X509"); in testGenerateCertPath()
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
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()
|