def set_secure_cookie(self, name, value, expires_days=30, version=None,
                          **kwargs):
        self.set_cookie(name, self.create_signed_value(name, value,
                                                       version=version),
                        expires_days=expires_days, **kwargs)
Signs and timestamps a cookie so it cannot be forged.
dataset/ETHPy150Open RobotWebTools/rosbridge_suite/rosbridge_server/src/tornado/web.py/RequestHandler.set_secure_cookie