<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def create_ca_bundle_for_names(self, bundle_name, names):
 """Create a CA bundle to trust only certs defined in names """


        records = [rec for name, rec
                   in self.store.store.items() if name in names]
        return self.create_bundle(
            bundle_name, names=[r['parent_ca'] for r in records])