Home
last modified time | relevance | path

Searched refs:algorithms (Results 1 – 6 of 6) sorted by relevance

/libcore/support/src/test/java/libcore/java/security/
DStandardNames.java105 Set<String> algorithms = PROVIDER_ALGORITHMS.get(type); in provide() local
106 if (algorithms == null) { in provide()
107 algorithms = new HashSet(); in provide()
108 PROVIDER_ALGORITHMS.put(type, algorithms); in provide()
111 algorithms.add(algorithm.toUpperCase(Locale.ROOT))); in provide()
114 Set<String> algorithms = PROVIDER_ALGORITHMS.get(type); in unprovide() local
115 assertNotNull(algorithms); in unprovide()
116 assertTrue(algorithm, algorithms.remove(algorithm.toUpperCase(Locale.ROOT))); in unprovide()
117 if (algorithms.isEmpty()) { in unprovide()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DMessageDigest2Test.java66 for (List<String> algorithms : digestAlgs.values()) { in test_constructor()
67 for (String algorithm : algorithms) { in test_constructor()
337 for (List<String> algorithms : digestAlgs.values()) { in test_getInstanceLjava_lang_StringLjava_lang_String()
338 for (String algorithm : algorithms) { in test_getInstanceLjava_lang_StringLjava_lang_String()
DSignatureTest.java56 String [] algorithms = { "SHA256WITHRSA", "NONEWITHDSA", "SHA384WITHRSA", in testConstructor() local
59 for (int i = 0; i < algorithms.length; i ++) { in testConstructor()
60 MySignature1 s = new MySignature1(algorithms[i]); in testConstructor()
61 assertEquals(algorithms[i],s.getAlgorithm()); in testConstructor()
DKeyFactoryTest.java137 String[] algorithms = { in testGetInstanceStringProvider() local
158 for (int i = 0; i < algorithms.length; i++) { in testGetInstanceStringProvider()
159 String algorithm = algorithms[i]; in testGetInstanceStringProvider()
/libcore/luni/src/main/java/java/security/
Dsecurity.properties52 # Default KeyManagerFactory and TrustManagerFactory algorithms.
/libcore/expectations/
Dicebox.txt144 …description: "BouncyCastle allows unrecognized algorithms, but RI does not, not clear if this is a…