code: def create_keypair(self, xml_bytes):
          
          keypair_data = XML(xml_bytes)
          key_name = keypair_data.findtext("keyName")
          key_fingerprint = keypair_data.findtext("keyFingerprint")
          key_material = keypair_data.findtext("keyMaterial")
          return model.Keypair(key_name, key_fingerprint, key_material)
docs: Parse the XML returned by the C{CreateKeyPair} function.
  
          @param xml_bytes: XML bytes with a C{CreateKeyPairResponse} root
              element.
          @return: The L{Keypair} instance created.