Home
last modified time | relevance | path

Searched refs:providerName (Results 1 – 7 of 7) sorted by relevance

/libcore/benchmarks/src/benchmarks/regression/
DCipherBenchmark.java82 private String providerName; field in CipherBenchmark
114 providerName = "AndroidOpenSSL"; in setUp()
117 providerName = "BC"; in setUp()
127 cipherEncrypt = Cipher.getInstance(cipherAlgorithm, providerName); in setUp()
130 cipherDecrypt = Cipher.getInstance(cipherAlgorithm, providerName); in setUp()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DKeyFactory2Test.java48 private String providerName = null; field in KeyFactory2Test
111 KeyFactory fact = KeyFactory.getInstance(keyfactAlgs[i], providerName); in test_generatePrivateLjava_security_spec_KeySpec()
140 providerName); in test_generatePublicLjava_security_spec_KeySpec()
168 providerName); in test_getAlgorithm()
231 providerName); in test_getKeySpecLjava_security_KeyLjava_lang_Class()
288 providerName); in test_translateKeyLjava_security_Key()
310 providerName = provider.getName(); in setUp()
311 keyfactAlgs = getKeyFactoryAlgorithms(providerName); in setUp()
322 private String[] getKeyFactoryAlgorithms(String providerName) { in getKeyFactoryAlgorithms() argument
325 Provider provider = Security.getProvider(providerName); in getKeyFactoryAlgorithms()
DSecurityTest.java196 String providerName = p.getName(); in test_getProviderLjava_lang_String() local
197 assertSame(p, Security.getProvider(providerName)); in test_getProviderLjava_lang_String()
/libcore/ojluni/src/main/java/javax/crypto/
DEncryptedPrivateKeyInfo.java329 String providerName) throws NoSuchProviderException, in getKeySpec() argument
334 if (providerName == null) { in getKeySpec()
337 Provider provider = Security.getProvider(providerName); in getKeySpec()
340 providerName + " not found"); in getKeySpec()
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
DTestCertUtils.java114 private static final String providerName = "TstPrvdr"; field in TestCertUtils
130 provider = new TestProvider(providerName, 0.01, in install_test_x509_factory()
138 Security.removeProvider(providerName); in uninstall_test_x509_factory()
/libcore/ojluni/src/main/java/java/security/
DSecurity.java285 String providerName = provider.getName(); in insertProviderAt() local
296 return newList.getIndex(providerName) + 1; in insertProviderAt()
/libcore/luni/src/test/java/libcore/java/security/
DProviderTest.java93 String providerName = provider.getName(); in test_Provider_getServices() local
95 if (StandardNames.IS_RI && providerName.equals("BC")) { in test_Provider_getServices()
121 System.out.println(providerName in test_Provider_getServices()
137 extra.add("Unknown " + type + " " + algorithm + " " + providerName + "\n"); in test_Provider_getServices()