Home
last modified time | relevance | path

Searched refs:defaultProviderName (Results 1 – 14 of 14) sorted by relevance

/libcore/luni/src/test/java/tests/security/cert/
DCertPathBuilder1Test.java64 private static String defaultProviderName; field in CertPathBuilder1Test
74 defaultProviderName = (PKIXSupport ? defaultProvider.getName() : null);
86 defaultProviderName); in createCPBs()
204 CertPathBuilder.getInstance(null, defaultProviderName); in testCertPathBuilder06()
210 CertPathBuilder.getInstance(invalidValues[i], defaultProviderName); in testCertPathBuilder06()
229 certPB = CertPathBuilder.getInstance(validValues[i], defaultProviderName); in testCertPathBuilder07()
231 … assertEquals("Incorrect provider name", certPB.getProvider().getName(), defaultProviderName); in testCertPathBuilder07()
385 defaultProviderName); in testCertPathBuilder13()
395 defaultProviderName); in testCertPathBuilder13()
422 validValues[i], defaultProviderName); in testCertPathBuilder14()
DCertPathValidator1Test.java60 private static String defaultProviderName; field in CertPathValidator1Test
68 defaultProviderName = (PKIXSupport ? defaultProvider.getName() : null);
83 defaultProviderName); in createCPVs()
220 CertPathValidator.getInstance(null, defaultProviderName); in testCertPathValidator06()
227 CertPathValidator.getInstance(invalidValues[i], defaultProviderName); in testCertPathValidator06()
246 defaultProviderName); in testCertPathValidator07()
250 .getName(), defaultProviderName); in testCertPathValidator07()
398 defaultProviderName); in testCertPathValidator13()
426 defaultProviderName); in testCertPathValidator14()
DCertPathValidator3Test.java53 private static String defaultProviderName; field in CertPathValidator3Test
61 defaultProviderName = (PKIXSupport ? defaultProvider.getName() : null);
74 defaultProviderName); in createCPVs()
DCertificateFactory1Test.java58 private static String defaultProviderName = null; field in CertificateFactory1Test
77 defaultProviderName = (X509Support ? defaultProvider.getName() : null);
89 defaultProviderName); in initCertFs()
179 CertificateFactory.getInstance(null, defaultProviderName); in testCertificateFactory04()
187 defaultProviderName); in testCertificateFactory04()
190 defaultProviderName).concat(")")); in testCertificateFactory04()
210 defaultProviderName); in testCertificateFactory05()
213 .getName(), defaultProviderName); in testCertificateFactory05()
675 defaultProviderName); in testCertificateFactory18()
DCertificateFactory3Test.java47 private static String defaultProviderName = null; field in CertificateFactory3Test
63 defaultProviderName = X509Support ? defaultProvider.getName() : null;
76 defaultProviderName); in initCertFs()
DCertStore1Test.java65 private static String defaultProviderName; field in CertStore1Test
75 defaultProviderName = (LDAPSupport ? defaultProvider.getName() : null);
105 dName = (CollectionSupport ? defaultProviderColName : defaultProviderName ); in initParams()
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/
DSecretKeyFactoryTest.java60 private static String defaultProviderName = null; field in SecretKeyFactoryTest
79 defaultProviderName = defaultProvider.getName();
88 defaultProviderName = defaultProvider.getName();
91 defaultProviderName = null;
108 defaultProviderName); in createSKFac()
198 SecretKeyFactory.getInstance(null, defaultProviderName); in testSecretKeyFactory04()
206 defaultProviderName); in testSecretKeyFactory04()
267 validValues[i], defaultProviderName); in testSecretKeyFactory06()
271 defaultProviderName); in testSecretKeyFactory06()
DKeyGeneratorTest.java65 private static String defaultProviderName = null; field in KeyGeneratorTest
85 defaultProviderName = defaultProvider.getName();
102 kg[2] = KeyGenerator.getInstance(defaultAlgorithm, defaultProviderName); in createKGs()
203 KeyGenerator.getInstance(null, defaultProviderName); in testGetInstanceStringString01()
210 KeyGenerator.getInstance(invalidValues[i], defaultProviderName); in testGetInstanceStringString01()
265 keyG = KeyGenerator.getInstance(validValues[i], defaultProviderName); in testGetInstanceStringString03()
267 assertEquals("Incorrect provider", keyG.getProvider().getName(), defaultProviderName); in testGetInstanceStringString03()
DKeyAgreementTest.java62 private static String defaultProviderName = null; field in KeyAgreementTest
85 defaultProviderName = (DEFSupported ? defaultProvider.getName() : null);
107 defaultProviderName); in createKAs()
166 KeyAgreement.getInstance(null, defaultProviderName); in testGetInstanceStringString01()
173 KeyAgreement.getInstance(invalidValues[i], defaultProviderName); in testGetInstanceStringString01()
231 .getInstance(validValues[i], defaultProviderName); in testGetInstanceStringString03()
235 defaultProviderName); in testGetInstanceStringString03()
DMacTest.java61 private static String defaultProviderName = null; field in MacTest
84 defaultProviderName = defaultProvider.getName();
101 macList.add(Mac.getInstance(defaultAlgorithm, defaultProviderName)); in createMacs()
194 Mac.getInstance(null, defaultProviderName); in testMac04()
201 Mac.getInstance(invalidValues[i], defaultProviderName); in testMac04()
220 mac = Mac.getInstance(validValues[i], defaultProviderName); in testMac05()
223 defaultProviderName); in testMac05()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DKeyManagerFactory1Test.java52 private static String defaultProviderName = null; field in KeyManagerFactory1Test
70 defaultProviderName = (DEFSupported ? defaultProvider.getName()
89 defaultProviderName); in createKMFac()
110 .getInstance(defaultAlgorithm, defaultProviderName) in test_getAlgorithm()
227 KeyManagerFactory.getInstance(null, defaultProviderName); in test_getInstanceLjava_lang_StringLjava_lang_String02()
235 defaultProviderName); in test_getInstanceLjava_lang_StringLjava_lang_String02()
283 defaultProviderName); in test_getInstanceLjava_lang_StringLjava_lang_String04()
288 defaultProviderName); in test_getInstanceLjava_lang_StringLjava_lang_String04()
426 .getInstance(defaultAlgorithm, defaultProviderName) in test_getProvider()
DSSLContext1Test.java55 private static String defaultProviderName = null; field in SSLContext1Test
64 defaultProviderName = (DEFSupported ? defaultProvider.getName()
84 defaultProviderName); in createSSLCon()
268 SSLContext.getInstance(null, defaultProviderName); in test_getInstanceLjava_lang_StringLjava_lang_String02()
275 SSLContext.getInstance(invalidValues[i], defaultProviderName); in test_getInstanceLjava_lang_StringLjava_lang_String02()
319 defaultProviderName); in test_getInstanceLjava_lang_StringLjava_lang_String04()
413 sslContext = SSLContext.getInstance(defaultProtocol, defaultProviderName); in test_getProtocol()
434 sslContext = SSLContext.getInstance(defaultProtocol, defaultProviderName); in test_getProvider()
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
DKeyStoreTestSupport.java50 public static String defaultProviderName = null; field in KeyStoreTestSupport
57 defaultProviderName = (JKSSupported ? defaultProvider.getName() : null);
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DKeyStoreTest.java66 public static String defaultProviderName = null; field in KeyStoreTest
80 kpg[2] = KeyStore.getInstance(defaultType, defaultProviderName); in createKS()
93 defaultProviderName = (KSSupported ? defaultProvider.getName() : null); in setUp()