021300906052b0e03021a050004147e240de74fb1ed08fa08d38063f6a6a91462a815";
  var hPM = _rsasign_getHexPaddedDigestInfoForString("aaa", 1024, 'sha1');
  expect(2);
  equal(hPM.length, 256, "check padded message length 128byte*2chars=256chars");
  equal(hPM, hExpected,
         "check padded message for string aaa with SHA1withRSA 1024bit" );
});

test("_rsasign_getHexPaddedDigestInfoForString aaa 1024/sha256", function() {
  var hExpected = "0001ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff