Class: Rex::Proto::Gss::SpnegoNegTokenTarg

Inherits:
RASN1::Model
  • Object
show all
Defined in:
lib/rex/proto/gss/spnego_neg_token_targ.rb

Overview

Negotiation token returned by the target to the initiator www.rfc-editor.org/rfc/rfc2478

Constant Summary collapse

ACCEPT_COMPLETED =
'accept-completed'
ACCEPT_INCOMPLETE =
'accept-incomplete'
REJECT =
'reject'
REQUEST_MIC =
'request-mic'
NEG_RESULTS =
{ ACCEPT_COMPLETED => 0,
ACCEPT_INCOMPLETE => 1,
REJECT => 2,
REQUEST_MIC => 3}

Instance Method Summary collapse

Instance Method Details

#mech_list_micObject



36
37
38
# File 'lib/rex/proto/gss/spnego_neg_token_targ.rb', line 36

def mech_list_mic
  self[:mech_list_mic].value
end

#neg_resultObject



24
25
26
# File 'lib/rex/proto/gss/spnego_neg_token_targ.rb', line 24

def neg_result
  self[:neg_result].value
end

#response_tokenObject



32
33
34
# File 'lib/rex/proto/gss/spnego_neg_token_targ.rb', line 32

def response_token
  self[:response_token].value
end

#supported_mechObject



28
29
30
# File 'lib/rex/proto/gss/spnego_neg_token_targ.rb', line 28

def supported_mech
  self[:supported_mech].value
end