Home
last modified time | relevance | path

Searched refs:getProviders (Results 1 – 25 of 35) 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.java117 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()
DKeyPairGenerator4Test.java62 Provider[] providers = Security.getProviders("KeyPairGenerator.DSA"); in test_getInstanceLjava_lang_StringLjava_lang_String()
DProviderTest.java67 storedProviders = Security.getProviders(); in setUp()
78 for (Provider p: Security.getProviders()) { in tearDown()
363 Provider[] pp = Security.getProviders("MessageDigest.ASH-1"); in testService2()
DSecureRandom2Test.java156 .getProviders("SecureRandom.SHA1PRNG"); in test_getInstanceLjava_lang_StringLjava_lang_String()
DKeyStoreBuilderTest.java66 defaultProvider = Security.getProviders(
DMessageDigest2Test.java429 Provider[] providers = Security.getProviders("MessageDigest.SHA"); in setUp()
/libcore/luni/src/main/java/java/security/
DSecurity.java97 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/
DSpiEngUtils.java49 Provider[] provs = Security.getProviders(service.concat(".") in isSupport()
/libcore/luni/src/test/java/libcore/java/security/
DKeyPairGeneratorTest.java59 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()
DSecureRandomTest.java37 Provider[] providers = Security.getProviders(); in test_getInstance()
DProviderTest.java70 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()
DMessageDigestTest.java50 Provider[] providers = Security.getProviders(); in test_getInstance()
/libcore/luni/src/test/java/tests/targets/security/cert/
DCertificateTest.java593 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/
DTrustManagerFactoryTest.java177 Provider[] providers = Security.getProviders(); in test_TrustManagerFactory_getInstance()
223 Provider[] providers = Security.getProviders(); in test_TrustManagerFactory_intermediate()
DKeyManagerFactoryTest.java265 Provider[] providers = Security.getProviders(); in test_KeyManagerFactory_getInstance()
/libcore/luni/src/main/java/org/apache/harmony/security/fortress/
DServices.java93 public static synchronized ArrayList<Provider> getProviders() { in getProviders() method in Services
/libcore/luni/src/main/java/org/apache/harmony/security/utils/
DAlgNameMapper.java111 Provider[] pl = Security.getProviders(); in checkCacheVersion()
/libcore/luni/src/test/java/libcore/javax/crypto/
DKeyGeneratorTest.java39 Provider[] providers = Security.getProviders(); in test_getInstance()
DECDHKeyAgreementTest.java373 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/
DCertificateFactory4Test.java168 .getProviders("CertificateFactory.X.509"); in test_getInstanceLjava_lang_StringLjava_lang_String()
/libcore/luni/src/test/java/libcore/java/security/cert/
DCertificateFactoryTest.java166 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/
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()

12