201ab', 4), 1, "check L.len at 4 of ffff0201ab.");
});

test("ASN1HEX.getL", function() {
  equal(ASN1HEX.getL('020100', 0), '01', "check L octets of 020100.");
  equal(ASN1HEX.getL('020300', 0), '03', "check L octets of 020300.");
  equal(ASN1HEX.getL('02818003...', 0), '8180', "check L octets of 02818003.");
  equal(ASN1HEX.getL('0282025b03...', 0), '82025b', "check L octets of 0282025b03.");
  equal(ASN1HEX.getL('0280020100...', 0), '',
         "check L of 0280020100.(indefinite length).");
  equal(ASN1