Home
last modified time | relevance | path

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

/libcore/tools/docs/crypto/
DREADME23 algorithms, update the data file, then generate HTML based on the data file.
25 Getting the set of supported algorithms is done using
33 the data file. Any newly-added algorithms will be added to the file's data,
34 and any newly-removed algorithms will have their supported API levels updated.
Dformat_supported_algorithm_table.py68 algorithms = sort_by_name(category['algorithms'])
70 for algorithm in algorithms:
208 algorithms = sort_by_name(category['algorithms'])
209 for algorithm in algorithms:
/libcore/ojluni/src/main/java/sun/security/util/
DAbstractAlgorithmConstraints.java77 static boolean checkAlgorithm(String[] algorithms, String algorithm, in checkAlgorithm() argument
84 for (String item : algorithms) { in checkAlgorithm()
DDisabledAlgorithmConstraints.java351 Set<String> algorithms = in permits() local
353 if (algorithms == null || algorithms.isEmpty()) { in permits()
358 algorithms.add(cert.getPublicKey().getAlgorithm()); in permits()
361 for (String algorithm : algorithms) { in permits()
/libcore/support/src/test/java/libcore/java/security/
DStandardNames.java111 Set<String> algorithms = PROVIDER_ALGORITHMS.get(type); in provide() local
112 if (algorithms == null) { in provide()
113 algorithms = new HashSet<String>(); in provide()
114 PROVIDER_ALGORITHMS.put(type, algorithms); in provide()
117 algorithms.add(algorithm.toUpperCase(Locale.ROOT))); in provide()
120 Set<String> algorithms = PROVIDER_ALGORITHMS.get(type); in unprovide() local
121 assertNotNull(algorithms); in unprovide()
122 assertTrue(algorithm, algorithms.remove(algorithm.toUpperCase(Locale.ROOT))); in unprovide()
123 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.java57 String [] algorithms = { "SHA256WITHRSA", "NONEWITHDSA", "SHA384WITHRSA", in testConstructor() local
60 for (int i = 0; i < algorithms.length; i ++) { in testConstructor()
61 MySignature1 s = new MySignature1(algorithms[i]); in testConstructor()
62 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.properties53 # Default KeyManagerFactory and TrustManagerFactory algorithms.
63 # Disable weak algorithms in CertPathVerifier and CertPathBuilder.
/libcore/ojluni/src/main/java/sun/security/jca/
DGetInstance.java124 List<String> algorithms) { in getServices() argument
126 return list.getServices(type, algorithms); in getServices()
DProviderList.java365 public List<Service> getServices(String type, List<String> algorithms) {
367 for (String alg : algorithms) {
/libcore/expectations/
Dicebox.txt144 …description: "BouncyCastle allows unrecognized algorithms, but RI does not, not clear if this is a…