HEX.getIdxbyList(h, 0, [1, 5]), -1, "no [1,5]");
  equal(ASN1HEX.getTLV(h, 36), "02012b", "02012b");
  equal(ASN1HEX.getIdxbyList(h, 0, [0], "31"), -1, "(0)=4 with checkTag=31 shall fail");
});

test("oidname", function() {
  equal(ASN1HEX.oidname("2.5.29.37"), "extKeyUsage", "2.5.29.37 > extKeyUsage");
  equal(ASN1HEX.oidname("551d25"), "extKeyUsage", "551d25 > extKeyUsage");
  equal(ASN1HEX.oidname("0.1.2.3"), "0.1.2.3", "0.1.2.3 > 0.1.2.3");
});

test("ASN1HEX.isASN1HEX test", function() {
equal(ASN1HEX.