public void preMasterSecret()
	{
		pms = calculatePMS();
		Certificate c = find(session.getServer().getCertificate());
		String encryptedPMS = Generator.encrypt(c.getModulus(),
				c.getExponent(), pms.toString());
		session.preMasterSecret(encryptedPMS);
		masterSecret = Generator.masterSecret(cRandom, sRandom, pms);
		System.out.println("pms: " + pms);
		System.out.println("ms: " + masterSecret);
		authenticate();
	}