@private false
Parses a Type 1 Message @param [String] str A string containing Type 1 data @return [Type1] The parsed Type 1 message
# File lib/net/ntlm/message/type1.rb, line 19 def parse(str) t = new t.parse(str) t end
@!visibility private
# File lib/net/ntlm/message/type1.rb, line 27 def parse(str) super(str) enable(:domain) if has_flag?(:DOMAIN_SUPPLIED) enable(:workstation) if has_flag?(:WORKSTATION_SUPPLIED) super(str) if ( (len = data_edge - head_size) > 0) self.padding = "\00"" * len super(str) end end
Generated with the Darkfish Rdoc Generator 2.