OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:AlgNameMapper
(Results
1 - 3
of
3
) sorted by null
/libcore/luni/src/test/java/org/apache/harmony/security/tests/
AlgNameMapperTest.java
19
import org.apache.harmony.security.utils.
AlgNameMapper
;
57
AlgNameMapper
.map2AlgName(HARDCODED_ALIASES[i][0]).toUpperCase(Locale.US));
60
AlgNameMapper
.map2OID(HARDCODED_ALIASES[i][1]));
63
AlgNameMapper
.getStandardName(HARDCODED_ALIASES[i][1]
66
assertTrue(
AlgNameMapper
.isOID(HARDCODED_ALIASES[i][0]));
80
{"2.16.840.1.101.3.4.2.3", "SHA512"}, // This isn't currently hardcoded in
AlgNameMapper
90
String algName =
AlgNameMapper
.map2AlgName(NON_HARDCODED_ALIASES[i][0]);
95
String oid =
AlgNameMapper
.map2OID(algName);
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/utils/
AlgNameMapperTest.java
20
import org.apache.harmony.security.utils.
AlgNameMapper
;
27
* @tests org.apache.harmony.security.utils.
AlgNameMapper
#getStandardName(String)
32
String standardName =
AlgNameMapper
38
* @tests org.apache.harmony.security.utils.
AlgNameMapper
#isOID(String)
47
assertTrue(
AlgNameMapper
.isOID(normalOID));
48
assertFalse(
AlgNameMapper
.isOID(badOID));
49
assertFalse(
AlgNameMapper
.isOID(notOID));
53
* @tests org.apache.harmony.security.utils.
AlgNameMapper
.selectEntries(Provider)
62
assertEquals(hardcodedOID,
AlgNameMapper
.map2OID(algStandardName));
63
assertEquals(algStandardName,
AlgNameMapper
.map2AlgName(hardcodedOID))
[
all
...]
/libcore/luni/src/main/java/org/apache/harmony/security/utils/
AlgNameMapper.java
40
public class
AlgNameMapper
{
106
private
AlgNameMapper
() {
Completed in 227 milliseconds