Home
last modified time | relevance | path

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

/libcore/support/src/test/java/libcore/java/security/
DStandardNames.java93 Set<String> algorithms = PROVIDER_ALGORITHMS.get(type); in provide() local
94 if (algorithms == null) { in provide()
95 algorithms = new HashSet<>(); in provide()
96 PROVIDER_ALGORITHMS.put(type, algorithms); in provide()
99 algorithms.add(algorithm.toUpperCase(Locale.ROOT))); in provide()
102 Set<String> algorithms = PROVIDER_ALGORITHMS.get(type); in unprovide() local
103 assertNotNull(algorithms); in unprovide()
104 assertTrue(algorithm, algorithms.remove(algorithm.toUpperCase(Locale.ROOT))); in unprovide()
105 if (algorithms.isEmpty()) { in unprovide()
/libcore/tools/docs/crypto/
DREADME24 algorithms, update the data file, then generate HTML based on the data file.
26 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.py88 algorithms = sort_by_name(category['algorithms'])
90 for algorithm in algorithms:
247 algorithms = sort_by_name(category['algorithms'])
248 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.java353 Set<String> algorithms = in permits() local
355 if (algorithms == null || algorithms.isEmpty()) { in permits()
360 algorithms.add(cert.getPublicKey().getAlgorithm()); in permits()
363 for (String algorithm : algorithms) { in permits()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DMessageDigest2Test.java79 for (List<String> algorithms : digestAlgs.values()) { in test_constructor()
80 for (String algorithm : algorithms) { in test_constructor()
350 for (List<String> algorithms : digestAlgs.values()) { in test_getInstanceLjava_lang_StringLjava_lang_String()
351 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.java359 public List<Service> getServices(String type, List<String> algorithms) {
361 for (String alg : algorithms) {
/libcore/ojluni/annotations/hiddenapi/sun/security/jca/
DProviderList.java121 java.lang.String type, java.util.List<java.lang.String> algorithms) { in getServices() argument
DGetInstance.java63 java.lang.String type, java.util.List<java.lang.String> algorithms) { in getServices() argument
/libcore/expectations/
Dknownfailures.txt1655 …description: "BouncyCastle allows unrecognized algorithms, but RI does not, not clear if this is a…