Searched refs:algs (Results 1 – 5 of 5) sorted by relevance
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | AlgorithmParameterGenerator1Test.java | 49 private static String[] algs = { field in AlgorithmParameterGenerator1Test 124 for (int i = 0; i < algs.length; i++) { in testAlgorithmParameterGenerator02() 125 apg = AlgorithmParameterGenerator.getInstance(algs[i]); in testAlgorithmParameterGenerator02() 126 assertEquals("Incorrect algorithm", apg.getAlgorithm(), algs[i]); in testAlgorithmParameterGenerator02() 143 for (int i = 0; i < algs.length; i++) { in testAlgorithmParameterGenerator03() 145 AlgorithmParameterGenerator.getInstance(algs[i], provider); in testAlgorithmParameterGenerator03() 150 AlgorithmParameterGenerator.getInstance(algs[i], ""); in testAlgorithmParameterGenerator03() 169 for (int i = 0; i < algs.length; i++) { in testAlgorithmParameterGenerator04() 172 AlgorithmParameterGenerator.getInstance(algs[i], in testAlgorithmParameterGenerator04() 224 for (int i = 0; i < algs.length; i++) { in testAlgorithmParameterGenerator06() [all …]
|
D | KeyPairGenerator1Test.java | 52 public static String[] algs = { field in KeyPairGenerator1Test 126 for (int i = 0; i < algs.length; i++) { in testKeyPairGenerator02() 127 kpg = KeyPairGenerator.getInstance(algs[i]); in testKeyPairGenerator02() 129 algs[i].toUpperCase()); in testKeyPairGenerator02() 145 for (int i = 0; i < algs.length; i++) { in testKeyPairGenerator03() 147 KeyPairGenerator.getInstance(algs[i], provider); in testKeyPairGenerator03() 152 KeyPairGenerator.getInstance(algs[i], ""); in testKeyPairGenerator03() 171 for (int i = 0; i < algs.length; i++) { in testKeyPairGenerator04() 174 KeyPairGenerator.getInstance(algs[i], invalidValues[j]); in testKeyPairGenerator04() 176 .concat(algs[i]).concat(" provider: ").concat( in testKeyPairGenerator04() [all …]
|
D | SecurityTest.java | 146 Set<String> algs = Security.getAlgorithms(servicesNames[i]); in testGetAlgorithmsLjava_lang_String() local 147 assertTrue("no services with specified name: " + servicesNames[i], algs.size() > 0); in testGetAlgorithmsLjava_lang_String() 151 Set<String> algs = Security.getAlgorithms(invalidServiceNames[i]); in testGetAlgorithmsLjava_lang_String() local 152 assertTrue("services with specified name: " + invalidServiceNames[i], algs.size() == 0); in testGetAlgorithmsLjava_lang_String()
|
D | KeyFactory2Test.java | 323 Vector<String> algs = new Vector<String>(); in getKeyFactoryAlgorithms() local 339 algs.addElement(keyFactoryName); in getKeyFactoryAlgorithms() 343 return algs.toArray(new String[algs.size()]); in getKeyFactoryAlgorithms()
|
D | MessageDigest2Test.java | 457 List<String> algs = new ArrayList<String>(); in getDigestAlgorithms() local 461 algs.add(algorithm.substring(MESSAGEDIGEST_ID.length())); in getDigestAlgorithms() 465 if (algs.size() == 0) { in getDigestAlgorithms() 468 return algs; in getDigestAlgorithms()
|