@Test public void testAttributeNameToOid() throws Exception { Assert.assertEquals("2.5.4.8", OidsUtil.attributeNameToOid(OidsUtil.Category.RDN, "ST")); Assert.assertEquals("2.5.4.8", OidsUtil.attributeNameToOid(OidsUtil.Category.RDN, "s")); }
public static String attributeNameToOid(Category category, String attributeName) { Assert.checkNotNullParam("category", category); Assert.checkNotNullParam("attributeName", attributeName); return attributeNameToOidTable.get(category).get(attributeName.toUpperCase(Locale.ROOT)); }
OidsUtil { public static String attributeNameToOid(Category category, String attributeName) { Assert.checkNotNullParam("category", category); Assert.checkNotNullParam("attributeName", attributeName); return attributeNameToOidTable.get(category).get(attributeName.toUpperCase(Locale.ROOT)); } }
OidsUtil { public static String attributeNameToOid(Category category, String attributeName) { Assert.checkNotNullParam("category", category); Assert.checkNotNullParam("attributeName", attributeName); return attributeNameToOidTable.get(category).get(attributeName.toUpperCase(Locale.ROOT)); }  }
OidsUtil { public static String attributeNameToOid(Category category, String attributeName) { Assert.checkNotNullParam("category", category); Assert.checkNotNullParam("attributeName", attributeName); return attributeNameToOidTable.get(category).get(attributeName.toUpperCase(Locale.ROOT)); }  static String attributeNameToOid(Category category, String attributeName); static String oidToAttributeName(Category category, String oid); }
OidsUtil { public static String attributeNameToOid(Category category, String attributeName) { Assert.checkNotNullParam("category", category); Assert.checkNotNullParam("attributeName", attributeName); return attributeNameToOidTable.get(category).get(attributeName.toUpperCase(Locale.ROOT)); }  static String attributeNameToOid(Category category, String attributeName); static String oidToAttributeName(Category category, String oid);  }