Sha256: c4cce82e53f176563ae31d9a61b489de05799a1fa1242cf56750eef67aa0ce1b

Contents?: true

Size: 878 Bytes

Versions: 4

Compression:

Stored size: 878 Bytes

Contents

# This file is part of PacketGen
# See https://github.com/sdaubert/packetgen for more informations
# Copyright (C) 2016 Sylvain Daubert <sylvain.daubert@laposte.net>
# This program is published under MIT license.

# frozen_string_literal: true

module PacketGen
  module Header
    class EAP

      # Extensible Authentication Protocol (EAP) - Flexible Authentication variable
      # Secure Tunneling, {https://tools.ietf.org/html/rfc4851 RFC 4851}
      #
      # {EAP::FAST} has following fields:
      # * {#flags} ({Types::Int8}),
      # * optionally {#message_length} ({Types::Int32}), if +#l?+ is +true+,
      # * {#body} ({Types::String}).
      # @author Sylvain Daubert
      # @since 2.1.4
      class FAST < TTLS
        # @return [EAP::FAST]
        def initialize(options={})
          super({ type: 43 }.merge!(options))
        end
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
packetgen-2.6.0 lib/packetgen/header/eap/fast.rb
packetgen-2.5.2 lib/packetgen/header/eap/fast.rb
packetgen-2.5.1 lib/packetgen/header/eap/fast.rb
packetgen-2.5.0 lib/packetgen/header/eap/fast.rb