1.5", "SHA1withRSA");
});

/*
{"seq": [
  {"octstr": {"obj": {"seq": [{"int": 3},{"int":4}]}}},
  {"bitstr": {"obj": {"seq": [{"int": 5},{"int":6}]}}},
  {"prnstr": "aaa"}
  ]} 
 */

test("getDecendantIndexByNthList", function() {
//                                 ^bit  ^seq^int  ^int  ^prn^aaa             
//             ^oct^seq^int  ^int                                    
  var h = "301a0408300602010302010403090030060201050201061303616161";
  equal(ASN1HEX.getIdxbyList(h, 0, [0]), 4, "octstr") 
  equal