method

signed_or_encrypted

signed_or_encrypted()
public

Returns the `signed` or `encrypted` jar, preferring `encrypted` if `secret_key_base` is set. Used by ActionDispatch::Session::CookieStore to avoid the need to introduce new cookie stores.