| |
|
| java.lang.Object org.apache.harmony.security.utils.AlgNameMapper
AlgNameMapper | public class AlgNameMapper (Code) | | Provides Algorithm Name to OID and OID to Algorithm Name mappings. Some known
mappings are hardcoded. Tries to obtain additional mappings from installed
providers during initialization.
|
dump | public static String dump()(Code) | | Present all internal maps as formatted string
Internal maps String representation |
getStandardName | public static String getStandardName(String algName)(Code) | | Returns Algorithm name for given algorithm alias
Parameters: algName - - alias algorithm name |
isOID | public static boolean isOID(String alias)(Code) | | Checks if parameter represents OID
Parameters: alias - alias to be checked 'true' if parameter represents OID |
map2AlgName | public static String map2AlgName(String oid)(Code) | | Returns algName for OID
Parameters: oid - OID to be mapped algorithm name |
map2OID | public static String map2OID(String algName)(Code) | | Returns OID for algName
Parameters: algName - algorithm name to be mapped OID as String |
normalize | public static String normalize(String oid)(Code) | | Removes leading "OID." from oid String passed
Parameters: oid - string that may contain leading "OID." string passed without leading "OID." |
|
|
|