# File lib/openid/store/nonce.rb, line 37
    def Nonce.check_timestamp(nonce_str, allowed_skew=nil, now=nil)
      allowed_skew = skew if allowed_skew.nil?
      begin
        stamp, foo = split_nonce(nonce_str)
      rescue ArgumentError # bad timestamp
        return false
      end
      now = Time.now.to_i unless now

      # times before this are too old
      past = now - allowed_skew

      # times newer than this are too far in the future
      future = now + allowed_skew

      return (past <= stamp and stamp <= future)
    end