code: void calculateKeys(SecretKey preMasterSecret, ProtocolVersion version) {
          SecretKey master = calculateMasterSecret(preMasterSecret, version);
          session.setMasterSecret(master);
          calculateConnectionKeys(master);
      }
docs: /*
  Single access point to key calculation logic.  Given the
  pre-master secret and the nonces from client and server,
  produce all the keying material to be used.