}
SecureRandom random = new SecureRandom();
// Note: PSS minimum key size determined by hash/salt lengths
PrivateKey priv2048Key = fact.generatePrivate(RSATest.priv2048KeySpec);
PublicKey pub2048Key = fact.generatePublic(RSATest.pub2048KeySpec);
rawModeTest("SHA1withRSA/PSS", X509ObjectIdentifiers.id_SHA1, priv2048Key, pub2048Key, random);
rawModeTest("SHA224withRSA/PSS", NISTObjectIdentifiers.id_sha224, priv2048Key, pub2048Key, random);
rawModeTest("SHA256withRSA/PSS", NISTObjectIdentifiers.id_sha256, priv2048Key, pub2048Key, random);