/** * Returns OID for algName * * @param algName algorithm name to be mapped * @return OID as String */ public static String map2OID(String algName) { checkCacheVersion(); // alg2OidMap map contains upper case keys String result = alg2OidMap.get(algName.toUpperCase(Locale.US)); if (result != null) { return result; } // Check our external source. AlgNameMapperSource s = source; if (s != null) { return s.mapNameToOid(algName); } return null; }
/** * Returns algName for OID * * @param oid OID to be mapped * @return algorithm name */ public static String map2AlgName(String oid) { checkCacheVersion(); // oid2AlgMap map contains upper case values String algUC = oid2AlgMap.get(oid); // if not null there is always map UC->Orig if (algUC != null) { return algAliasesMap.get(algUC); } // Check our external source. AlgNameMapperSource s = source; if (s != null) { return s.mapOidToName(oid); } return null; }
/** * Returns OID for algName * * @param algName algorithm name to be mapped * @return OID as String */ public static String map2OID(String algName) { checkCacheVersion(); // alg2OidMap map contains upper case keys String result = alg2OidMap.get(algName.toUpperCase(Locale.US)); if (result != null) { return result; } // Check our external source. AlgNameMapperSource s = source; if (s != null) { return s.mapNameToOid(algName); } return null; }
/** * Returns OID for algName * * @param algName algorithm name to be mapped * @return OID as String */ public static String map2OID(String algName) { checkCacheVersion(); // alg2OidMap map contains upper case keys String result = alg2OidMap.get(algName.toUpperCase(Locale.US)); if (result != null) { return result; } // Check our external source. AlgNameMapperSource s = source; if (s != null) { return s.mapNameToOid(algName); } return null; }
/** * Returns OID for algName * * @param algName algorithm name to be mapped * @return OID as String */ public static String map2OID(String algName) { checkCacheVersion(); // alg2OidMap map contains upper case keys String result = alg2OidMap.get(algName.toUpperCase(Locale.US)); if (result != null) { return result; } // Check our external source. AlgNameMapperSource s = source; if (s != null) { return s.mapNameToOid(algName); } return null; }
/** * Returns algName for OID * * @param oid OID to be mapped * @return algorithm name */ public static String map2AlgName(String oid) { checkCacheVersion(); // oid2AlgMap map contains upper case values String algUC = oid2AlgMap.get(oid); // if not null there is always map UC->Orig if (algUC != null) { return algAliasesMap.get(algUC); } // Check our external source. AlgNameMapperSource s = source; if (s != null) { return s.mapOidToName(oid); } return null; }
/** * Returns algName for OID * * @param oid OID to be mapped * @return algorithm name */ public static String map2AlgName(String oid) { checkCacheVersion(); // oid2AlgMap map contains upper case values String algUC = oid2AlgMap.get(oid); // if not null there is always map UC->Orig if (algUC != null) { return algAliasesMap.get(algUC); } // Check our external source. AlgNameMapperSource s = source; if (s != null) { return s.mapOidToName(oid); } return null; }
/** * Returns OID for algName * * @param algName algorithm name to be mapped * @return OID as String */ public static String map2OID(String algName) { checkCacheVersion(); // alg2OidMap map contains upper case keys String result = alg2OidMap.get(algName.toUpperCase(Locale.US)); if (result != null) { return result; } // Check our external source. AlgNameMapperSource s = source; if (s != null) { return s.mapNameToOid(algName); } return null; }
/** * Returns OID for algName * * @param algName algorithm name to be mapped * @return OID as String */ public static String map2OID(String algName) { checkCacheVersion(); // alg2OidMap map contains upper case keys String result = alg2OidMap.get(algName.toUpperCase(Locale.US)); if (result != null) { return result; } // Check our external source. AlgNameMapperSource s = source; if (s != null) { return s.mapNameToOid(algName); } return null; }
/** * Returns algName for OID * * @param oid OID to be mapped * @return algorithm name */ public static String map2AlgName(String oid) { checkCacheVersion(); // oid2AlgMap map contains upper case values String algUC = oid2AlgMap.get(oid); // if not null there is always map UC->Orig if (algUC != null) { return algAliasesMap.get(algUC); } // Check our external source. AlgNameMapperSource s = source; if (s != null) { return s.mapOidToName(oid); } return null; }
/** * Returns algName for OID * * @param oid OID to be mapped * @return algorithm name */ public static String map2AlgName(String oid) { checkCacheVersion(); // oid2AlgMap map contains upper case values String algUC = oid2AlgMap.get(oid); // if not null there is always map UC->Orig if (algUC != null) { return algAliasesMap.get(algUC); } // Check our external source. AlgNameMapperSource s = source; if (s != null) { return s.mapOidToName(oid); } return null; }
/** * Returns algName for OID * * @param oid OID to be mapped * @return algorithm name */ public static String map2AlgName(String oid) { checkCacheVersion(); // oid2AlgMap map contains upper case values String algUC = oid2AlgMap.get(oid); // if not null there is always map UC->Orig if (algUC != null) { return algAliasesMap.get(algUC); } // Check our external source. AlgNameMapperSource s = source; if (s != null) { return s.mapOidToName(oid); } return null; }
/** * Returns OID for algName * * @param algName algorithm name to be mapped * @return OID as String */ public static String map2OID(String algName) { checkCacheVersion(); // alg2OidMap map contains upper case keys String result = alg2OidMap.get(algName.toUpperCase(Locale.US)); if (result != null) { return result; } // Check our external source. AlgNameMapperSource s = source; if (s != null) { return s.mapNameToOid(algName); } return null; }
/** * Returns algName for OID * * @param oid OID to be mapped * @return algorithm name */ public static String map2AlgName(String oid) { checkCacheVersion(); // oid2AlgMap map contains upper case values String algUC = oid2AlgMap.get(oid); // if not null there is always map UC->Orig if (algUC != null) { return algAliasesMap.get(algUC); } // Check our external source. AlgNameMapperSource s = source; if (s != null) { return s.mapOidToName(oid); } return null; }