Class: Net::NTLM::Message::Type3

### Home Classes Methods

### In Files

- lib/net/ntlm.rb
- lib/net/ntlm_http.rb

### Parent

Object

### Methods

- ::create
- ::parse

### Files

- README

### Class/Module Index

Quicksearch

- Net
- Net::HTTP
- Net::HTTPHeader
- Net::HTTPRequest
- Net::NTLM
- Net::NTLM::Field
- Net::NTLM::FieldSet
- Net::NTLM::Int16LE
- Net::NTLM::Int32LE
- Net::NTLM::Int64LE
- Net::NTLM::Message
- Net::NTLM::Message::Type1
- Net::NTLM::Message::Type2
- Net::NTLM::Message::Type3
- Net::NTLM::SecurityBuffer
- Net::NTLM::String

No matching classes.

# Net::NTLM::Message::Type3

### Public Class Methods

create(arg, opt ={}) click to toggle source

    # File lib/net/ntlm.rb, line 751
    def create(arg, opt ={})
      t = new
      t.lm_response = arg[:lm_response]
      t.ntlm_response = arg[:ntlm_response]
      t.domain = arg[:domain]
      t.user = arg[:user]
      t.workstation = arg[:workstation]

      if arg[:session_key]
        t.enable(:session_key)
        t.session_key = arg[session_key]
      end
      if arg[:flag]
        t.enable(:session_key)
        t.enable(:flag)
        t.flag = arg[:flag]
      end
      t
    end

parse(str) click to toggle source

    # File lib/net/ntlm.rb, line 745
    def parse(str)
      t = new
      t.parse(str)
      t
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.