m. (2)" );
});

test("RSAKey.sign(aaa,sha256) via readPEM", function() {
  expect(2);

  var rsa = new RSAKey();
  rsa.readPrivateKeyFromPEMString(sKey1PEM);
  equal(rsa.n.bitLength(), 1024, "check key size");

  //var hSig = rsa.signStringWithSHA256("aaa");
  var hSig = rsa.sign("aaa", 'sha256');
  equal(hSig, hSigAAAkZ1SHA256,
         "String 'aaa' is signed properly with SHA256withRSA algorithm. (2)" );
});

//=========================================================================
module("Verifier Tes